fixed mountpoint USB disk if present

Jacob =Jouk Jansen joukj at hrem.nano.tudelft.nl
Wed Apr 19 10:50:45 UTC 2006


Hi all

I have an external usb-disk with 2 partitions. When inserting it, it assigns
"random" mountpoints (i.e. /media/disk and /media/disk-1) to the partions.
I would like to have fixed mount points.
My first try was to edit /etc/fstab and add the 2 partitions. This works
when the usb-disk is present.
But it makes the machine failing to boot if the disk is not present.

How can I perform the mount to a fixed mountpoint only when the disk is
present?

BTW I'm running FC5.


                       Jouk
		       


Bush : All votes are equal but some votes are more equal than others.

>------------------------------------------------------------------------------<

  Jouk Jansen
		 
  joukj at hrem.nano.tudelft.nl

  Technische Universiteit Delft        tttttttttt  uu     uu  ddddddd
  Kavli Institute of Nanoscience       tttttttttt  uu     uu  dd    dd
  Nationaal centrum voor HREM              tt      uu     uu  dd     dd
  Lorentzweg 1                             tt      uu     uu  dd     dd
  2628 CJ Delft                            tt      uu     uu  dd     dd
  Nederland                                tt      uu     uu  dd    dd
  tel. 31-15-2782272                       tt       uuuuuuu   ddddddd

>------------------------------------------------------------------------------<




More information about the fedora-list mailing list