Re: [opensuse] blacklisting device by ID in udev rules?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On Friday, 2008-11-21 at 06:33 -0800, j debert wrote:

How can I blacklist the device using the ID so it is never mounted?
The ID is unique so it can be done with udev, if udev supports device
blacklisting. The docs on hand mention nothing about blacklisting
devices by ID.

I don't know, but you could try making an entry on fstab for mounting that iso by-id, and giving it the "noauto" option. Linux should read that entry and not automatically mount it.

The part I don't know is, if the other RW partition will then be automatically mounted. I guess it will, but you'll have to try and find out :-)

- -- Cheers,
Carlos E. R.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkknz3AACgkQtTMYHG2NR9XIFwCghSMTyzCdhyQBCnP12LjQkqXL
WgYAn31Ea9n8ZLzsIYO5+hZA0aYftt44
=k2xU
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • Re: [opensuse] blacklisting device by ID in udev rules?
    ... |> The ID is unique so it can be done with udev, ... The docs on hand mention nothing about blacklisting ... | that entry and not automatically mount it. ... fstab doesn't seem to like that. ...
    (SuSE)
  • Re: CD-RW/DVD-ROM drive and device permission
    ... > That entry looks OK as long as you're not using SELinux. ... Even without the rules entry the drive seems to works fine, ... What about the permissions.d in udev? ... the permission to /dev/hdc directly. ...
    (Fedora)
  • Re: CD-RW/DVD-ROM drive and device permission
    ... Francois Ouellette wrote: ... >>That entry looks OK as long as you're not using SELinux. ... >>I think that all that needs to be done is to get udev to recognise your ...
    (Fedora)
  • Re: [RFC][PATCH] IO-APIC blacklist
    ... blacklisting in the first place. ... That blacklist entry is _ancient_. ... some old ACPI bug that triggered on that entry. ... I sync'd the workarounds from 2.4 into 2.5, ...
    (Linux-Kernel)
  • Re: Problem with the serial port in Fedora Core 6
    ... But, I'll repeat myself AGAIN, I don't think udev has anything to ... put an entry into 'udev' rules was the suggested recommendation for the ... that was what the OP posted on that bugzilla too. ... I don't recall ever seeing a serial port appearing in an lspci command ...
    (Fedora)