Re: Can udev be told to hide a device?

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

 



> This nonsense showed up in my /etc/udev/rules.d/70-persistent-cd.rules
> file when I plugged in my new usb hard drive.
>
> It is all windows nonsense, and I would just as soon pretend
> it doesn't exist at all and not have it cluttering my
> /dev/ directory and wot-not:
>
> # Virtual_CD_1110 (pci-0000:00:1d.7-usb-0:4:1.0-scsi-0:0:0:1)
> SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_SERIAL}=="WD_Virtual_CD_1110_574341563537373931333937-0:1", SYMLINK+="cdrom1", ENV{GENERATED}="1"

> Anyone know if it is possible to write some earlier
> udev rule for this thing that will simply make it vanish
> from existence?

1. You could use /etc/fstab
LABEL="WD_Virtual_CD" none udf rw,noauto 0 0
rather than udev; maybe...

2. If you have a Windows box into which you can plug the disk:
http://u3.com/support/default.aspx#CQ3

3. I am not sure whether this is packaged for Fedora:
http://sourceforge.net/projects/u3-tool/

4. udev possibility:
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*",
ENV{ID_SERIAL}=="WD_Virtual_CD*", OPTIONS+="ignore_device"
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
[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