Commit Graph

38 Commits

Author SHA1 Message Date
wrstuden 6f14acdddf If -c not set on command line and the partition has a non-zero cpg
value, use it for the number of cylinders per group. So now the value
in the disklabel does something. :-)
1999-05-19 00:25:59 +00:00
tron 3ef6c36461 Include "disktab.h" to get prototype for getdiskbyname(). 1999-01-19 19:34:50 +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
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
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
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
lukem ec31f79470 * resolve conflicts from lite-2 import
* use int32_t instead of long
1997-09-16 14:05:39 +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
tls aeb2ee9ac9 add support for noatime mount flag 1997-01-30 09:56:10 +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
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 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 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 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
mycroft 4922d725cf Remove some more uses of obsolete functions. 1994-09-23 23:48:10 +00:00
mycroft ea7b5d4ec6 Eliminate uses of some obsolete functions. 1994-09-23 14:26:58 +00:00
mycroft 625a6892f7 Update from 4.4-Lite, with local changes. 1994-06-08 19:27:32 +00:00
cgd f01b9646e3 back to 10%, per mkm 1994-04-20 03:56:03 +00:00
cgd 0acef81434 numeric -> symbolic constant 1994-02-06 08:19:56 +00:00
cgd 884899f81f MINFREE defaults to 5% per mckusick 1994-01-28 06:02:57 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
cgd cbdb50c1c1 incorporate changes from 0-9-base to 0-9-ALPHA 1993-07-28 00:56:43 +00:00
mycroft ac2b12c76f Don't mix ANSI and pre-ANSI varargs. 1993-04-18 18:46:43 +00:00
cgd 06be60083d changed "Id" to "Header" for rcsids 1993-03-23 00:22:59 +00:00
cgd 346aa5dd48 added rcs ids to all files 1993-03-22 08:04:00 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00