diff options
author | Peter Wemm <peter@FreeBSD.org> | 1995-11-03 15:21:04 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 1995-11-03 15:21:04 +0000 |
commit | 696322c8f239636cc4a59d7dec316fd3189a0bda (patch) | |
tree | c4b9dd1f47845e9f63a56298ed01c7d93f3c8790 /usr.sbin/quot | |
parent | f550ee3d9b8dcd4efc33da94f6d6c90a7ff68014 (diff) | |
download | src-test2-696322c8f239636cc4a59d7dec316fd3189a0bda.tar.gz src-test2-696322c8f239636cc4a59d7dec316fd3189a0bda.zip |
Notes
Diffstat (limited to 'usr.sbin/quot')
-rw-r--r-- | usr.sbin/quot/Makefile | 4 | ||||
-rw-r--r-- | usr.sbin/quot/quot.8 | 9 | ||||
-rw-r--r-- | usr.sbin/quot/quot.c | 4 |
3 files changed, 11 insertions, 6 deletions
diff --git a/usr.sbin/quot/Makefile b/usr.sbin/quot/Makefile index aca581b820d3..273a4b1302cc 100644 --- a/usr.sbin/quot/Makefile +++ b/usr.sbin/quot/Makefile @@ -1,6 +1,6 @@ -# $Id: Makefile,v 1.3 1994/12/22 11:39:03 cgd Exp $ +# $Id: Makefile,v 1.1.1.1 1995/11/03 15:06:01 peter Exp $ PROG= quot -MAN= quot.8 +MAN8= quot.8 .include <bsd.prog.mk> diff --git a/usr.sbin/quot/quot.8 b/usr.sbin/quot/quot.8 index 7b964d944c33..76236a0b151c 100644 --- a/usr.sbin/quot/quot.8 +++ b/usr.sbin/quot/quot.8 @@ -27,7 +27,7 @@ .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $Id: quot.8,v 1.3 1994/03/19 07:59:47 cgd Exp $ +.\" $Id: quot.8,v 1.1.1.2 1995/11/03 15:06:02 peter Exp $ .\" .Dd February 8, 1994 .Dt QUOT 8 @@ -87,10 +87,15 @@ is set, and the option is not specified, the block counts will be displayed in units of that size block. .El -.\".Sh BUGS +.Sh BUGS +ncheck does not exist in FreeBSD.. :-) .Sh SEE ALSO .Xr df 1 , .Xr quota 1 , .Xr getmntinfo 3 , .Xr fstab 5 , .Xr mount 8 , +.Sh HISTORY +This implementation of +.Nm quot +is by Wolfgang Solfrank / TooLs GmbH. diff --git a/usr.sbin/quot/quot.c b/usr.sbin/quot/quot.c index e5f2daad68c7..4825d825cf2d 100644 --- a/usr.sbin/quot/quot.c +++ b/usr.sbin/quot/quot.c @@ -30,7 +30,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: quot.c,v 1.6.4.1 1995/11/01 00:06:41 jtc Exp $"; +static char rcsid[] = "$Id: quot.c,v 1.1.1.1 1995/11/03 15:06:04 peter Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -567,7 +567,7 @@ int main(argc,argv) if (all) { cnt = getmntinfo(&mp,MNT_NOWAIT); for (; --cnt >= 0; mp++) { - if (!strncmp(mp->f_fstypename, MOUNT_FFS, MFSNAMELEN)) { + if (mp->f_type == MOUNT_UFS) { if (nm = strrchr(mp->f_mntfromname,'/')) { sprintf(dev,"/dev/r%s",nm + 1); nm = dev; |