Commit Graph

24 Commits

Author SHA1 Message Date
christos
6bd1d6d4db Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.
2004-04-21 01:05:31 +00:00
dsl
893680a09a ffsv2 might not have FS_FLAGS_UPDATED set 2004-03-27 13:08:50 +00:00
dsl
a78ca7231d When searching for the superblock, don't pick an ffsv1 superblock from the
location where we expect to find an ffsv2 superblock.
It could be the first alternate for a ffsv1 filesystem with 64k blocks.
Fixes part of PR kern/24809
2004-03-21 22:07:22 +00:00
wiz
b6728a9600 Remove unused max macro. From Jeff Ito in PR 23995. 2004-01-06 13:30:56 +00:00
jmmv
b635f565e7 Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
2004-01-05 23:23:32 +00:00
simonb
ae46649fa5 Pass a NULL to getbsize() for any arguments that aren't needed, and
remove the otherwise unused variables.
2003-05-30 00:17:25 +00:00
fvdl
42614ed3f3 Add support for UFS2. UFS2 is an enhanced FFS, adding support for
64 bit block pointers, extended attribute storage, and a few
other things.

This commit does not yet include the code to manipulate the extended
storage (for e.g. ACLs), this will be done later.

Originally written by Kirk McKusick and Network Associates Laboratories for
FreeBSD.
2003-04-02 10:39:19 +00:00
lukem
99147a7648 remove #include <ufs/ufs/quota.h> where it was just to appease
<ufs/ufs/inode.h>, since the latter now includes the former.  leave the former
in source that obviously uses specific bits of it (for completeness.)
2001-10-26 05:56:06 +00:00
mycroft
c960d1da4a Adjust this to work on the Alpha. 1999-10-06 07:20:20 +00:00
mycroft
357cd6197f Make this work on file systems larger than 2GB. 1999-10-05 03:14:28 +00:00
fvdl
e5bc90f40c Merge with Lite2 + local changes 1998-03-01 02:20:01 +00:00
mrg
507e5c88b3 use warn not warnx to find out why the open failed (as old quot did). 1997-11-06 14:36:45 +00:00
lukem
de441420bd deprecate register, use err/warn instead of perror, memmove instead of bcopy 1997-10-18 11:11:18 +00:00
lukem
d07d094491 WARNSify 1997-10-17 12:36:30 +00:00
mycroft
11f8dfe58d Format police. 1996-12-12 00:43:28 +00:00
ws
021326698d Fix PR 2462
While I am here do some reformatting, remove hardwired DEV_BSIZE values,
add old fs compatibility (stolen from libsa), and change to new RCSids.
1996-05-24 12:51:23 +00:00
mrg
30cdcc3b6b pull in <unistd.h> to make lseek() work ... 1996-05-24 08:52:41 +00:00
jtc
21908ddbd5 merge in changes from 1.1 release branch 1995-11-28 19:43:04 +00:00
cgd
98683fd3c2 fix a macro's usage 1994-06-13 20:56:47 +00:00
cgd
942900f229 update for new fs includes 1994-06-13 20:50:48 +00:00
cgd
4417e58658 need <sys/time.h> 1994-04-25 18:17:04 +00:00
cgd
8034feb3a6 fs type names 1994-04-14 03:26:06 +00:00
cgd
5b9674ec23 general: cleanup. fix RCS Id's. ("$Id $" doesn't work.)
Makefile: no special bingrp.
quot.8: bugs section is empty; comment it out.
quot.c: add static RCS Id, KNF-ify, break long lines.
1994-02-11 00:23:34 +00:00
ws
66ffc9f874 First version of a quot utility 1994-02-10 17:58:38 +00:00