I want to mount my usb ext hard-drive always at a fixed mountpoint in my home-directory.How can I do that?Surely I cannot make it a part of fstab as the ext hard-disk will be coming and going?
Thanks in Advance.
I want to mount my usb ext hard-drive always at a fixed mountpoint in my home-directory.How can I do that?Surely I cannot make it a part of fstab as the ext hard-disk will be coming and going?
Thanks in Advance.
peebhat wrote:
> I want to mount my usb ext hard-drive always at a fixed mountpoint in my
> home-directory.
Good.
> Surely I cannot make it a part of fstab as the ext hard-disk will be
> coming and going?
Why not? Add options “noauto,users” to fstab. If you don’t like fstab, see
http://en.opensuse.org/SDB:Mounting_to_Static_Mount_Points
regards,
Andreas
On Mon, 2008-06-30 at 15:36 +0000, peebhat wrote:
> I want to mount my usb ext hard-drive always at a fixed mountpoint in my
> home-directory.How can I do that?Surely I cannot make it a part of fstab
> as the ext hard-disk will be coming and going?
Most will have a name that is somewhat persistent under /media when
hotplugged… however, if is generic, you CAN build your own udev rule
to handle the device including how it is mounted and what names, etc.
it is given… especially true if the device has an underlying unique
identified (e.g. serial number).
I’ll point you do my unfinished article at
http://www.ntlug.org/Articles/Hotplug?action=login
Login as GuestReader/guestguest
In older openSUSE/Linux distros, you could mark the device
as hotplug in your fstab… but the powers that be have
deprecated that feature (in all fairness the freedesktop.org
folks are a bit lost… I think they understand “the problem”
with shared devices, but are lost when it comes to solutions).
Thanks,cjcox and Andreas.I was first a little overawed by udev,but later could understand it(atleast guess I understood).