Commit Graph

73 Commits

Author SHA1 Message Date
tron 3ef6c36461 Include "disktab.h" to get prototype for getdiskbyname(). 1999-01-19 19:34:50 +00:00
bouyer 3e3f9c7795 #include machine/bswap.h and remove -lutil. 1999-01-15 13:32:05 +00:00
simonb 00c4adc933 Explicitly zero "node" before we start using it. 1998-11-03 18:14:55 +00:00
thorpej a2d370bc46 Use DINODE_SIZE instead of sizeof(struct dinode). Also, eliminate some
unnecessary pointer casts.
1998-10-23 00:39:15 +00:00
mycroft 243b42b3bc Use the default calculation of maxcontig, based on fs_bsize and MAXPHYS, so
that the cluster summary information is correct for bsize=4k and MAXPHYS=64k.
1998-10-22 08:55:42 +00:00
matt f8bd2123f3 vax -> __vax__ 1998-10-20 01:48:14 +00:00
mycroft 519d858510 __AUDIT__ cleanup. 1998-07-28 19:22:54 +00:00
mycroft 89e1507edb Add a reference to fsirand(8). 1998-05-07 03:40:48 +00:00
fair 3d7afc6d03 fix bad .Xr references 1998-04-29 09:49:10 +00:00
kleink 31e5ddfa12 Need <time.h> for time() prototype. 1998-04-01 15:28:12 +00:00
bouyer 15c41b2f72 Allow creation of non-native byteorder FFS (via the '-B' option). 1998-03-18 17:10:15 +00:00
fvdl e5bc90f40c Merge with Lite2 + local changes 1998-03-01 02:20:01 +00:00
perry 34a98169f0 macroize BSD, NetBSD, FreeBSD and misc cleanup 1998-02-06 05:54:12 +00:00
drochner 604ab80fa9 mount_mfs: avoid spurious error message if the mount system call returns
for "valid reasons" (ie, "mount -u")
1997-11-19 09:48:52 +00:00
drochner 55f4357866 Make "mount_mfs" behave synchronously - don't exit before the mount is
done. This has 2 advantages:
-The calling process can rely on the mounted filesystem.
-We get error messages if the mount system call fails.
1997-11-01 18:25:46 +00:00
christos e230a48b57 CFLAGS->CPPFLAGS 1997-10-10 19:47:50 +00:00
enami 0d8fa88b1f Don't declare optind and optarg. 1997-10-01 02:21:34 +00:00
enami 7b4b674241 When calling err(3),
- Don't output unnecessary colon and space, and
- Include the name of system call just called.
1997-09-29 05:18:00 +00:00
jeremy f83ae6979b Quell gcc 2.7.2 initialization warning. 1997-09-21 08:32:04 +00:00
lukem ec31f79470 * resolve conflicts from lite-2 import
* use int32_t instead of long
1997-09-16 14:05:39 +00:00
lukem 2ddc10a0ab define WARNS?=1 for all of sbin/* 1997-09-15 12:45:47 +00:00
lukem 1a96f83dbe * getopt returns -1 not EOF
* fix .Nm usage
1997-09-15 06:23:03 +00:00
christos bec3b005c5 Fix compiler warnings. 1997-06-30 22:20:30 +00:00
tls 4a70009927 I don't understand just what exactly changed in the past week that the GDINFO ioctl call here would smash the value of 'fd' and fail, but making fd volatile seems to fix it, for this program at least. 1997-06-30 08:09:22 +00:00
gwr 10e180cc49 Back out the .PATH.c changes. The .depend problem (and others)
will be fixed using the new .NOPATH make feature instead.
1997-05-08 21:11:01 +00:00
gwr 012e528f2e Use .PATH.c: ... 1997-05-06 20:44:56 +00:00
mouse 80c0d60f84 alternate -> alternative, per PR 2643 1997-03-08 13:47:08 +00:00
tls aeb2ee9ac9 add support for noatime mount flag 1997-01-30 09:56:10 +00:00
mikel 8a207c6ea3 eliminate obsolete reference to mkfs(8);
from Klaus Klein <kleink@layla.inka.de>.
also fixed buggy -a flag lines, reference fsck_ffs(8) instead of fsck(8).
1996-12-26 04:37:18 +00:00
cgd c1eeddcff9 this file system (according to its source) supports MNT_UPDATE. Therefore
the mount program must recognize the 'update' option.
1996-10-23 22:46:16 +00:00
perry 7bc26fc852 Remove #ifdef tahoe conditionals. We have no tahoe port. There is
still a big #if vax in this file which should be removed if possible --
#ifdef MACHINE stuff in mi code is bad.
1996-10-18 07:16:02 +00:00
mrg 9be9a14c1a update to reality. from mike long (pr#2517) 1996-06-06 15:23:47 +00:00
thorpej 37b8aea219 Use getmaxpartitions() from libutil, not a homegrown version. 1996-05-16 07:13:01 +00:00
thorpej d535998d4b Use sysctl() to determine maxpartitions. Fixes pr #970. 1995-06-28 02:21:02 +00:00
cgd 93a2f4ea60 update for posixified stat structure 1995-06-18 21:35:33 +00:00
mycroft ae16273156 Back out previous change. 1995-06-11 05:16:04 +00:00
cgd 788733b7a9 typeof(timeval.tv_sec) != time_t 1995-06-07 17:14:21 +00:00
jtc 2d709c7062 flush stdout instead of stderr, so that each block number is displayed
as it is printed.  From PR 989.
1995-05-06 06:55:34 +00:00
mycroft 5a76ea02ce Set the `clean' flag. 1995-04-12 21:24:31 +00:00
cgd 0cc5c1886a short -> int16_t in a couple of places 1995-03-21 01:28:05 +00:00
cgd 0114e805ce convert to new RCS Id conventions; reduce my headache 1995-03-18 14:54:19 +00:00
cgd 909eb54fbb calculate the 'offset' argument to lseek() in a prettier way, more
consistent with the way fsck(8) does it.  no functional change.
1995-03-18 07:02:29 +00:00
cgd f9b9202a22 flush stdout after printing each alternate superblock location. 1995-03-04 06:28:20 +00:00
cgd 4c02b41140 fix up inconsisten uses of lseek(). (three uses. one hard-coded 'whence'
as a number, one used an L_ constant and the other used a SEEK_ constant!)
1995-03-04 06:10:39 +00:00
mycroft 705a6ebacb Use S_IS*(). 1995-01-30 19:39:36 +00:00
cgd 06e2955ff1 specify man pages the new way. 1994-12-22 10:44:04 +00:00
cgd 74104b5039 compile against new headers. 1994-12-18 16:00:21 +00:00
cgd 65a65336a8 adjust the documentation to note that 'swap' can be used instead of a dev. 1994-12-18 06:10:22 +00:00
cgd 4c998ed311 type size paranoia, and allow one to mount an mfs on the device 'swap',
so that diskless machines can use MFS /tmp directories.
1994-12-18 05:09:39 +00:00
mycroft 4c78b5e610 Use defaults that are more reasonable for modern disks, and document the `-n'
option.
1994-12-01 18:46:37 +00:00