1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-20 15:43:16 +00:00
freebsd/sbin
Poul-Henning Kamp 9aba332745 Continue the cleanup preparations for UFS2 (& GEOM):
Use only one filedescriptor.  Open in R/O or R/W based in the '-N' option.
Make the filedescriptor a global variable instead of passing it around
as semi-global variable(s).

Remove the undocumented ability to specify type without '-T' option.

Replace fatal() with straight err(3)/errx(3).  Save calls to strerror()
where applicable.  Loose the progname variable.

Get the sense of the cpgflag test correct so we only issue warnings if
people specify cpg and can't get that.  It can be argued that this
should be an error.

Remove the check to see if the disk is mounted:  Open for writing
would fail if it were mounted.

Attempt to get the sectorsize and mediasize with the generic disk
ioctls, fall back to disklabel and /etc/disktab as we can.

Notice that on-disk labels still take precedence over /etc/disktab,
this is probably wrong, but not as wrong as the entire concept of
/etc/disktab is.

Sponsored by:   DARPA & NAI Labs.
2002-04-24 11:44:02 +00:00
..
adjkerntz o Use real prototypes 2002-03-18 04:55:09 +00:00
atacontrol Sync with the new endianness in ata.h 2002-04-05 21:51:03 +00:00
atm Default to WARNS=2. 2001-12-04 02:19:58 +00:00
badsect Kill register 2002-03-20 04:33:25 +00:00
bsdlabel disklabel(8) manual page: 2002-04-15 22:24:34 +00:00
camcontrol Fix a bzero length calculation. sizeof(struct ccb_getdev) should have been 2002-04-01 03:58:51 +00:00
ccdconfig o __P removal. 2002-03-18 05:00:52 +00:00
clri Kill register 2002-03-20 04:33:25 +00:00
comcontrol Default to WARNS=2. 2001-12-04 02:19:58 +00:00
conscontrol Default to WARNS=2. 2001-12-04 02:19:58 +00:00
cxconfig Default to WARNS=2. 2001-12-04 02:19:58 +00:00
dhclient Do not use perl where sed is more than adequate. 2002-04-13 23:53:36 +00:00
disklabel disklabel(8) manual page: 2002-04-15 22:24:34 +00:00
dmesg o Remove __P 2002-03-19 13:29:39 +00:00
dump Replaced exists() tests with two equivalent defined(). 2002-04-18 07:01:35 +00:00
dumpfs o __P removed 2002-03-20 22:57:10 +00:00
dumpon Update dumpon manual page to explain single/multi-user usability 2002-04-09 19:51:50 +00:00
fdisk Fix the fdisk(8) manual page. 2002-04-18 16:25:18 +00:00
fdisk_pc98 Add missing \ before an 'n' to get the proper newline when running 2002-03-27 06:20:20 +00:00
ffsinfo Use `The .Nm utility' 2002-04-20 11:58:12 +00:00
fsck Usage style sweep: spell "usage" with a small 'u'. 2002-04-22 13:44:47 +00:00
fsck_ffs Usage style sweep: spell "usage" with a small 'u'. 2002-04-22 13:44:47 +00:00
fsck_ifs Usage style sweep: spell "usage" with a small 'u'. 2002-04-22 13:44:47 +00:00
fsck_msdosfs Usage style sweep: spell "usage" with a small 'u'. 2002-04-22 13:44:47 +00:00
fsdb o __P removal. 2002-03-21 13:10:52 +00:00
fsirand o __P removal. 2002-03-21 13:10:52 +00:00
growfs Remove 'register' keyword. 2002-03-20 17:55:10 +00:00
ifconfig De-__P, use ansi function definitions 2002-04-18 17:14:09 +00:00
init o remove __P 2002-03-20 22:53:13 +00:00
ip6fw just merged cosmetic changes from KAME to ease sync between KAME and FreeBSD. 2002-04-19 04:46:24 +00:00
ipf * add extra -I path to get the "matching" header files. 2002-03-20 09:02:48 +00:00
ipfs add extra include path to get .h files from source being used to compile 2002-03-26 10:09:09 +00:00
ipfstat Hopefully fix make world. 2002-03-19 22:51:53 +00:00
ipfw I've been meaning to do this for a while. Add an underscore to the 2002-01-19 23:20:02 +00:00
ipmon * add extra -I path to get the "matching" header files. (and split the one 2002-03-20 09:04:34 +00:00
ipnat * need to compile printnat.c now that this function is in a separate .c file 2002-03-20 09:01:48 +00:00
kldconfig Default to WARNS=2. 2001-12-04 02:19:58 +00:00
kldload mdoc(7) police: tidy up previous delta. 2002-01-09 15:22:30 +00:00
kldstat Default to WARNS=2. 2001-12-04 02:19:58 +00:00
kldunload Default to WARNS=2. 2001-12-04 02:19:58 +00:00
ldconfig o __P removed 2002-03-21 13:14:21 +00:00
md5 Use `The .Nm utility' 2002-04-19 23:06:29 +00:00
mdconfig Usage style sweep: spell "usage" with a small 'u'. 2002-04-22 13:44:47 +00:00
mdmfs Usage style sweep: spell "usage" with a small 'u'. 2002-04-22 13:44:47 +00:00
mknod Minor English fixes. 2002-03-10 08:50:53 +00:00
mount Unbreak NFS mounts when mount(8) is invoked as : mount path@server. 2002-04-23 17:24:02 +00:00
mount_cd9660 mdoc(7) police: misc fixes. 2002-03-15 14:56:53 +00:00
mount_ext2fs o __P removed 2002-03-21 13:14:21 +00:00
mount_hpfs o __P removed 2002-03-21 13:14:21 +00:00
mount_ifs o __P removed 2002-03-21 13:14:21 +00:00
mount_msdosfs o __P removed 2002-03-21 13:14:21 +00:00
mount_nfs o __P removed 2002-03-21 13:14:21 +00:00
mount_ntfs o __P removed 2002-03-21 13:14:21 +00:00
mount_nullfs o __P removed 2002-03-21 13:14:21 +00:00
mount_nwfs Add character translation table between Unix and NetWare according 2002-04-20 05:35:02 +00:00
mount_portalfs o __P removed 2002-03-21 13:14:21 +00:00
mount_smbfs Add bmake glue for src/contrib/smbfs and connect userland smbfs 2001-12-14 11:41:22 +00:00
mount_std Add code to try the nmount(2) syscall when mount(2) failed with 2002-04-07 13:28:18 +00:00
mount_udf Sync with UDF p4 tree: Properly initialize part of the mntopts. 2002-04-15 20:16:48 +00:00
mount_umapfs o __P removed 2002-03-21 13:14:21 +00:00
mount_unionfs o __P removed 2002-03-21 13:14:21 +00:00
mountd o __P removed 2002-03-21 13:14:21 +00:00
natd I don't know what the MAINTAINER means in src/ part of FreeBSD. 2002-04-12 19:11:09 +00:00
newfs Continue the cleanup preparations for UFS2 (& GEOM): 2002-04-24 11:44:02 +00:00
newfs_msdos Default to WARNS=2. 2001-12-04 02:19:58 +00:00
nextboot Default to WARNS=2. 2001-12-04 02:19:58 +00:00
nfsd Fix problem in macro definition breaking compiles with -DDEBUG. 2002-03-26 17:37:59 +00:00
nfsiod o remove __P 2002-03-21 13:20:49 +00:00
nologin Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
nos-tun o remove __P 2002-03-21 13:20:49 +00:00
ping WARNS fixes. 2002-04-02 10:15:32 +00:00
ping6 o remove __P 2002-03-21 13:20:49 +00:00
quotacheck o remove __P 2002-03-21 13:20:49 +00:00
rcorder Import the NetBSD 1.5 RC system. 2001-06-16 07:16:14 +00:00
reboot Add forgotten flag in flag lists. 2002-03-25 10:45:28 +00:00
restore Replaced exists() tests with two equivalent defined(). 2002-04-18 07:01:35 +00:00
route Removed the cruft that became cruft after rev. 1.4. 2002-04-12 11:12:37 +00:00
routed Add the possibility to use a no_rip_out configuration option in order 2002-04-07 17:01:20 +00:00
rtsol Default to WARNS=2. 2001-12-04 02:19:58 +00:00
savecore Add FBSDID. Start errx(3) messages with lowercase. Remove a ')' with no '('. 2002-04-21 07:18:16 +00:00
setkey mdoc(7) police: protect trailing full stops of abbreviations 2001-08-10 13:45:36 +00:00
shutdown o remove __P 2002-03-21 13:20:49 +00:00
slattach o remove __P 2002-03-21 13:20:49 +00:00
spppcontrol mdoc(7) police: tidy up the markup. 2002-01-10 16:02:23 +00:00
startslip Use `The .Nm utility' 2002-04-19 23:06:29 +00:00
swapon o remove __P 2002-03-21 13:20:49 +00:00
sysctl Take the "tickadj" element out of struct clockinfo. Our adjtime(2) 2002-04-15 12:11:06 +00:00
tunefs Expand the reserved space section. Explain how the amount of reserved 2002-04-16 05:35:56 +00:00
umount Default to WARNS=2. 2001-12-04 02:19:58 +00:00
vinum Usage style sweep: spell "usage" with a small 'u'. 2002-04-22 13:44:47 +00:00
Makefile Add a filesystem driver for the Universal Disk Format. For more info, 2002-04-14 16:36:49 +00:00
Makefile.inc Default to WARNS=2. 2001-12-04 02:19:58 +00:00