FreeBSD Bugzilla – Attachment 14495 Details for
Bug 27240
df does not support -l option
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.10 KB, created by
Jim.Pirzyk
on 2001-05-10 06:10:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Jim.Pirzyk
Created:
2001-05-10 06:10:01 UTC
Size:
1.10 KB
patch
obsolete
>*** ./bin/df.c.orig Mon Jun 12 20:19:40 2000 >--- ./bin/df.c Wed May 9 21:56:45 2001 >*************** >*** 122,128 **** > char *mntpt, *mntpath, **vfslist; > > vfslist = NULL; >! while ((ch = getopt(argc, argv, "abgHhikmnPt:")) != -1) > switch (ch) { > case 'a': > aflag = 1; >--- 122,128 ---- > char *mntpt, *mntpath, **vfslist; > > vfslist = NULL; >! while ((ch = getopt(argc, argv, "abgHhiklmnPt:")) != -1) > switch (ch) { > case 'a': > aflag = 1; >*************** >*** 152,157 **** >--- 152,162 ---- > putenv("BLOCKSIZE=1k"); > hflag = 0; > break; >+ case 'l': >+ if (vfslist != NULL) >+ errx(1, "-l and -t are mutally exclusive."); >+ vfslist = makevfslist("nonfs"); >+ break; > case 'm': > putenv("BLOCKSIZE=1m"); > hflag = 0; >*************** >*** 506,511 **** > { > > (void)fprintf(stderr, >! "usage: df [-b | -H | -h | -k | -m | -P] [-ain] [-t type] [file | filesystem ...]\n"); > exit(EX_USAGE); > } >--- 511,516 ---- > { > > (void)fprintf(stderr, >! "usage: df [-b | -H | -h | -k | -l | -m | -P] [-ain] [-t type] [file | filesystem ...]\n"); > exit(EX_USAGE); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 27240
: 14495