Commit Graph

2916 Commits

Author SHA1 Message Date
dbj 3f75e3780c check that a disklabel is valid before trying to extract partition
information from it when checking for apple ufs filesystems
2002-11-05 05:18:50 +00:00
simonb f8c2d639ce When printing out nodes of type "string", don't print anything if
sysctl() reports that 0 bytes were returned.

Reported by Matt Green with "sysctl hw.disknames" on a system with no
disks.
2002-11-03 07:06:06 +00:00
wiz 05f5fc3aaf Lots of cleanup. 2002-10-29 14:11:06 +00:00
blymn 7f84eccbb6 Added fingerprint loader tool for verified exec. 2002-10-29 13:58:01 +00:00
elric ae48183d48 bugfix: was still pulling random bits from /dev/random when generating
a paramsfile of type randomkey which does not need them.  Pointed out
by dan@netbsd.org.
2002-10-28 05:46:01 +00:00
jdolecek f5b83162de change description of -w option to match reality
this fixes bin/12113 by Jim Bernard and bin/16011 by gabriel rosenkoetter
2002-10-26 12:06:04 +00:00
itojun 3772e08b03 be more picky about numeric arg parsing. sync w/kame 2002-10-25 02:20:37 +00:00
rtr 1031fab56c Removed "disklabel -I [-r] [-C] disk" from SYNOPSIS.
The code does not permit usage of the -I flag without either -e or -i.
2002-10-21 15:54:51 +00:00
enami 7409653fdf When printing filesystem specific parameters, also print the address and
port of server numerically.
2002-10-21 03:58:07 +00:00
wiz 82196526d4 New sentence, new line in last. Bump date for last. 2002-10-18 22:44:42 +00:00
atatat f232e00070 Add "-b bootstr" for shutdown to pass to reboot(8), so that shutdown
(which runs rc.shutdown, which might do stuff like, say, save your
ipnat or ipf state for restoration on reboot) can tell machines (sparc
and sun3 machines presently) how to boot.
2002-10-18 20:35:36 +00:00
itojun e33246f5c7 correct prefixlen handling for IPv4. 2002-10-18 00:21:23 +00:00
itojun 3c30f46849 Make prefixlen check to make sure its argument is present before deref
from openbsd
2002-10-18 00:16:25 +00:00
elric b66bf7b197 At the suggestion of wiz@, we remove the lines that mention that the
lack of the feature added earlier today was a bug.
2002-10-13 01:30:29 +00:00
wiz 13338324bd Remove some unnecessary ``\&''. Add an 'n' between an 'a' and an 'A'. 2002-10-12 22:42:52 +00:00
elric 87a5815bdf Add documentation for verification methods. Specify defaults for IV
method, keygen method and verification method.
2002-10-12 21:10:31 +00:00
elric 1242e52a64 Add the concept of a verification method which allows cgdconfig(8)
to reprompt for the passphrase if the key does not meet certain
criteria.  The currently implemented methods are ``none'' and
``disklabel''.  The first behaves in the original fashion, the
second will scan for a disklabel on the cgd after configuration
and if it does not find a disklabel then it will reprompt for the
password and reconfigure the disk.
2002-10-12 21:02:18 +00:00
elric 13daed40b1 Small usage enhancement: open the cgd before prompting for the passphrase
so that errors can be reported w/o asking for the passphrase unnec.
2002-10-12 15:56:26 +00:00
simonb da75d51b40 Add support for using an optional linker script (/usr/lkm/ldscript if
found, and overridable by the -T option).
2002-10-10 01:57:10 +00:00
soren d7a359db41 Add missing \n in error. 2002-10-08 20:17:06 +00:00
jdarrow 7e912cff61 Make the -l flage more useful, by actually printing the systype number
alongside the sysid string (instead of just the array index of the
struct part_type they are found in).

Now fdisk -l shows the familiar 169 for NetBSD, 165 for FreeBSD or
386BSD or old NetBSD, and other possibly-familiar (131 for Linux native,
015 for Ext. Partition - LBA) values in with their correct numbers.
2002-10-08 07:38:47 +00:00
simonb 99f05800ca Use "type *" instead of "type*". 2002-10-07 02:33:55 +00:00
wiz 4685690c6e Begin new sentence in upper case. 2002-10-07 00:12:40 +00:00
simonb c3bdd6ef09 ANSIfy, KNF, declare externs in headers only. 2002-10-06 13:23:00 +00:00
grant 50d461a007 cgdconfig first appeared in NetBSD 1.7 (for now). 2002-10-05 15:56:12 +00:00
grant eb011f0be5 New sentence, new line. Some mdoc cleanup, other minor nits. 2002-10-05 15:45:52 +00:00
dan 2f159ed1a4 note some other caveats and uses 2002-10-05 00:34:35 +00:00
dan e78f44e000 channelling wiz 2002-10-04 23:47:03 +00:00
elric 64cc840ce1 include cgdconfig(8) in the build. 2002-10-04 18:41:48 +00:00
elric 49ec72f444 Initial checkin of cgdconfig(8), a program to configure a cgd. 2002-10-04 18:37:19 +00:00
simonb d9e49feb59 White space nit. 2002-10-04 13:19:05 +00:00
wiz 09cbac4e7f New sentence, new line. From Robert Elz. 2002-10-03 15:41:44 +00:00
wiz 74347b5249 partition, not parition (by Adrian Mrva). file system instead of filesystem. 2002-10-02 11:05:56 +00:00
wiz 56accd8baf Replace some \*[Lt]...\*[Gt] with .Aq ... 2002-10-01 14:57:46 +00:00
wiz e9af08e68c New sentence, new line. Use some more mdoc. 2002-10-01 14:53:58 +00:00
wiz 90158afe92 Sort options. Fix grammar. Use more mdoc. 2002-10-01 14:39:51 +00:00
wiz bde30ece9d Use more mdoc. 2002-10-01 14:36:21 +00:00
wiz b08dad00b7 Use An, Aq for author markup. 2002-10-01 14:23:38 +00:00
wiz 1233505082 Use more markup. 2002-10-01 14:20:26 +00:00
wiz 5964b80cf8 Use more markup. 2002-10-01 13:52:49 +00:00
wiz b3000c7d7c Use .Fl t instead of \fI-t\fP. 2002-10-01 13:49:15 +00:00
wiz 2fb4b1db52 New sentence, new line. By Robert Elz with minimal fixes. 2002-10-01 13:40:23 +00:00
itojun 8a0d796998 minor KNF 2002-10-01 09:20:35 +00:00
jdolecek d1bc9949f9 update incorrect comment - getmntopts.c _is_ used by mount(8) 2002-10-01 08:56:40 +00:00
itojun d72e601340 KNF 2002-10-01 03:08:56 +00:00
lukem 19eb88dfa1 Add fix from FreeBSD traverse.c 1.16:
Files in subdirectories of directories that have the nodump flag set
	are sometimes incorrectly being dumped.

	The problem arises because the subdirectory only gets its entry
	cleared from usedinomap if it is also present in dumpinomap, and it is
	the absence of a directory in usedinomap that internally indicates
	that the directory is under the effects of UF_NODUMP (either directly
	or inherited).

	FreeBSD PR: 32414
	Submitted by:   David C Lawrence <tale@dd.org>
2002-09-30 10:48:49 +00:00
grant 00377ec504 New sentence, new line. 2002-09-30 07:37:09 +00:00
onoe e70c67bb57 Fix the option name 'channel' to 'chan' to be consistent with the source.
Add documents for '-chan' to unset the desired channel to associate.
2002-09-30 05:42:59 +00:00
onoe 4b4c894d3f Hide bssid/chan for 802.11 if not specified nor not associated.
Allow "-chan" to allow any channel to associate, it doesn't affect
create channel for IBSS/AP mode.
2002-09-30 05:38:13 +00:00
dbj 43395bd5a8 Add support for the Apple UFS variation on ffs
This is the bulk of PR #17345

The general approach is to use a run time deteriminable value
for DIRBLKSIZ.  Additional allowances are included for using
MAXSYMLINKLEN with FS_42INODEFMT and a shift in the cylinder group
cluster summary count array.  Support is added for managing
the Apple UFS volume label.
2002-09-28 20:11:05 +00:00