Larger, space separated fields in the output of repquota.
PR: 8730 Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
This commit is contained in:
parent
0a81860b0b
commit
f1838373aa
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=47875
@ -45,7 +45,7 @@ static const char copyright[] =
|
||||
static char sccsid[] = "@(#)repquota.c 8.1 (Berkeley) 6/6/93";
|
||||
#endif
|
||||
static const char rcsid[] =
|
||||
"$Id: repquota.c,v 1.5 1997/10/13 11:05:07 charnier Exp $";
|
||||
"$Id: repquota.c,v 1.6 1998/06/14 22:56:31 ache Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
/*
|
||||
@ -219,9 +219,9 @@ repquota(fs, type, qfpathname)
|
||||
fup->fu_dqblk = dqbuf;
|
||||
}
|
||||
fclose(qf);
|
||||
printf("%*s Block limits File limits\n",
|
||||
printf("%*s Block limits File limits\n",
|
||||
max(UT_NAMESIZE,10), " ");
|
||||
printf("User%*s used soft hard grace used soft hard grace\n",
|
||||
printf("User%*s used soft hard grace used soft hard grace\n",
|
||||
max(UT_NAMESIZE,10), " ");
|
||||
for (id = 0; id <= highid[type]; id++) {
|
||||
fup = lookup(id, type);
|
||||
@ -231,7 +231,7 @@ repquota(fs, type, qfpathname)
|
||||
fup->fu_dqblk.dqb_curblocks == 0)
|
||||
continue;
|
||||
printf("%-*s", max(UT_NAMESIZE,10), fup->fu_name);
|
||||
printf("%c%c%8lu%8lu%8lu%7s",
|
||||
printf("%c%c %8lu %8lu %8lu %6s",
|
||||
fup->fu_dqblk.dqb_bsoftlimit &&
|
||||
fup->fu_dqblk.dqb_curblocks >=
|
||||
fup->fu_dqblk.dqb_bsoftlimit ? '+' : '-',
|
||||
@ -245,7 +245,7 @@ repquota(fs, type, qfpathname)
|
||||
fup->fu_dqblk.dqb_curblocks >=
|
||||
fup->fu_dqblk.dqb_bsoftlimit ?
|
||||
timeprt(fup->fu_dqblk.dqb_btime) : "");
|
||||
printf(" %6lu%6lu%6lu%7s\n",
|
||||
printf(" %7lu %7lu %7lu %6s\n",
|
||||
fup->fu_dqblk.dqb_curinodes,
|
||||
fup->fu_dqblk.dqb_isoftlimit,
|
||||
fup->fu_dqblk.dqb_ihardlimit,
|
||||
|
Loading…
Reference in New Issue
Block a user