Re: Mounting USB devices with stable names

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

 



Anne Wilson wrote:
> On Friday 10 November 2006 18:22, Mike McCarty wrote:
>>> Hi Mike,
>>>
>>> You may want to read up here:
>>>
>>> http://reactivated.net/writing_udev_rules.html
>>>
>>> Hope this helps,
>> I have only just very briefly looked at the subject, and it indeed
>> seems to address the issue. I have yet to ascertain whether it
>> is the solution I'm looking for. But I'm sending this just to say:
>>
>> Thanks so much for the pointer.
>>
> Mikkel Ellertson did quite a bit of work on that - I benefitted from it at the 
> time - when hal and udev first started.  I wonder where he is?  I haven't 
> seen him around lately.
> 
> Anne
> 
I pop in now and then. But not as much as I used to.

As far as mounting goes, you may want to give the file system
labels, and let HAL auto-mount them. The drive then gets mounted on
/media/<label> when it is plugged in. If there is more then one
partition on the drive, then each gets mounted off of /media. If the
partitions are not labeled, then HAL has some other rules it uses to
construct the names. The auto-mounting will normally make FAT file
systems owned by the user who "owns" the console. You can also turn
off auto-mounting in the GUI.

If you have special requirements for how the drive gets mounted,
then you can ether write HAL rules to cover it, or you can have udev
create a special device name or symlink based on the device. Vendor
ID and device ID are usually enough, but you can also use the serial
number.

I can give better advice if I know exactly what you are after. I am
not an expert on this. But I have played around enough that I can
probably point you in the right direction.

Mikkel
-- 

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

-- 
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