Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-19-2004, 07:35 PM   #1
Registered: Feb 2003
Location: Malaysia
Distribution: Redhat 8.0, 9, Slackware 9.1
Posts: 511

Rep: Reputation: 30
usb stick questions!!


i am asking some questions on usb stick (or handydrive).

1. how can i automount a usb stick automatically, as what a cd is put into the cdrom. then a icon will appear on the desktop?

2. i know to mount a usb stick manually, but, after all, i want to umount it. it always prompt me. "usb device is busy". how can i cater for it?

3. are there better solution of mounting and unmounting a usb stick in a more proper manner? thanks
Old 11-19-2004, 07:52 PM   #2
LQ Newbie
Registered: Nov 2004
Posts: 9

Rep: Reputation: 0
ok i just was going to post a question about usb flash drives im running mandrake 10.1 and i have a flash drive i dont know how to acces the date on it sorry for posting in here but same topic
Old 11-19-2004, 10:33 PM   #3
Senior Member
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
2. It will say that the device is busy if you current working directory is on the USB-device. Go to your home directory (cd ~), and then try unmounting it.

3. I assume you are using the command line, then the commands "mount /mnt/usb" and "umount /mnt/usb" should work, if the usb stick is set up in /etc/fstab.

You will need to add a line in the file /etc/fstab, mine looks like the following:
/dev/sda1    /mnt/usb    vfat    rw,suid,dev,noexec,noauto,user,async 1 2
Then you need to create the directory /mnt/usb. You will need to be root to do both of these.

Then, as a normal user, insert the USB stick, and issue the command "mount /mnt/usb", and your files will be available in the directory /mnt/usb. When you are finished, run the command "umount /mnt/usb" before removing the USB stick. When the command prompt appears again, you are safe to remove the device.

I hope this helps

Last edited by IBall; 11-19-2004 at 10:39 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
mount/umount usb stick - PQI Intelligent Stick 2.0 sandbag Linux - Software 5 05-06-2005 11:12 AM
usb stick freeindy Linux - Hardware 2 09-04-2004 12:13 PM
USB stick bardia_amir Linux - Hardware 3 08-29-2004 11:30 PM
USB problems: Memorex USB stick 256MB and PSX to USB adapter by Radio Shack Knuckles T15 Linux - Hardware 1 05-19-2004 06:58 PM
USB-Stick/usb-storage JC_at_LQ Linux - General 2 07-14-2003 06:56 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:50 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration