freebsd-skq/sbin
Ian Dowse 7bdf1805b1 Put back the error checking in wtfs() that was lost when newfs was
changed to use libufs in revision 1.71. Without this, any write
failures in newfs were silently ignored.

Note that this will display a meaningless errno string in the case
of a short write as opposed to a write error, since bwrite()'s
return value does not allow the caller to determine if errno is
valid.

Reported by:	Lukas Ertl <l.ertl@univie.ac.at>
Reviewed by:	jmallett
Approved by:	re (bmah)
2003-05-10 18:58:17 +00:00
..
adjkerntz Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
atacontrol DOnt allow getting caps from other than master and slave device :) 2003-05-05 10:28:37 +00:00
atm Use size_t type vars in sizeof contexts. 2003-05-02 06:46:24 +00:00
badsect Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
bsdlabel Before reading an ascii label, initialize with defaults so that 2003-05-09 20:26:17 +00:00
camcontrol Set WARNS=1. RESOLUTION_MAX macro has major signed/unsigned issues. 2003-05-02 06:56:32 +00:00
ccdconfig Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
clri Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
comcontrol Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
conscontrol The .Nm utility 2002-07-06 19:34:18 +00:00
cxconfig Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
devd sysctlbyname takes a size_t as its 5th argument, not a pointer. 2003-05-02 17:38:08 +00:00
devfs mdoc(7) police: markup nits. 2002-12-09 13:06:34 +00:00
dhclient Hook omshell(1) up to the build. 2003-03-25 03:16:53 +00:00
disklabel Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
dmesg bufpos is used in size_t contexts, so make it one. 2003-05-02 07:08:52 +00:00
dump Dump is hard-wired to believe that it can read disks on 2003-05-07 18:27:09 +00:00
dumpfs mdoc(7) police: markup laundry. 2003-02-23 01:47:49 +00:00
dumpon Bring the dumpon(8) man page closer to reality: 2003-05-07 19:37:51 +00:00
fdisk Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
fdisk_pc98 Oops, DIOCGPC98 should be DIOCSPC98. 2003-05-01 14:30:59 +00:00
ffsinfo s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
fsck Back out previous delta to fix fsck on filesystems without an fstab entry, 2003-04-25 01:12:35 +00:00
fsck_ffs Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
fsck_msdosfs Fix some 'SYNOPSIS' and 'usage' messages. 2002-08-27 00:49:27 +00:00
fsdb I forgot fsdb was still sharing files with fsck. 2002-09-16 14:18:43 +00:00
fsirand Create a new 32-bit fs_flags word in the superblock. Add code to move 2002-11-27 02:18:58 +00:00
gbde Normalize, fix ``make checkdpadd''. 2003-04-16 11:54:11 +00:00
gpt Show the paritition types that we recognize in human readable format. eg: 2003-02-13 01:00:26 +00:00
growfs Fix typos in comments; some style(9) fixes; no code changes. 2003-04-26 15:22:29 +00:00
ifconfig Add media types and options for ATM. While on most ATM cards media cannot 2003-04-29 17:23:23 +00:00
init There are 5 securelevels, not 4. 2003-03-26 01:30:34 +00:00
ip6fw Make -N option work. 2003-03-25 11:27:46 +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 Add a 'verrevpath' option that verifies the interface that a packet 2003-03-15 01:13:00 +00:00
ipmon Change the default syslog facility from LOG_LOCAL0 to LOG_SECURITY after 2003-04-05 10:42:38 +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 Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
kldload Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
kldstat Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
kldunload Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
ldconfig Describe the pattern filenames must be in before they are added to the hints 2003-05-08 17:25:41 +00:00
mca o Replace 'struct uuid' with 'uuid_t', 2002-11-01 06:34:35 +00:00
md5 Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
mdconfig Add .Xr's to mdmfs(8). 2003-04-27 01:46:56 +00:00
mdmfs Add an example of how to create an fstab entry. 2003-05-05 23:41:17 +00:00
mknod Remove some more MAKEDEV information. 2003-03-25 18:43:10 +00:00
mksnap_ffs Close out a possible race where anybody in group operator could 2003-03-02 08:07:57 +00:00
mount Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
mount_cd9660 s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_ext2fs Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
mount_hpfs english(4) police. 2002-12-27 12:15:40 +00:00
mount_msdosfs s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_nfs Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
mount_ntfs s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_nullfs The .Xr utility 2003-02-05 13:50:41 +00:00
mount_nwfs s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_portalfs s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_smbfs This really isn't WARNS clean. 2002-12-30 09:38:46 +00:00
mount_std Take sizeof() the right string for fspath's iovec. The old string was the 2002-11-05 20:06:01 +00:00
mount_udf mount_udf(8) is currently not in 4.X, so obviously it did not first appear 2002-12-12 05:56:36 +00:00
mount_umapfs Uniformly refer to a file system as "file system". 2002-12-12 17:26:04 +00:00
mount_unionfs Uniformly refer to a file system as "file system". 2002-12-12 17:26:04 +00:00
natd Don't pretend natd(8) doesn't work with ppp(8) interfaces. 2003-02-28 15:41:45 +00:00
newfs Put back the error checking in wtfs() that was lost when newfs was 2003-05-10 18:58:17 +00:00
newfs_msdos Additional PC98 option is not needed. 2003-01-30 15:09:21 +00:00
nfsiod Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
nologin The .Nm utility 2002-07-06 19:34:18 +00:00
nos-tun Don't depend on <sys/types.h> pollution in <fcntl.h>. Sort includes. 2002-09-16 19:46:20 +00:00
ping Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
ping6 corrected buffer lengths for memset() 2002-12-06 02:11:31 +00:00
quotacheck Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
raidctl english(4) police. 2002-12-27 12:15:40 +00:00
rcorder mdoc(7) police: Fixed markup now that it was taken out of vendor branch. 2002-11-25 16:23:03 +00:00
reboot Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
restore Removed all vestiges of KerberosIV. 2003-05-01 21:18:36 +00:00
route There is an undocument feature that ``route -vnd flush'' prints 2003-04-16 12:06:53 +00:00
routed Note that gated is a commercial routing product now, and remove 2003-05-04 06:13:25 +00:00
rtsol Default to WARNS=2. 2001-12-04 02:19:58 +00:00
savecore Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
setkey Use NI_xxx macros. 2003-04-16 09:53:29 +00:00
shutdown Centralize _PATH_* definitions. 2003-05-05 22:49:23 +00:00
slattach Change this: 2003-01-08 06:43:27 +00:00
spppcontrol Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
startslip Centralize _PATH_* definitions. 2003-05-05 22:49:23 +00:00
sunlabel Fix the misspelling of DPADD, then fix "make checkdpadd". 2003-05-03 19:49:05 +00:00
swapon Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
sysctl This file does not seem to serve any purpose. It has never been hooked up 2003-04-28 00:38:48 +00:00
tunefs Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
umount Bump the date for recent commits. 2003-04-07 22:58:35 +00:00
vinum vinum_read: Don't lock configuration from userland. If vinum(8) 2003-05-08 00:33:57 +00:00
Makefile Compile bsdlabel on all platforms. 2003-05-05 21:28:08 +00:00
Makefile.inc Default to WARNS=2. 2001-12-04 02:19:58 +00:00