1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00
freebsd/sbin
Simon L. B. Nielsen aee85526aa - Fail with an understandable error message if we cannot detect the
sector size, instead of later failing with an error about /boot/mbr
  not being a multiple of the sector size (since we end up with an
  assumed sector size of MAX_SEC_SIZE * 2).
- We query the sector size via an IOCTL anyway, so if that succeeds
  use that instead of probing for it via read(2) calls.  This fixes
  the problem with fdisk failing to operate on at least graid3 and
  md(4) devices on kernels with src/sys/geom/geom_dev.c before
  rev. 1.90, due to fdisk failing to detect the sector size.
- When detecting the root device allow "/" characters in it, which
  happens with e.g. gmirror devices.

Reviewed by:	cperciva
MFC after:	1 week
2006-06-18 22:02:22 +00:00
..
adjkerntz Correct various mistakes in the last commit. 2006-05-13 11:58:58 +00:00
atacontrol Add new modes. 2006-03-15 19:32:43 +00:00
atm Use the C99 syntax for designated initialisers. 2005-08-05 07:33:50 +00:00
badsect Expand *n't contractions. 2005-02-13 22:25:33 +00:00
bsdlabel Explain why the first partition should start at offset 16. 2006-03-08 14:17:26 +00:00
camcontrol Markup fixes. 2005-06-14 11:24:56 +00:00
ccdconfig Fix markup and some typos. 2006-04-14 09:20:25 +00:00
clri Give variable an initial value. Use errx() instead of fprintf(). 2005-05-29 16:07:10 +00:00
comcontrol Sort sections. 2005-01-18 10:09:38 +00:00
conscontrol Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
devd o Yacc's lineno variable holds a total number of parsed lines. 2006-04-14 07:20:42 +00:00
devfs o Revert a previous delta as strlcpy(3) operates with NUL-terminated 2006-06-14 15:09:52 +00:00
dhclient Remove 'n' from the getopt string. There's no -n option that is 2006-05-23 16:57:47 +00:00
dmesg Avoid moving onto a new line while testing if there is a syslog priority 2006-02-27 19:13:47 +00:00
dump Dump keeps a bitmap of the state of various inodes, which is sized 2006-04-11 14:45:42 +00:00
dumpfs Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
dumpon With minidumps, the dumping partition could be smaller than physical 2006-04-27 19:01:54 +00:00
fdisk - Fail with an understandable error message if we cannot detect the 2006-06-18 22:02:22 +00:00
fdisk_pc98 o Bump date (thanks ru) 2006-02-26 17:45:35 +00:00
ffsinfo o Fix typo. 2006-06-11 15:53:36 +00:00
fsck Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
fsck_ffs Mention the default location of alternative super block on a 2005-09-20 08:02:38 +00:00
fsck_msdosfs Prefer the __printflike() macro to GCC's __attribute__ stuff. 2005-03-09 10:10:51 +00:00
fsdb o Implement findblk command: find the inode(s) owning the specified 2006-06-02 12:55:26 +00:00
fsirand
gbde Teach gbde(8) to use a key file in addition to a passphrase. This 2006-02-08 06:52:15 +00:00
geom Allow to use the old -a option to specify an encryption algorithm to use 2006-06-06 22:06:24 +00:00
ggate Fix a typo s/Made/Make. Use .Pp for a line break, it will quiet the 2006-06-10 09:45:26 +00:00
gpt -mdoc sweep. 2005-11-18 10:36:29 +00:00
growfs Don't define FS_DEBUG by default, as this causes growfs to write debugging 2005-03-31 04:10:31 +00:00
gvinum Implement the 'resetconfig' command. 2006-03-23 19:58:43 +00:00
idmapd Remove dead code. 2005-04-14 20:27:30 +00:00
ifconfig Print pfsync interface status if either syncpeer or syncdev is configured. 2006-06-06 11:21:08 +00:00
init Reparent the process that executes the window= command from the ttys 2006-06-08 14:04:36 +00:00
ipf fix style nit 2006-05-07 00:40:00 +00:00
ipfw Add support of 'tablearg' feature for: 2006-06-15 09:39:22 +00:00
kldconfig Fix malloc size (visible on amd64, with "kldconfig -r"). 2005-11-07 19:22:20 +00:00
kldload -mdoc sweep. 2005-11-18 10:36:29 +00:00
kldstat -mdoc sweep. 2005-11-18 10:36:29 +00:00
kldunload Bump a date in .Dd field. Last change brought some new functionality. 2006-02-27 22:48:58 +00:00
ldconfig Tweak -32 description and add -32 FILES. 2005-12-09 03:12:25 +00:00
mca s/Februari/February/. 2006-02-12 07:57:27 +00:00
md5 Fix an 11 year old mistake: Let the hash functions take a void* instead 2006-01-17 15:35:57 +00:00
mdconfig Make WITHOUT_DYNAMICROOT=foo work again: remember to reference 2006-04-01 16:34:45 +00:00
mdmfs Add new -E option, which allows to specify location of the mdconfig(8) 2006-02-16 21:28:54 +00:00
mknod Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
mksnap_ffs Make sure we don't pass garbage to the kernel. 2004-12-08 11:54:50 +00:00
mount Minor style tweaks while nearby. Namely ANSIfy and parens on return values. 2006-06-10 01:44:57 +00:00
mount_autofs spell "file system" correctly 2005-01-24 20:06:16 +00:00
mount_cd9660 Fixing multi-session disc mount by passing the correct "ssector" option 2005-12-19 05:52:37 +00:00
mount_ext2fs Garbage collect useless variables. 2005-08-05 07:39:39 +00:00
mount_hpfs Use MOPT_END in favor of MOPT_NULL, which better describes the purporse 2005-06-10 09:51:43 +00:00
mount_msdosfs mount_msdosfs.c: 2006-06-01 02:25:00 +00:00
mount_nfs Minor style(9) and KNF elimination as I prepare to fix a bug. 2006-03-20 21:28:46 +00:00
mount_nfs4 Use MOPT_END in favor of MOPT_NULL, which better describes the purporse 2005-06-10 09:51:43 +00:00
mount_ntfs Use MOPT_END in favor of MOPT_NULL, which better describes the purporse 2005-06-10 09:51:43 +00:00
mount_nullfs Add a missing .Pp call. 2006-04-19 19:21:42 +00:00
mount_reiserfs Increase WARNS level to 6. 2005-11-13 01:47:04 +00:00
mount_std Slight grammar fix. 2006-05-18 15:26:27 +00:00
mount_udf Use MOPT_END in favor of MOPT_NULL, which better describes the purporse 2005-06-10 09:51:43 +00:00
mount_umapfs Use MOPT_END in favor of MOPT_NULL, which better describes the purporse 2005-06-10 09:51:43 +00:00
mount_unionfs Use MOPT_END in favor of MOPT_NULL, which better describes the purporse 2005-06-10 09:51:43 +00:00
natd WARNS=6 and gcc4 cleanup: 2005-05-02 10:13:38 +00:00
newfs Don't treat failure to find the operator GID as a fatal error; this 2005-08-14 17:07:04 +00:00
newfs_msdos Expand *n't contractions. 2005-02-13 22:25:33 +00:00
nfsiod When accessing the sysctl vfs.nfs.iodmax, don't report errors as being 2005-04-07 20:37:04 +00:00
nos-tun Expand *n't contractions. 2005-02-13 22:25:33 +00:00
pfctl Add missing library dependencies. 2006-04-13 12:49:24 +00:00
pflogd
ping Add a new feature to ping(8) - possibility to specify maximum 2006-04-05 12:30:42 +00:00
ping6 Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
quotacheck Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
rcorder do_file() is called recursively from several places and cannot 2006-05-20 05:47:18 +00:00
reboot o Describe what actually boot(8) -m mutes. 2006-04-18 19:00:02 +00:00
recoverdisk Make recoverdisk compile on amd64 and possibly other 64bit archs. 2006-05-30 19:10:18 +00:00
restore Remove a diagnostic message that can't occur: we lost the ability to 2005-10-20 11:20:55 +00:00
route Document that -q option is also applicable to the "change" command. 2005-10-02 12:55:34 +00:00
routed o Remove rev. 1.14 debug printf(3) leftovers. 2005-12-20 18:18:37 +00:00
rtsol Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
savecore o Restore kerneldumpheader.architectureversion bytes swopping 2005-10-02 11:31:45 +00:00
sconfig Add support for Cronyx TAU-PCI/32 ce(4). 2006-01-30 21:08:30 +00:00
setkey Include other AES key lengths in the comment. 2006-05-13 09:13:58 +00:00
shutdown Use new style declarations instead of K&R ones. 2005-01-25 08:40:51 +00:00
slattach Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
spppcontrol Expand contractions. 2005-02-13 23:45:54 +00:00
startslip - Remove MLINKS to nonexistant manpages 2005-07-14 20:29:08 +00:00
sunlabel Fix grammar error caused by my previous edit. 2005-03-30 18:54:41 +00:00
swapon Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
sysctl Add -q to usage(). 2005-12-01 21:59:24 +00:00
tunefs Expand *n't contractions. 2005-02-13 22:25:33 +00:00
umount Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
Makefile Disconnect mount_reiserfs from build. 2006-05-16 22:12:55 +00:00
Makefile.inc Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00