Re: Preventing USB automount

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

 



john wendel wrote:
> Tom Horsley wrote:
>> On Mon, 3 Nov 2008 15:18:55 -0600 (CST)
>> "Steve Berg" <sberg@xxxxxxxxxxxxxxx> wrote:
>>
>>> Is there an easy rule to create for udev that will turn off that
function?
>
> Or you could take the easy way out (like I do), "chkconfig haldaemon
off". I don't miss it at all.
>
> Regards,
>
> John
>
Yep, that does work, unfortunately it also breaks a few things I don't
want to break

So far I've managed to tweak the rule in 50-udev-default.rules so I at
least get an email notification that a usb device has been attached.  Now
I need to do that and prevent the mounting of said device.

Maybe somebody can offer advice on this:  If I leave the libusb section in
50-udev-default.rules file and put my new rule that does notification in a
20-local.rules I understand that the 20 file is a higher priority.  But
does that also mean that if a new device gets a hit in the 20 file that it
will ignore the rule in 50?  Or should I be commenting out the libusb
entry in 50 so it's disabled and only the 20-local.rules file will take
action?

-- 
*       Stephen Berg       *
*  sberg@xxxxxxxxxxxxxxx   *
* http://iceberg.3c0x1.com *
*  Sinners can repent,     *
*  But stupid is forever.  *


-- 
*       Stephen Berg       *
*  sberg@xxxxxxxxxxxxxxx   *
* http://iceberg.3c0x1.com *
*  Sinners can repent,     *
*  But stupid is forever.  *

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[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