fredb
680ae8dc03
Sync with raid(4) regarding the architectures that support booting directly
...
from RAID 1, using language supplied by Anders Dinson in PR bin/29158, with
some additions by myself.
2005-01-31 16:42:15 +00:00
he
66369741ef
Move local variable declaration to variable declaration section at
...
top of function, and at least away from after active code within
a block. Fixes build problem with gcc 2 (for vax).
2005-01-31 14:18:08 +00:00
joff
9ff2922f8d
o Add missing SGI wskbd type
...
o Add new MATRIXKP wskbd type
2005-01-31 06:24:08 +00:00
erh
fdd16c549b
Fix PR#3617 and PR#3205: call realpath to convert mount points and paths to
...
device nodes into absolute paths before using them.
2005-01-31 05:19:18 +00:00
erh
897e5cc524
PR #28644 : Use realpath to make mount more forgiving of non-canonical
...
mount paths entered on the command line.
2005-01-31 02:32:35 +00:00
erh
a432762d9a
Fix PR#3205 for the -a case: when the list of mount points comes from the
...
kernel, always use "raw" mode (-R option) so unmounting odd mount points works.
Also, fix available options in SMALL mode to include -R, not -r.
2005-01-31 01:19:30 +00:00
yamt
389f0f7cb8
note that loopback mount is a bad idea.
2005-01-21 15:49:43 +00:00
wiz
d68085a6b6
"-offset indent" is fine for option lists -- re-add it,
...
backing out previous. jmmv does not disagree.
2005-01-21 10:40:01 +00:00
xtraeme
76500fc2f9
WARNS=2 is the default defined in sbin/Makefile.inc. (thanks wiz)
2005-01-20 16:39:22 +00:00
xtraeme
843cdb1983
Fix the cast for the getnameinfo() call in the status() function, which
...
should be "const struct" not "struct" for sockaddr.
WARNS=3
2005-01-20 16:16:10 +00:00
xtraeme
6b01b69054
Remove main() prototype; WARNS=3
2005-01-20 16:02:32 +00:00
xtraeme
784c275927
Remove main() prototype; WARNS=2
2005-01-20 16:01:02 +00:00
xtraeme
d40da986ee
Kill __P(), ANSIfy, remove main() prototype; WARNS=2
2005-01-20 15:59:40 +00:00
xtraeme
7b1148bc92
ANSIfy; WARNS=3
2005-01-20 15:56:30 +00:00
xtraeme
a448b41c5a
Remove main() prototype; WARNS=2
2005-01-20 15:55:01 +00:00
xtraeme
6d580415e4
ANSIfy; WARNS=3
2005-01-20 15:53:35 +00:00
xtraeme
ad7c30a166
WARNS=2
2005-01-20 15:52:09 +00:00
xtraeme
10928b7240
Kill __P(), ANSIfy, remove main() prototype; WARNS=3
2005-01-20 15:50:47 +00:00
xtraeme
e3529b263e
Kill __P(), ANSIfy, remove main() prototype; WARNS=2
2005-01-20 15:49:24 +00:00
xtraeme
7fb01f0f08
Remove main() prototype; WARNS=3
2005-01-20 15:47:51 +00:00
xtraeme
743ce43fbc
Kill __P(), remove main() prototype; WARNS=2
2005-01-20 15:36:02 +00:00
xtraeme
e3c8f73b9a
whitespace (pointed out by wiz@)
2005-01-20 15:29:40 +00:00
xtraeme
d9f85c2154
Kill __P(), ANSIfy, remove main() prototype; WARNS=3
2005-01-19 20:48:13 +00:00
xtraeme
2b44291ffe
Remove main() prototype.
2005-01-19 20:46:16 +00:00
xtraeme
8b90e8f10f
Remove main() prototype; WARNS=2
2005-01-19 20:43:06 +00:00
xtraeme
61d594f024
Kill __P(); WARNS=2
2005-01-19 20:42:04 +00:00
xtraeme
844f4c525d
Kill __P(), ANSIfy, remove main() prototype; WARNS=2
2005-01-19 20:37:52 +00:00
xtraeme
d4a0de51f8
Kill __P(), ANSIfy, remove main() prototype; WARNS=2
2005-01-19 20:19:04 +00:00
xtraeme
65e67723b5
Kill __P(), ANSIfy, remove main() prototype.
2005-01-19 20:00:45 +00:00
xtraeme
0f821b7962
ANSIfy, WARNS=2
2005-01-19 19:41:59 +00:00
xtraeme
ccde05f070
Kill __P(), ANSIfy, remove main() prototype; WARNS=2
2005-01-19 19:31:28 +00:00
xtraeme
665b6c1237
Add 'P' (progress meter flag) to getopt()'s optstring, remove
...
main() prototype.
2005-01-19 17:48:15 +00:00
xtraeme
52781d1897
Kill __P(), ANSIfy and WARNS=2
2005-01-19 17:33:58 +00:00
wiz
442b6cb908
Add -P to usage.
2005-01-19 16:42:14 +00:00
wiz
b15d62ff8b
Sort options. Bump date for -P. Remove superfluous -.
2005-01-19 16:41:04 +00:00
wiz
0826288907
Sync usage with reality.
2005-01-19 16:38:28 +00:00
wiz
9817d5f00a
Sort options.
2005-01-19 16:13:57 +00:00
dogcow
72e5ae587b
Add missing SMART attribute (6, Read channel margin)
2005-01-17 13:00:32 +00:00
christos
5f101a4767
When we run with 'fsck -f -n' we should go over all the filesystems, not
...
exit on the first one that fails. Add a new flag CHECK_NOFIX so that we
specify -n, we keep going.
2005-01-13 22:56:09 +00:00
christos
d90f13b3bf
Use -DPROGRESS to enable the progress bar, don't depend on SMALL.
2005-01-13 19:56:02 +00:00
christos
a73c2bd574
Add a progress meter to fsck_ffs based on the work by thorpej presented
...
to the mailing lists last January. This is optional.
2005-01-13 15:22:35 +00:00
jmmv
35495e3550
Remove extra indentation from the options list.
2005-01-13 13:21:24 +00:00
lukem
4dba64f5d3
Revert previous revert; we don't need RESCUEDIR handling here now
...
<bsd.prog.mk> has it.
2005-01-13 03:21:59 +00:00
drochner
bad8321653
apply "& WDOG_MODE_MASK" at some places, fixes termination of the
...
usermode tickler process and watchdog display,
make error handling more reasonable in case a wdog disappeared
2005-01-12 16:18:39 +00:00
simonb
3f75969658
Add (unsigned char) casts to is{digit,lower,space,upper} calls.
2005-01-12 09:04:53 +00:00
wiz
da2ab5ca28
Sort options in usage.
2005-01-11 11:30:19 +00:00
wiz
5bd1d870f9
Sort options. Fix a typo. Bump date for -e/-t.
2005-01-11 11:29:22 +00:00
wiz
36cdbd4840
Bump date for recent changes.
2005-01-11 09:39:12 +00:00
lukem
04eb493802
support RESCUEDIR (for mount_nfs and umount)
2005-01-10 20:53:48 +00:00
lukem
33349ca906
Revert previous; init(8) still needs special case handling for RESCUEDIR
...
otherwise the path to mount_mfs(8) and the standard $PATH will be wrong...
2005-01-10 10:59:49 +00:00
lukem
7157011597
Only compile in IPv6 support if ${USE_INET6} != "no"
...
MKINET6 is for providing IPv6 infrastructure.
USE_INET6 is for compiling IPv6 support into the programs (needs MKINET6).
2005-01-10 02:58:58 +00:00
lukem
8929bce61d
remove unnecessary comment
2005-01-10 02:53:39 +00:00
smb
ddd2ade252
Add a software watchdog timer facility. Because this slightly
...
changes the "tickle" model of wdogctl(8), it was modified as well;
while I was in there, I cleaned up the argument parsing.
The code was reviewed by simonb@.
2005-01-09 22:51:32 +00:00
fredb
57aad81b8e
Make a judicious choice as to whether to apply the permissions
...
of the root inode of the dump to the current working directory,
rather than interrogate the user. Closes PR bin/24690. Reviewed
by bouyer, tron, imp.
2005-01-08 14:30:39 +00:00
wiz
38b227d18c
New sentence, new line. Simplify macro usage.
2005-01-07 02:13:13 +00:00
ginsbach
661eb28d4c
Add command to read the defect data from a direct access device.
2005-01-07 02:08:34 +00:00
wiz
709d468844
Remove unnecessary dot, and bump date for new SEE ALSO section.
2005-01-06 15:28:13 +00:00
hubertf
149b104c3b
Add SEE ALSO section pointing at the scripts to create signatures
...
XXX they should be installed as veriexec_gen_* IMHO,
XXX not dwell in /usr/share/examples
2005-01-06 00:33:54 +00:00
elric
0664f91dd8
s/milliseconds/microseconds/ in comments and a variable because it is
...
misleading to say one when we've been meaning the other.
2005-01-04 04:55:18 +00:00
elric
1b0f3868f6
Fix comment. We're using microseconds not milliseconds.
2005-01-04 04:52:50 +00:00
elric
d28b037b6f
Fix bits vs. bytes problem in call to calibration routine.
2005-01-04 04:50:26 +00:00
christos
4eb7659c2c
PR/28782: OBATA Akio: Document that kern.rtc_offset is writable.
2004-12-26 16:57:09 +00:00
dyoung
9f2359d605
ifconfig -v prints 802.11 statistics. ifconfig -v prints and zeroes
...
802.11 statistics.
2004-12-20 23:04:55 +00:00
hubertf
0f0617751e
Add comment that there are strings attached to the fish. Beware!
...
(Source: http://www.livejournal.com/community/unixhistory/1808.html )
2004-12-20 10:28:47 +00:00
atatat
2971543eb5
Pass dynamic buffer pointer to display_string(), not static buffer
...
pointer. Causes...misfunction if the kernel says the buffer needs to
be too much larger.
2004-12-17 05:03:03 +00:00
snj
654ad24a7f
New sentence, new line, Xref fsck(8), use Dq.
2004-12-08 01:22:00 +00:00
jdolecek
19d91c00f9
document reload option, description shamelessly stolen off ffs_reload()
...
comment
2004-12-07 21:38:58 +00:00
christos
43b36b3a81
Add a missing =
2004-11-27 05:52:16 +00:00
wiz
055a617415
Remove "CFLAGS+=-g".
2004-11-25 14:10:28 +00:00
christos
f11900e378
Add arguments for ptyfs: slave tty group and mode, so we don't have to
...
hard-code them in the kernel.
2004-11-24 22:13:08 +00:00
wiz
7bed7b9328
New sentence, new line.
2004-11-22 12:22:45 +00:00
jdolecek
c22d8df64f
update for UTF-8 encoding of Unicode file names on Joliet filesystems
2004-11-21 23:06:23 +00:00
jdolecek
a9ebca7170
add vfs.cd9660.utf8_joliet, and couple other vfs.* entries while here
...
bump date and add TNF copyright
2004-11-21 22:18:10 +00:00
jmmv
95579e29b6
Minor grammar improvements.
2004-11-21 09:09:46 +00:00
wiz
7913b43af5
Fix typo in error message, reported by Nicolas Joly in PR 28347.
2004-11-18 12:00:18 +00:00
hubertf
33c4eac6f2
Remove (wrong?) default for minfree, xref newfs.8 instead.
...
Suggested by Ignatios.
2004-11-18 00:11:48 +00:00
fvdl
08d19d088d
* don't swap the WDSMART_CYL value, it isn't needed
...
* swap the 16- and 32 bit fields of the SMART structures (where used)
Makes SMART commands work on big-endian systems.
2004-11-17 15:40:50 +00:00
itojun
b95181fc9b
NI_WITHSCOPEID was not picked up by IETF standardization process.
2004-11-16 05:59:32 +00:00
christos
fdad6cabc9
Use the 1st element's size as the argument to bsearch.
2004-11-15 21:59:23 +00:00
he
5cdd904c9b
Add a cast to unsigned char when using a ctype function/macro.
2004-11-15 12:21:29 +00:00
christos
88825a8a55
Use ptype table from <sys/bootblock.h>
2004-11-12 16:57:46 +00:00
hubertf
531272da6c
Translate an error message from C to english.
...
Before: disklabel: warning, partition g: offset % cylinder-size != 0
After: disklabel: warning, partition g: not starting on cylinder boundary
2004-11-12 01:00:40 +00:00
dsl
9d819ed558
Functions for converting media types to/from text are now in libutil.
2004-11-11 20:37:18 +00:00
jdolecek
e8950fdc08
add -I${NETBSDSRCDIR}/sys into CPPFLAGS, so that this picks up necessary
...
kernel includes without need to have them installed
2004-11-11 19:10:16 +00:00
christos
d7f4671483
Add a license; thanks manu.
2004-11-11 13:42:55 +00:00
wiz
8d811eccec
Nit fixes.
2004-11-11 13:20:42 +00:00
yamt
096fec04a9
move pf reachover makefiles into usr.sbin/pf. ok'ed by itojun.
...
before:
sbin/pfctl
usr.sbin/authpf
usr.sbin/spamdb
libexec/ftp-proxy
libexec/spamd
libexec/spamd-setup
libexec/spamlogd
after:
usr.sbin/pf/pfctl
usr.sbin/pf/authpf
usr.sbin/pf/spamdb
usr.sbin/pf/ftp-proxy
usr.sbin/pf/spamd
usr.sbin/pf/spamd-setup
usr.sbin/pf/spamlogd
2004-11-11 11:54:51 +00:00
christos
0edc1994f6
add mount_ptyfs
2004-11-11 01:55:27 +00:00
christos
1bd4f21d5a
Add userland glue for ptyfs.
2004-11-11 01:42:17 +00:00
christos
88ddc79ebd
Add 0xBF for Solaris. From Larry Lee <lclee at west.sun.com>
2004-11-10 02:39:48 +00:00
dsl
1869f0e146
Add (unsigned char) cast to ctype functions
2004-11-05 21:56:01 +00:00
dsl
404e35b651
Add (unsigned char) cast to ctype function, reworked to fit on one line
2004-10-29 19:32:22 +00:00
dsl
91d3fe12d9
Add (unsigned char) cast to ctype function
2004-10-29 19:15:20 +00:00
dsl
9ab983c04a
Add (unsigned char) cast to ctype function
2004-10-29 19:04:39 +00:00
dsl
09993d7a4e
Rewrite getdisklabelpart() to avoid problems with isdigit(*ch_ptr) and
...
an incorrect check for a (probably impossible) empty string.
Add comments to avoid confusion...
2004-10-29 19:02:17 +00:00
dsl
e6bc82d904
Add (unsigned char) cast to ctype function
...
Fix check for device name ending in [0-9a-h] (strchr(dev, 0) doesn't ever
return NULL - which is fortunate because the () were wrong as well!)
2004-10-29 17:37:30 +00:00
dsl
4b6e82d128
Add (unsigned char) cast to isdigit call
2004-10-28 20:17:19 +00:00
dsl
57030cf931
More isdigit() calls that need (unsigned char) cast
2004-10-28 20:10:29 +00:00
dsl
750ce43a65
Add (unsigned char) to isdigit() call
2004-10-28 19:59:09 +00:00
dsl
25b17683bd
Add (unsigned char) to isdigit() calls
2004-10-28 19:48:41 +00:00