fixed mountpoint USB disk if present

J. K. Cliburn jcliburn at gmail.com
Wed Apr 19 11:29:08 UTC 2006


On 4/19/06, Jacob (=Jouk) Jansen <joukj at hrem.nano.tudelft.nl> wrote:
> 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?

One way that might work involves overriding the {volume.name} that HAL
wants to use as a mount point.  It'll still be a dynamic mount, but at
least you know where it's going to mount each time.  See this link for
details.

http://forums.fedoraforum.org/showthread.php?t=103810




More information about the fedora-list mailing list