[lkml]   [2001]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: I can eject a mounted CD
    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

    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.



    /Bastien Nocera

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:27    [W:0.029 / U:0.248 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site