Re: Alias for pen drives

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

 



Paul Smith wrote:
> Dear All,
> 
> The alias '/dev/dvd' is for dvd. What is the alias for pen drives?
> 
> Thanks in advance,
> 
> Paul
> 
Normally, there is not an alias created for pen drives. They are
usually auto-mounted if there is a user logged into the GUI on the
local console. If you need a specific alias for a pen drive, you can
create a udev rule for it. Depending on what you match on, it can be
as specific as an alias for one pen drive, one model of pen drive,
or all pend drives from a particular manufacture. You could also
have one for all USB storage devices by matching on device type. (I
believe they all report the same device type.) The thing to watch
out for is that your rule does not try to create the same symlink
for a new device as a device that is currently plugged in.

Managing a symlink for a built-in DVD drive is easy - you are not
normally going to be removing the drive while the system is running.
For hotplugable devices, it is more complicated. (It is also
complicated when you have more then one DVD drive installed...) When
auto-mounting devices, HAL has a set of rules that it follows in
deciding on the name to use. If the filesystem(s) had a label, then
that is used. It is modified slightly if that label is already in
use. If that fails, it tries to use the device name string. If that
fails, then uses a generic name. (Some releases of HAL had problems
with unlabeled devices.)

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