NetBSD/sbin
ghudson 9b746f76a4 Add code to look at the existing partition entries to deduce the
translated geometry of the disk.  This code will only change the
disk geometry if it can find a geometry which is consistent with
all partition entries, so it's very conservative about choosing
a new disk geometry.  Under some circumstances, it will choose a
number of cylinders which is a little lower than it needs to be,
but this code is enough so that you can create new partitions
with the correct physical addresses.

The right solution to this problem is to have the boot loader
communicate the BIOS geometry of each disk to the kernel, in a
manner similar to the symbol table, and then provide a kernel
interface to get at that information.  I'm unfortunately not
really qualified to make such a change, and I want something
that works better than the status quo.
1995-10-04 23:11:19 +00:00
..
badsect convert to new RCS Id conventions; reduce my headache 1995-03-18 14:54:19 +00:00
bim Changed to write the first 1k bytes that includes the disklabel and 1995-09-28 07:08:49 +00:00
ccdconfig Fix up a printf(), from Chris P. Ross. 1995-08-23 01:06:59 +00:00
clri convert to new RCS Id conventions; reduce my headache 1995-03-18 14:54:19 +00:00
disklabel sys/errno.h -> errno.h 1995-06-26 23:17:26 +00:00
dmesg convert to new RCS Id conventions; reduce my headache 1995-03-18 14:54:19 +00:00
dump update for posixified stat structure 1995-06-18 21:35:33 +00:00
dumpfs Print out the `clean' field. 1995-04-12 21:23:24 +00:00
dumplfs typeof(timeval.tv_sec) != time_t 1995-06-07 17:14:21 +00:00
fastboot slightly clean rcs ids, etc. 1995-04-23 10:33:03 +00:00
fdisk Add code to look at the existing partition entries to deduce the 1995-10-04 23:11:19 +00:00
fsck recognize 'ffs' and 'ufs' as meaning the same thing. 1995-07-12 03:39:53 +00:00
fsck_ffs recognize 'ffs' and 'ufs' as meaning the same thing. 1995-07-12 03:39:53 +00:00
ifconfig Use inet_aton(), not inet_addr(). Suggested by John Hawkinson. 1995-05-19 20:17:16 +00:00
init sys_siglist[] -> strsignal() 1995-05-28 05:25:34 +00:00
ldconfig Just use umask(0); 1995-08-25 11:35:35 +00:00
mknod Convert to use err(3) 1995-08-11 00:08:18 +00:00
modload <sys/errno.h> -> <errno.h> 1995-05-28 05:21:58 +00:00
modunload <sys/errno.h> -> <errno.h> 1995-05-28 05:21:58 +00:00
mount Call mount_ffs instead of mount_ufs; PR #1379 1995-08-22 19:58:33 +00:00
mount_ados convert to new RCS Id conventions; reduce my headache 1995-03-18 14:54:19 +00:00
mount_cd9660 slightly clean rcs ids, etc. 1995-04-23 10:33:03 +00:00
mount_fdesc slightly clean rcs ids, etc. 1995-04-23 10:33:03 +00:00
mount_ffs split FFS mount code out of mount(8). the correct way to name fast file 1995-07-12 03:46:47 +00:00
mount_kernfs convert to new RCS Id conventions; reduce my headache 1995-03-18 14:54:19 +00:00
mount_lfs convert to new RCS Id conventions; reduce my headache 1995-03-18 14:54:19 +00:00
mount_msdos convert to new RCS Id conventions; reduce my headache 1995-03-18 14:54:19 +00:00
mount_nfs Use inet_aton(), not inet_addr(). 1995-05-21 15:17:13 +00:00
mount_null clean up (GRAMMAR POLICE!), removed references to now-nonexistent 1995-07-12 07:08:27 +00:00
mount_portal Remove junk (from Masanobu Saitoh; PR#1378). 1995-08-18 15:01:19 +00:00
mount_procfs convert to new RCS Id conventions; reduce my headache 1995-03-18 14:54:19 +00:00
mount_umap fix array types to match what the file system wants. 1995-04-24 13:23:11 +00:00
mount_union Fixed example. The "-o -b" flags aren't needed unless the arguments 1995-09-29 06:44:02 +00:00
mountd add adosfs. 1995-08-19 16:08:05 +00:00
newfs Use sysctl() to determine maxpartitions. Fixes pr #970. 1995-06-28 02:21:02 +00:00
newlfs Use sysctl() to determine maxpartitions. Fixes pr #970. 1995-06-28 02:21:02 +00:00
nfsd <sys/syslog.h> -> <syslog.h> 1995-05-28 05:31:01 +00:00
nfsiod Prevent loop in SIGCHLD handler (Frank van der Linden; PR#1539). 1995-09-30 11:39:53 +00:00
nologin slightly clean rcs ids, etc. 1995-04-23 10:33:03 +00:00
ping Fix typo (from Mark Weaver PR#1556); 1995-10-02 19:47:11 +00:00
quotacheck convert to new RCS Id conventions; reduce my headache 1995-03-18 14:54:19 +00:00
reboot Add boot_sun3.8 1995-08-08 20:46:20 +00:00
restore stat structure POSIXification 1995-06-19 00:20:11 +00:00
route slightly clean rcs ids, etc. 1995-04-23 10:33:03 +00:00
routed RIP address families are still 2 bytes 1995-07-24 13:03:25 +00:00
savecore set dumpsize in dump_exists(), not save_core(), so that minfree check 1995-07-24 20:35:02 +00:00
shutdown convert to new RCS Id conventions; reduce my headache 1995-03-18 14:54:19 +00:00
slattach Use POSIX signals. 1995-03-21 18:48:41 +00:00
swapon Add missing commas (from Masanobu Saitoh; PR#1377). 1995-08-18 14:51:35 +00:00
ttyflags don't complain about errors opening 'on' ttys, if the error is ENXIO. 1995-08-13 05:24:03 +00:00
tunefs convert to new RCS Id conventions; reduce my headache 1995-03-18 14:54:19 +00:00
umount Fix the case where stat() fails, so that the file system is still unmounted. 1995-09-22 02:03:48 +00:00
Makefile Build ccdconfig. 1995-08-17 16:38:53 +00:00
Makefile.inc convert to new RCS Id conventions; reduce my headache 1995-03-18 14:54:19 +00:00