Apparently, though unproven, at 23:20 on Sunday 29 May 2011, Alan Mackenzie 
did opine thusly:

> Hi, Alan.
> 
> On Sun, May 29, 2011 at 10:58:39PM +0200, Alan McKinnon wrote:
> > Apparently, though unproven, at 22:49 on Sunday 29 May 2011, Alan
> > Mackenzie
> > 
> > did opine thusly:
> > > Hi, Gentoo.
> > > 
> > > I've now managed to play CDs in Gnome, primarily by adding myself to
> > > the cdrom group.  I do wish all these restrictions, enforced by group
> > > membership, could be switched off.
> > > 
> > > Having played a CD, I discover there's no way to eject it; the physical
> > > button on the drive is inactive until I exit from Gnome, which is
> > > clearly suboptimal.
> > > 
> > > However, if I start Gnome as root, I can eject a CD trouble freely.
> > > But running as root is also suboptimal.
> > > 
> > > So, I thought, maybe this "feature" is another pesky group restriction.
> > > So I tried adding myself to group "disk", then to group "cdrw", all to
> > > no avail.  I still couldn't eject the disk.
> > 
> > With a CD in the drive and gnome running, please post the output of
> > 
> > mount

Well that didn't work too well - they're not listed. Obviously gnome doesn't 
use mount/mtab/fstab to do it's mounting thing. Time for Neil's plan B

eject -v

for comparison, do it as a user and then as root




> 
> root@acm ~ # mount
> rootfs on / type rootfs (rw)
> /dev/root on / type ext2 (rw,noatime,errors=continue)
> proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
> rc-svcdir on /lib64/rc/init.d type tmpfs
> (rw,nosuid,nodev,noexec,relatime,size=1024k,mode=755) sysfs on /sys type
> sysfs (rw,nosuid,nodev,noexec,relatime)
> debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
> udev on /dev type tmpfs (rw,nosuid,relatime,size=10240k,mode=755)
> devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
> shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime)
> /dev/mapper/vg-usr on /usr type ext3 (rw,noatime,commit=0)
> /dev/mapper/vg-usrportage on /usr/portage type ext2 (rw,noatime)
> /dev/mapper/vg-usrportagedistfiles on /usr/portage/distfiles type ext2
> (rw,noatime) /dev/mapper/vg-usrsrc on /usr/src type ext3
> (rw,noatime,commit=0)
> /dev/mapper/vg-home on /home type ext3 (rw,noatime,commit=0)
> /dev/mapper/vg-opt on /opt type ext3 (rw,noatime,commit=0)
> /dev/mapper/vg-var on /var type ext3 (rw,noatime,commit=0)
> /dev/mapper/vg-varspoolmail on /var/spool/mail type ext3
> (rw,noatime,commit=0) /dev/mapper/vg-varspoolnews on /var/spool/news type
> reiserfs (rw,noatime) /dev/mapper/vg-iso on /iso type ext2 (rw,noatime)
> /dev/mapper/vg-old on /old type ext2 (rw,noatime)
> /dev/mapper/vg-vg--backup on /backup type ext2 (rw,noatime)
> usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85)
> binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc
> (rw,noexec,nosuid,nodev)
> 
> > cat /etc/mtab
> 
> root@acm ~ # cat /etc/mtab
> rootfs / rootfs rw 0 0
> /dev/root / ext2 rw,noatime,errors=continue 0 0
> proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
> rc-svcdir /lib64/rc/init.d tmpfs
> rw,nosuid,nodev,noexec,relatime,size=1024k,mode=755 0 0 sysfs /sys sysfs
> rw,nosuid,nodev,noexec,relatime 0 0
> debugfs /sys/kernel/debug debugfs rw,nosuid,nodev,noexec,relatime 0 0
> udev /dev tmpfs rw,nosuid,relatime,size=10240k,mode=755 0 0
> devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620 0 0
> shm /dev/shm tmpfs rw,nosuid,nodev,noexec,relatime 0 0
> /dev/mapper/vg-usr /usr ext3 rw,noatime,commit=0 0 0
> /dev/mapper/vg-usrportage /usr/portage ext2 rw,noatime 0 0
> /dev/mapper/vg-usrportagedistfiles /usr/portage/distfiles ext2 rw,noatime 0
> 0 /dev/mapper/vg-usrsrc /usr/src ext3 rw,noatime,commit=0 0 0
> /dev/mapper/vg-home /home ext3 rw,noatime,commit=0 0 0
> /dev/mapper/vg-opt /opt ext3 rw,noatime,commit=0 0 0
> /dev/mapper/vg-var /var ext3 rw,noatime,commit=0 0 0
> /dev/mapper/vg-varspoolmail /var/spool/mail ext3 rw,noatime,commit=0 0 0
> /dev/mapper/vg-varspoolnews /var/spool/news reiserfs rw,noatime 0 0
> /dev/mapper/vg-iso /iso ext2 rw,noatime 0 0
> /dev/mapper/vg-old /old ext2 rw,noatime 0 0
> /dev/mapper/vg-vg--backup /backup ext2 rw,noatime 0 0
> usbfs /proc/bus/usb usbfs rw,noexec,nosuid,devmode=0664,devgid=85 0 0
> binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,noexec,nosuid,nodev 0 0

-- 
alan dot mckinnon at gmail dot com


Reply via email to