Date: Sun, 4 Feb 2007 00:54:29 -0600 From: Mike Pritchard <mpp@mail.mppsystems.com> To: freebsd-hackers@freebsd.org Subject: Request for feedback on 2 new quota command options Message-ID: <20070204065428.GA1731@mail.mppsystems.com>
next in thread | raw e-mail | index | archive | help
I'd like to add 2 new options to the quota command, and would like to see if there are any comments before I commit them. The new options are: -f filesystem Only display information for the specified file system. -r Display the information as it appears in the quota structure, without any block translation and display the grace time values in more detail. E.g. instead of saying 6days for the time left, the actual time_t data and the time in ctime(3) format will be displayed. Both options have been useful in helping debug quota problems. Sample output from "quota -r -f /sandbox -u quotatest": Raw user quota information for id 1016 on /sandbox block hard limit: 1800 block soft limit: 1200 current block count: 6752 i-node hard limit: 11 i-node soft limit: 6 current i-node count: 5 block grace time: 1171080257 Fri Feb 9 22:04:17 2007 i-node grace time: 0 The patch is available at: http://people.freebsd.org/~mpp/quota.patch -Mike -- Mike Pritchard mpp @ mppsystems.com or mpp @ FreeBSD.org "If tyranny and oppression come to this land, it will be in the guise of fighting a foreign enemy." - James Madison (1787)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070204065428.GA1731>