Messages in this thread | | | Subject | Re: I can eject a mounted CD | From | Bastien Nocera <> | Date | 20 Apr 2001 18:41:15 +0100 |
| |
On 20 Apr 2001 09:49:55 +0200, Giuliano Pochini wrote: > > >> [Giu@Jay Giu]$ eject /mnt/cdmac/ umount: /dev/sr0 is not in the fstab (and > >> you are not root) eject: unmount of `/dev/sr0' failed > > Eject(1) is suid.
No, it's not on proper installations. $ ls -l /usr/bin/eject 17k -rwxr-xr-x 1 root root 16k Jan 29 01:14 /usr/bin/eject
You need to have write access to the device to eject it. I guess you use something like /dev/cdrom as the device for the mount point /mnt/cdmac, /dev/cdrom being a symlink to /dev/sr0. Try 'eject /dev/cdrom' you'll probably have more luck.
<snip>
Cheers
-- /Bastien Nocera http://hadess.net
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |