LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   mounting external drives (https://www.linuxquestions.org/questions/linux-hardware-18/mounting-external-drives-542269/)

thelonius 03-31-2007 11:03 PM

mounting external drives
 
Hello,

I wonder how to respond to the following questions I deal with since some time:

1. I want to attach an external hard disc and an usb flash disc to different devices, in other terms, I want to have in my fstab file two lines corresponding to the mount of two devices. The problem here is that both discs are attached to the same /dev/sda1, and therefore I cannot say to fstab - "put ext3 from /dev/sda1 to /mnt/data" or "put vfat from /dev/sda1 to /mnt/flash"

and

2. when I plug in one of the discs (or both) on the running system, i want that the discs are mounted automatically. The problem here I guess is that automatic mount is possible only for the plugged disc during the loading of the system. Correct me if I'm wrong

Thank you in advance.

carl0ski 04-01-2007 07:13 AM

Quote:

Originally Posted by thelonius
Hello,

I wonder how to respond to the following questions I deal with since some time:

1. I want to attach an external hard disc and an usb flash disc to different devices, in other terms, I want to have in my fstab file two lines corresponding to the mount of two devices. The problem here is that both discs are attached to the same /dev/sda1, and therefore I cannot say to fstab - "put ext3 from /dev/sda1 to /mnt/data" or "put vfat from /dev/sda1 to /mnt/flash"

and

2. when I plug in one of the discs (or both) on the running system, i want that the discs are mounted automatically. The problem here I guess is that automatic mount is possible only for the plugged disc during the loading of the system. Correct me if I'm wrong

Thank you in advance.

with KDE 3.5 and latest Gnome along with udev all usb drives should mount automatically .

You may want to invest at getting Udev working for you.

my USB devices by default in Suse mount like so
/media/<volumelabel>

Ubuntu does it slightly different they chose
/tmp/<random>

both KDE and Gnome creat a desktop icon for the above using Udev

thelonius 04-01-2007 09:08 AM

great

thanks


All times are GMT -5. The time now is 09:46 AM.