[BusyBox] df using getopt and ls -k patch
Richard June
rjune at imagestream-is.com
Thu Jan 11 21:38:52 UTC 2001
I'm really dumb sometimes. lines 109 - 117 need to look like this.
wanna send me a smack to the back of the head?
109 argc = optind; /* how many cmd line args are left */
110
111 for(opt = 0; opt < argc; opt++)
112 argv++;
113
114 if (argc > 0) {
115 struct mntent *mountEntry;
116
117 while (argc > 1) {
kent robotti wrote:
> On Thu, 11 January 2001, Richard June wrote:
>
>> as per your request, I made a diff against the cvs version of bb, here's
>> the patch.
>
>
> There's these problems, the difference between
> gnu df and your bb df.
>
> # gnu df -k /bin
> Filesystem 1k-blocks Used Available Use% Mounted on
> /dev/hda4 2519552 2187272 204280 91% /
>
> # busybox df -k /bin
> df: /bin: can't find mount point.
> Filesystem 1k-blocks Used Available Use% Mounted on
>
> # gnu df /bin
> Filesystem 1k-blocks Used Available Use% Mounted on
> /dev/hda4 2519552 2187272 204280 91% /
>
> # busybox df /bin
> df: (null): can't find mount point.
> Filesystem 1k-blocks Used Available Use% Mounted on
>
More information about the busybox
mailing list