[BusyBox] Serious bug in find_mount_point.c
Brent Roman
brent at mbari.org
Fri Mar 11 08:33:24 UTC 2005
Hi,
Has anyone noticed that:
$ df {path}
does not output anything but the header line if {path} is on the
root filesystem or denotes the root device?
I've attached a fix for that.
Since df skips over the rootfs, we have to insure that find_mount_point
will will too.
With this patch both 'df /' and 'df /dev/root' work properly.
This is more than can be said for the "standard" linux df command.
$ df /dev/root
Filesystem 1K-blocks Used Available Use% Mounted on
none 0 0 0 - /dev
Should busybox folks file a bug with df's maintainers, or conform to its
breakage? ;-)
--
Brent Roman
mailto:brent at mbari.org http://www.mbari.org/~brent
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: find_mount_point.patch
Url: http://lists.busybox.net/pipermail/busybox/attachments/20050311/fbc49db5/attachment.diff
More information about the busybox
mailing list