[BusyBox] [PATCH] eject

Mike Frysinger vapier at gentoo.org
Wed May 11 16:11:39 UTC 2005


On Wednesday 11 May 2005 10:47 am, Rob Landley wrote:
> On Wednesday 11 May 2005 11:49 am, Joshua Malone wrote:
> > >>./busybox eject /dev/sr0
> > >>eject: failed: Input/output error
> > >
> > > Not a good error message, though.
> > >
> > > How much size does calling the built-in umount applet add?  (No need to
> > > duplicate anything, just a call to umount_main() as a regular function,
> > > with appropriate arguments)...
> >
> > It seems to me that eject should fail if the media is still mounted
> > rather than attempt to unmount it "behind your back".  Akin to pressing
> > the eject putton and nothing happening.  Just my $0.02.
>
> Except that's not how the standard eject command works.

yep, the eject man page says as much too
-mike



More information about the busybox mailing list