Commit Graph

1802 Commits

Author SHA1 Message Date
itojun a6cfc0a168 note that ifconfig delete does not work for IPv6
this is intentional - IPv6 assumes multiple addresses on an interface,
and it is not very safe to "delete" arbitrary one.  -alias with
explicit IPv6 address works fine.
2000-01-31 18:02:01 +00:00
itojun 809b9a5822 add "nwid" directive.
XXX there are too many flags that are not listed in usage().
what should we do?
2000-01-31 17:22:28 +00:00
soda 6079ffd98c mention that hpcmips and arc use `d' as RAW_PART. 2000-01-31 16:02:43 +00:00
soda 3c7d51f177 - use MBR partition table also on arc.
- use defined(USE_MBR) instead of defined(__i386__), like hpcmips and arc.
2000-01-31 16:01:06 +00:00
soda 07a6bcdde4 Build fdisk also on arc 2000-01-31 15:54:48 +00:00
itojun 62e82d7e0c sync with latest libipsec and kernel. 2000-01-31 14:24:23 +00:00
bouyer 5db82fea81 Byteswap the group descriptors fields as well. Works again on big-endian
systems.
2000-01-31 11:40:12 +00:00
wiz 03df73abb2 reorder long descriptions for arguments to be in alphabetical order.
XXX: shouldn't 'enable' and 'disable' for -n be marked up in some way?
2000-01-28 19:51:34 +00:00
bouyer 54a73269c2 Updates for ext2fs revision 1. 2000-01-28 17:19:36 +00:00
bouyer 09d4663f6e Correct bogons in filetype option support, and add support for the
sparse_super option.
2000-01-28 16:01:46 +00:00
sommerfeld aace28c12e Fix PR9282: restore doesn't print dump header on dumps from host with
unset hostname.
2000-01-27 15:25:00 +00:00
bouyer 5fb6bc4e18 First cut at ext2fs rev 1 support (as of mke2fs 1.18): supports the filetype
option read/write and the sparse option read-only.
2000-01-26 16:21:31 +00:00
mycroft 3d237fafa8 Fix a buglet that caused media-specific options to *always* be printed, even if
they were not set.
2000-01-25 06:11:25 +00:00
thorpej 409e9f1b38 Fix a logic buglet in status printing code. 2000-01-25 02:16:57 +00:00
thorpej efe1032de0 - Print 802.11 status (i.e. network ID) after mtu, etc. but before
protcol addresses.
- When searching for status bits, use the currently selected media type,
  not the currently active media type.
2000-01-25 01:46:57 +00:00
thorpej 98ac9f3fdb Update copyright. 2000-01-25 01:03:21 +00:00
thorpej 4e10c0202f Make display of media status information (e.g. carrier, etc.) table-driven
and easily extensible (by merely adding to the tables in ifmedia.h).
2000-01-25 00:59:39 +00:00
chopps 2377e11b8d allow setting (and reporting) nwid for ieee 802.11 devices. 2000-01-24 23:24:16 +00:00
thorpej 9e4fad9efa Fix a bug in get_media_options() which wasn't caught with global options;
make sure we only return option bits.
2000-01-24 22:31:27 +00:00
wiz 78798f9991 it's -> its 2000-01-22 14:48:43 +00:00
tron c6a14eb15d Remove bogus declarations of "errno", "optind" and "optarg". 2000-01-22 10:01:41 +00:00
mycroft f5d7100e26 Nuke `extern int errno;' in code we compile with -Wstrict-prototypes. We get
the correct definition from errno.h.
2000-01-21 17:08:33 +00:00
wrstuden 01dd896ae9 Fix tyop pointed out by Simon Burge. Also expand description
a little, and change words to suggest overlay is a starting point for
layers which need to overlay the over-mounted fs.
2000-01-20 23:59:46 +00:00
perseant ad4e686817 Rename lfs_ifind so that it does not conflict with new kernel prototype.
Addresses PR #9253.
2000-01-20 21:32:31 +00:00
wrstuden 9f1512654d Add mount_overlay. 2000-01-20 19:22:08 +00:00
mycroft 3809e348e0 Fix data comparison to not overrun array bounds. 2000-01-20 01:04:41 +00:00
perseant 88d28e9b98 Fix frag -> fsize typo 2000-01-19 21:27:08 +00:00
perseant 43a7fde6d9 newfs_lfs now recognizes a zero p_sgs field to mean "use the default segment
size" (for consistency with bsize/fsize, and since segment size == block
size is never a valid combination).

Updated the man page to include explicit reasonable values for fsize, bsize,
and sgs, at suggestion from Hubert Feyrer.
2000-01-18 21:57:59 +00:00
perseant f1dfdc6927 disklabel now understands the p_sgs partition field (shift to compute
segment size from block size).

newfs_lfs now reads the disklabel to find segment, block, and fragment
sizes.  Because reading this info from the wrong fs type could result in
very poor fs layout (e.g. ffs has "16" where the segshift would go,
resulting in 512-*megabyte* segments for 8K blocks), newfs_lfs refuses
to create a filesystem on a partition not labeled "4.4LFS".

Man pages for newfs_lfs updated to reflect this change.
2000-01-18 00:02:28 +00:00
bgrayson 2a09ca64fd Added sysctl examples (read-only sysctls for now) 2000-01-17 07:22:45 +00:00
bgrayson 4760c9fa1b Fix bug where NULL pointer wasn't checked before dereferencing 2000-01-17 07:21:54 +00:00
bgrayson 417d43539a Remove unneeded syslog() at unmount 2000-01-17 07:21:25 +00:00
itojun fc838249f5 don't install /usr/sbin/sysctl (backward compat symlink) 2000-01-17 04:22:59 +00:00
itojun 3ea807c958 move sysctl to /sbin/sysctl. symlink from /usr/sbin/sysctl
is supplied for backward compatibility.

add /sbin/sysctl to base/mi (does not remove /usr/sbin/sysctl
as we have a symlink)
2000-01-17 02:36:31 +00:00
itojun 0af5938ca4 Moved from usr.sbin/sysctl/sysctl.c,v 2000-01-17 02:32:06 +00:00
itojun c71990b060 Moved from usr.sbin/sysctl/sysctl.8,v 2000-01-17 02:31:50 +00:00
itojun 7c02ef5347 Moved from usr.sbin/sysctl/pathconf.c,v 2000-01-17 02:31:14 +00:00
itojun 6b2ed69e4e Moved from usr.sbin/sysctl/Makefile,v 2000-01-17 02:30:18 +00:00
hubertf 5471344299 Document the proper fstype for LFS. (If the "default" 4.2BSD is used,
newfs_lfs runs fine, but I get hangs when writing to the disk)
2000-01-16 00:44:59 +00:00
bgrayson 0d39e62e79 Fix security problem noticed by Alaric Williams:
when giving up root credentials, I was setting the egid and euid,
  and forgot to also do gid and uid.
2000-01-15 06:21:40 +00:00
ad 902637d2e4 swapctl(SWAP_OFF, ...) now works. 2000-01-13 12:11:30 +00:00
joda 4aafeffb6f implement netmask slash notation for IP and IPv6 addresses 2000-01-12 10:29:35 +00:00
oster e5b5b86865 Nuke a debugging printf that I forgot to remove before last commit. 2000-01-09 03:06:35 +00:00
shin 8ceded3101 Add '-DSAVEBOOTAREA' to keep MBR partition information
when NetBSD partition starts at sector 0.
Closes PR:port-hpcmips/9146.
2000-01-09 02:45:43 +00:00
oster c714a07d22 - add '-v' (Verbose) option, which, most notably, provides
a spiffy lukemftp-inspired progress bar for parity re-writing,
reconstructs, copybacks, et al.

- make 'raidctl -P' wait until the parity has been updated before exiting
(it waited previously, but only because the parity re-write ioctl wouldn't
exit until the parity was successfully re-written)
2000-01-05 03:02:41 +00:00
itojun 1d4f533c98 avoid use of kvm, mostly for boot floppy's convenience.
(sync with latest kame)
1999-12-31 19:40:19 +00:00
drochner d2f02dc8e3 remove a leftover debug message 1999-12-21 16:54:16 +00:00
fair 35b8613acb change "millisecond" to "microsecond" for headswitch and track seek
comments, to resolve PR 8189. This makes the documentation for these
fields consistent. Not that it matters - a grep of syssrc shows that
these fields aren't actually used for anything and should probably be
GC'd.
1999-12-20 18:19:18 +00:00
jdolecek 685376cc7b Rework the manpage to be a bit more pleasing to read
BUGS section is gone, the facts are stated in the paragraph about
support for writing.
also note that NetBSD 1.5 is the first release supporting NTFS
1999-12-17 14:43:07 +00:00
abs dfa0f92f2e Use '$' instead of '-' to select remainder of disk interactively 1999-12-17 13:06:49 +00:00