bluebirds anyone?

Tom Horsley tom.horsley at att.net
Mon Jan 11 17:30:41 UTC 2010


On Mon, 11 Jan 2010 09:12:37 -0800
Dave Stevens wrote:

> I don't see any way to get this disabled or generally make it go away.  
> /proc/mounts shows this line:
> 
> /dev/sr0 /media/Bluebirds iso9660  
> ro,nosuid,nodev,relatime,uid=500,gid=500,iocharset=utf8,mode=0400,dmode=0500 0  

That makes it seem likely that the label on this pretend CD is "Bluebirds"
(you could check with the blkid program).

Given that, you might be able to do the same thing I do to hide
my usb backup disk (labeled "BACKUP").

Pre fedora 12 (where hal did everything). I have this file:

/etc/hal/fdi/policy/10-stop-hal-stop.fdi

<?xml version="1.0" encoding="UTF-8"?>

<deviceinfo version="0.2">
  <device>
    <match key="volume.label" string="BACKUP">
       <merge key="volume.ignore" type="bool">true</merge>
    </match>
  </device>
</deviceinfo>

Fedora 12 and after (where udev does everything instead):

/etc/udev/rules.d/99-zzz-local.rules

# tell annoying tools on system there is a friggin reason I didn't mount
# these things and they shouldn't go mounting them either.
#
ENV{ID_FS_LABEL}=="BACKUP", ENV{DKD_PRESENTATION_HIDE}="1"

With these, unless I explicitly mount LABEL=BACKUP somewhere, it
stays mostly invisible. Hopefully all you'd have to do is change
BACKUP to Bluebirds.

 


More information about the users mailing list