I can eject a mounted CD

From: Giuliano Pochini (pochini@denise.shiny.it)
Date: Fri Apr 13 2001 - 18:12:28 EDT

  • Next message: Scott Prader: "Re: Linux 2.4.3-ac5"

    My fstab:

    /dev/cdrom /mnt/cdrom iso9660
    noauto,user,ro 0 0
    /dev/cdrom /mnt/cdmac hfs
    noauto,user,ro 0 0

    I insert an apple cd (hfs) and mount /mnt/cdmac
    If I type eject /mnt/cdrom the cd momes out but
    df shows it's still mounted:

    /dev/sr0 667978 667978 0 100% /mnt/cdmac

    It's funny it don't let me eject cdmac

    [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

    Bye.
    -
    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/



    This archive was generated by hypermail 2b29 : Fri Apr 13 2001 - 18:15:19 EDT