diff options
author | Kirk McKusick <mckusick@FreeBSD.org> | 2009-12-28 23:01:47 +0000 |
---|---|---|
committer | Kirk McKusick <mckusick@FreeBSD.org> | 2009-12-28 23:01:47 +0000 |
commit | 46d2decf1ada39fefc050092012034fabcfaa061 (patch) | |
tree | 6d855b6599e45f6e10d1fd6996e43f920405fa31 /sbin/quotacheck/quotacheck.8 | |
parent | aee785babde44bcfef1d711653a85896dde7324b (diff) | |
download | src-46d2decf1ada39fefc050092012034fabcfaa061.tar.gz src-46d2decf1ada39fefc050092012034fabcfaa061.zip |
Add the -c option to quotacheck to use the quota_convert(3) function to
convert between quota file formats.
Notes
Notes:
svn path=/projects/quota64/; revision=201147
Diffstat (limited to 'sbin/quotacheck/quotacheck.8')
-rw-r--r-- | sbin/quotacheck/quotacheck.8 | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sbin/quotacheck/quotacheck.8 b/sbin/quotacheck/quotacheck.8 index 5ba2ad76fa3f..e8f4d9ca775a 100644 --- a/sbin/quotacheck/quotacheck.8 +++ b/sbin/quotacheck/quotacheck.8 @@ -40,10 +40,12 @@ .Sh SYNOPSIS .Nm .Op Fl guv +.Op Fl c Ar 32 | 64 .Op Fl l Ar maxrun .Fl a .Nm .Op Fl guv +.Op Fl c Ar 32 | 64 .Ar filesystem ... .Sh DESCRIPTION The @@ -69,6 +71,22 @@ to be read-write with disk quotas. By default only the types of quotas listed in .Pa /etc/fstab are checked. +.It Fl c Ar 32 | 64 +Before performing its checks, +.Nm +will convert the quota file to the specified word size. +A conversion size of 64 is given to request conversion to +the new 64-bit quota file format. +A conversion size of 32 is given to request conversion back to +the old 32-bit quota file format. +The original quota file is left unchanged and moved aside with an +underscore and its format size plus a +.Pa .orig +extension added to its name. +Thus, the original 32-bit +.Pa quota.user +quota file converted to the 64-bit format quota file will be renamed to +.Pa quota.user_32.orig . .It Fl g Only group quotas listed in .Pa /etc/fstab |