Commit Graph

3626 Commits

Author SHA1 Message Date
wiz 05be367d55 Add description for -l, from dump(8).
Addresses PR 26066 by Kouichirou Hiratsuka.
2004-07-13 17:08:50 +00:00
wiz af679c56e7 Bump date for previous; new sentence, new line;
sort list of ports where fdisk is available.
2004-07-13 13:38:39 +00:00
darcy e3937fb4c5 Add note top man page explaining that fdisk is not used on all platforms
and list the ones that is is.

Partial fix to PR#25943
2004-07-13 10:45:49 +00:00
mycroft fc82ea195f PR 9431: if rnh_addradd() fails, total_routes will be wrong. 2004-07-06 23:36:24 +00:00
mycroft 1e7044a4ca The change in revision 1.38 (in 1997!) was wrong. If we don't want the kernel
to automatically bring up interfaces, then we should move that code into
ifconfig(8) and out of the kernel, not cycle the interface up and down.  Fixes
PR 9400 -- ifconfig(8) was not working as documented.
2004-07-06 23:26:31 +00:00
wiz e770b57941 Improve description of -b and -m. 2004-07-06 16:51:18 +00:00
wiz 05d7d5d421 Document -m. It was already there, only commented out.
Bump date.

Addresses PR 26067 by Kouichirou Hiratsuka.
2004-07-06 16:49:10 +00:00
wiz de7136f83b usage: -F was missing the /mask part. Based on PR 26063
by Kouichirou Hiratsuka.
2004-07-06 16:43:18 +00:00
wiz f534f0c332 Add -b and -N to usage. Use getprogname.
From Kouichirou Hiratsuka in PR 26064.
2004-07-06 16:39:37 +00:00
elric 04b4d00046 Add options to SYNOPSIS.
Addresses PR misc/26065.
2004-07-04 17:19:57 +00:00
christos d12d56b3d9 PR/26101: Dheeraj: WSKBDIO_GETSCROLL: Operation not supported by device
should not be fatal.
2004-06-28 20:01:33 +00:00
nathanw fa3249e24a Remove an extraneous comment before main() that seems to have been
accidentally cut-and-pasted in with rev 1.30.
2004-06-28 19:27:06 +00:00
jkunz 93856baf4d Add hp700 MD options for proper boot code handling. 2004-06-28 18:21:43 +00:00
itohy 8e9e692241 Fix typos in comment. 2004-06-27 02:09:47 +00:00
wiz 0747ba10a5 Add -a to usage. Closes PR 25916 by Kouichirou Hiratsuka. 2004-06-25 14:50:15 +00:00
wiz 3ca6cf36ec Sync usage with reality. Closes PR 25915 by Kouichirou Hiratsuka. 2004-06-25 14:48:01 +00:00
wiz 32815bb2ee Sort options; bump date. 2004-06-25 14:46:47 +00:00
wiz 95ffcf3187 Minimally document -d; addresses second part of
PR 25914 by Kouichirou Hiratsuka.
2004-06-25 14:44:40 +00:00
wiz c0575451ea Remove last traces of -c, for which the code was removed
last summer; addresses part of PR 25914 by Kouichirou Hiratsuka.
2004-06-25 14:44:16 +00:00
wiz 50cae2d624 Remove removed options from usage. From Kouichirou Hiratsuka in PR 25874. 2004-06-25 14:35:29 +00:00
wiz b4778d6de7 Sync usage with man page (add -w name+=value).
Closes PR 25876 by Kouichirou Hiratsuka.
2004-06-25 14:33:48 +00:00
enami 4a723d4f79 A variable referenced isn't `write only'.
Wrap long line and fix some indent while here.
2004-06-24 03:13:00 +00:00
abs cb52ff7f22 Fix some interesting disklabel lossage:
If the input to 'disklabel' (non -i) referenced a partition two or more
larger than that permitted by npartitions it would error out with 'bad
partition name' (and the option given to re-edit if -e). If a partition one
larger was used it would be dropped from the disklabel with a warning and the
label written anyway! The (off by one) check for a bad partition name was
against npartitions anyway, rather than MAXPARTITIONS. npartitions was just
read from the disklabel and could have been set to an arbitrary value.

Given 'disklabel -i' sets npartitions automatically, make the normal case
check partition names against MAXPARTITIONS, and if necessary increase
npartitions to the size needed to hold the last partition used.

While here remove two 'write only' uses of a 'part' variable.
2004-06-22 18:32:45 +00:00
itojun ad399b67b8 PF from openbsd 3.5
massage pfctl to compile/run on netbsd.  put reachover makefile for pfctl
into src/sbin.
reviewed by matt, perry, christos
2004-06-22 15:16:29 +00:00
jmc b2f782612f Completely rework how tools/compat is done. Purge all uses/references to
_NETBSD_SOURCE as this makes cross building from older/newer versions of
NetBSD harder, not easier (and also makes the resulting tools 'different')

Wrap all required code with the inclusion of nbtool_config.h, attempt to
only use POSIX code in all places (or when reasonable test w. configure and
provide definitions: ala u_int, etc).

Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86
NetBSD current (x86 and amd64) and Solaris 9.

Fixes PR's: PR#17762 PR#25944
2004-06-20 22:20:14 +00:00
christos 4ac79ef5f7 We only need sys/sysctl.h when we are building on NetBSD not as a host tool. 2004-06-17 23:15:07 +00:00
dsl 0ec7914f6a Document 'mknod -l' (list drivers in kernel), and use of driver name
instead of major number.
(all done using sysctl kern.drivers)
2004-06-17 21:30:14 +00:00
dsl 62be2f7f79 Add support for specifying drivers by name and listing the drivers in the
current kernel.
Man page update in progress.
2004-06-17 21:09:01 +00:00
mycroft b98bb8c608 Use pread()/pwrite(). 2004-06-12 01:35:46 +00:00
uebayasi 7714269d97 Fix SEE ALSO; remove .sp; put .Pp before sentences. 2004-06-10 14:13:36 +00:00
itojun fd9a3b1704 correct mistake in usage(). Chris Pinnock 2004-06-09 01:59:20 +00:00
cjep 9c1d6b6c10 Put -T in usage output. PR#25875 from Kouichirou Hiratsuka. 2004-06-08 19:25:16 +00:00
wiz 16ae99405d Drop trailing whitespace. 2004-06-08 15:53:05 +00:00
cjep 946cf9f356 Add options for swapon in the Synopsis section. Closes PR#25866 from
Kouichirou Hiratsuka.
2004-06-08 08:16:11 +00:00
cjep 7ef0be1b58 Fix usage string (i.e. add information about -z). Fixes PR#25865 from
Kouichirou Hiratsuka.
2004-06-08 08:13:16 +00:00
cjep 721eb939af add -h option in synopsis. Fixes PR#25863 from Kouichirou Hiratsuka. 2004-06-08 08:05:30 +00:00
christos e53725b6b7 clear_session_logs is not needed when we are small. 2004-06-06 01:42:20 +00:00
christos 67ec024858 If scrolling support is not compiled in the kernel, fail gracefully. 2004-06-03 19:18:41 +00:00
fair 0b112129b9 Correct a misnumbering of options, as noted in PR 25784. 2004-06-02 19:27:24 +00:00
fair 76b92d1ae9 Increase the SCSI command timeout for device start & stop from 10
to 30 seconds, per PR 25734. I've seen this problem myself. I think
that scsictl should:

1. accept a timeout flag/parameter to set the timeout to an arbitrary
value other than the default.

2. support a verbose mode that would report the timeout value before
the command is started, and then report how long the command actually
took to complete, though I suppose the latter could also be done
by using time(1).
2004-06-01 02:40:00 +00:00
christos 798847428e PR/19925: David Ferlier: add scrolling support to wscons 2004-05-28 21:44:15 +00:00
snj 0e4b8938d9 Bump date for last. Put the exit EXIT STATUS section in the right place.
New sentence, new line.  Correct two typos.
2004-05-28 20:46:52 +00:00
erh 932a41d42e Make it possible to distinguish between exit values that indicate errors,
and those that are warnings.  Document the exit statuses in the man page.
2004-05-28 17:46:49 +00:00
hannken 8c21bc6224 Add ffs internal snapshots. Written by Marshall Kirk McKusick for FreeBSD.
- Not enabled by default. Needs kernel option FFS_SNAPSHOT.
- Change parameters of ffs_blkfree.
- Let the copy-on-write functions return an error so spec_strategy
    may fail if the copy-on-write fails.
- Change genfs_*lock*() to use vp->v_vnlock instead of &vp->v_lock.
- Add flag B_METAONLY to VOP_BALLOC to return indirect block buffer.
- Add a function ffs_checkfreefile needed for snapshot creation.
- Add special handling of snapshot files:
    Snapshots may not be opened for writing and the attributes are read-only.
    Use the mtime as the time this snapshot was taken.
    Deny mtime updates for snapshot files.
- Add function transferlockers to transfer any waiting processes from
  one lock to another.
- Add vfsop VFS_SNAPSHOT to take a snapshot and make it accessible through
  a vnode.
- Add snapshot support to ls, fsck_ffs and dump.

Welcome to 2.0F.

Approved by: Jason R. Thorpe <thorpej@netbsd.org>
2004-05-25 14:54:55 +00:00
wiz 894fc3b8de Use Dq instead of quotes; bump date for previous. 2004-05-24 00:08:04 +00:00
oster 1c6a30a0b2 Update docs to reflect the support for the word "absent" in the "disks"
section of RAID config files.
2004-05-22 20:58:04 +00:00
dyoung 87598533f6 Insert missing space so fdisk prints "primary partition table
invalid, no magic in sector 0", not "primarypartition ...".
2004-05-19 07:36:14 +00:00
wiz a63a57aa28 Remove unimplemented and undescribed -p option from usage and man page
SYNOPSIS. Noted by Jeff Ito.
2004-05-17 15:38:20 +00:00
wiz 9b2142b96c Add commas in enumeration; bump date for previous. 2004-05-16 10:27:16 +00:00
dsl 9debb4b795 Add i386 to the list of systems that support booting from raid1.
RAID(4) also needs changing - if someone knows where the source is....
2004-05-15 21:46:54 +00:00