Re: F13: Do not mount CD/DVD when inserted into drive

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

 



On Thu, 27 May 2010 17:50:35 -0400
Bill Davidsen wrote:

> > System -> Preferences -> File Management -> Media
> >   
> Does this really work for you? I have mine set that way and when I put in a CD 
> it is still read, mounted, the ISO label is read off the disk, and an icon 
> displayed on the desktop with filesystem label. The media is left unmounted, but 
> that certainly doesn't fit the "do nothing" choice the menu offers.

You can do lower level magic with udev rules and udisks. For instance, I have
a file named /etc/udev/rules.d/99-zzz-local.rules with lines like this:

ENV{ID_FS_LABEL}=="BACKUP", ENV{UDISKS_PRESENTATION_HIDE}="1"

That one keeps my usb disk drive partition with the label "BACKUP"
from showing up at all.

A CD drive is obviously different than a label, but there are
probably things other than ENV{ID_FS_LABEL} that you can
check (how to find out what things, I have no idea :-).

P.S. This is only on fedora 13 with udisks, on fedora 12
it was called DeviceKitDisks and the names were DKD_ instead
of UDISKS_, and prior to fedora 12 a completely different scheme
was required with hal rules written in xml.
-- 
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]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux