[BusyBox] [PATCH] eject

Rob Landley rob at landley.net
Wed May 11 14:47:04 UTC 2005


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)...
> >
> > Rob
>
> 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.
>
> -Josh

Except that's not how the standard eject command works.

Rob



More information about the busybox mailing list