mount usb hard drive
1) what is the command to mount usb hard drive manually?
2) Can i auto mount a usb hard drive? that means whenever i plug in the usb hard drive, it will automatic mount the drive and unmount once it is unplug? thanks. |
Assuming it is formatted with fat(vfat) and it is the only sata/scsi/usb drive connected(sda).
mount -t vfat /dev/sda1 /mnt If you use gnome, install pmount and gnome-volume-manager to have it mounted automatically. Also, the sync option does not work correctly with vfat so you should always unmount it before disconnecting it. |
Quote:
|
autofs? hotplug script?
|
Quote:
And then check the output of "fdisk -l" |
Quote:
Thanks Claude |
tail -f /var/log/messages now plug in the USB drive and watch the scrolling messages to see what device was assigned to the drive..
Quote:
|
So does /dev/sda1 exist?
|
Here is a howto for setting up autofs. http://www.greenfly.org/tips/usb_drive.html
|
All times are GMT -5. The time now is 10:16 AM. |