Re: Procedure on mounting USB/hotplug devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Casey Stamper wrote:
> Tim wrote:
>>
>> I tend to agree.  You paint yourself into a corner trying to write fixed
>> rules for non-fixed media.
>>
> Especially when you write in those fixed rules and boot the system w/out
> the device in there and it hangs for a good long while chewing on that
> line in fstab.
> 
That is why you use the noauto option in the fstab entry. You have
to run mount manually after plugging in the drive, but you can set
it so the user can do that.

If you do not want to use gnome-mount, then you could always fall
back on an older method. I used to have udev rules that created
meaningful symlinks when plugging in a USB drive. The fstab rules
would then use the symlink instead of a specific SCSI drive. (You
can also have udev run a command to mount the device when it is
deetected, but I didn't bother with that.)  The thing is, you can
have udev create entrys like /dev/pny128 /dev/pny1281 when you plug
in your PNY 128M pen drive, and have a fstab entry that lats a user
mount /dev/pny1281. The user runs mount /mnt/pny128 or mount
/media/pny128 and the device gets mounted.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux