Linux2.2.18 
If I mount CDROM using "man 2 mount"

I cannot eject (manually nor using ioctl) the cdrom if I do
umount("/directory");

Unmounting will succeed ok, but the door of the cdrom keeps shut.

when I close the process that did the mounting, the CD can be ejected.
(if not still mounted).

This causes no problem if you use the shell command(man 8 mount), since
all shell commands get a new process forked for them.

I'd call this bug, but someone might call it feature.
What do you think?





Reply via email to