LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Unmount USB Drive (https://www.linuxquestions.org/questions/linux-general-1/unmount-usb-drive-323550/)

stevsom 05-14-2005 07:15 PM

Unmount USB Drive
 
I have a digital camera, i use Red Hat 9.0 and did the following commands:

ar root

mount -t auto /dev/sda1 /dog

you now have a filesystem: /dog/.......

you can copy to & from system as root

so before unmounting type:

syns;sync
when command prompt returns:
umount /dog

what am i doing wrong?

Dark_Helmet 05-14-2005 07:30 PM

What makes you think you're doing something wrong? :)

According to the output, the USB camera was mounted at /dog. You should be able to read and write to the camera by accessing any file under /dog.

The message also says, you need to run two commands before you unmount the camera: syns and sync

Once those two commands finish, then you can unmount the camera by issuing umount /dog. The commands are there to guarantee that any information you write to the camera gets flushed out of the system before you unplug the USB connection.

cn_chopsticks 05-15-2005 12:21 AM

Maybe another process is using this device, maybe your current directory is in the camera
so, try to return to your home directory and then umount


All times are GMT -5. The time now is 03:41 AM.