Commit Graph

3182 Commits

Author SHA1 Message Date
wiz 617b132aac Spell output with two ts. 2003-01-04 23:43:02 +00:00
wiz 2208fe9813 Sort sections. 2003-01-02 10:32:01 +00:00
jschauma b49ef594e9 Fix tyops pointed out by Igor Sobrado in PR misc/19623:
mount_filecore(8) - frquently (frequently), upto (up to)
mount_nfs(8)      - NFSV3 (NFSv3), automaticly (automatically)
mount_ntfs(8)     - particularily (particularly), fisk (disk)
2003-01-01 21:22:50 +00:00
manu 41bfbd28fe On Darwin, mach_init is the system bootstrap process. It is responsible
for forking the traditional UNIX init(8) and it does the Mach port naming
service. We need mach_init for the naming service, but unfortunately, it
will only act as such if its PID is 1. We introduce a sysctl
(emul.darwin.init_pid) to fool a given process into thinking its PID is 1.
That way we can get mach_init into behaving as the name server.

Typical use:
/sbin/sysctl -w emul.darwin.init_pid=$$ ; exec /emul/darwin/sbin/mach_init
2002-12-24 12:15:45 +00:00
wiz cbd9802b91 Remove traces of old names (verifiedexec_load and /dev/verifiedexec). 2002-12-21 23:41:44 +00:00
wiz a054d0cce5 Add a BUGS section describing that async mounts are currently disabled,
and explaining the reason. From Julio Merino.
2002-12-21 20:33:35 +00:00
wiz 393a2f3aac dependent only has es, no as; from Adrian Mrva. 2002-12-21 12:50:54 +00:00
wiz b230951fd3 system with two ss, from Adrian Mrva. 2002-12-21 12:45:32 +00:00
wiz 5dd379b9d6 address has two ds, not three; from Adrian Mrva. 2002-12-21 12:43:07 +00:00
wiz a8abcee79e developed with one o only, from Adrian Mrva. 2002-12-21 12:41:58 +00:00
wiz 5fc05bb384 removable with only two es, from Adrian Mrva. 2002-12-21 12:27:14 +00:00
wiz 4afa55e863 Drop trailing whitespace. 2002-12-19 14:49:03 +00:00
lukem b57d4fa862 It's ipppctl not ipppcontrol ...
Also add synopsis for ipppctl.
2002-12-19 11:57:32 +00:00
wiz cb647c5704 Sort sections, new sentences begin on new lines, add a missing line,
fix a typo.
2002-12-18 19:20:05 +00:00
wiz 65bd87df00 Remove mention of update, per Kevin P. Neal in PR 19386. 2002-12-16 10:32:16 +00:00
scw 6054b38a2b Use getlabeloffset() instead of LABELOFFSET. 2002-12-12 11:40:17 +00:00
scw 1c4717cddb Use getlabel{sector,offset}() instead of LABEL{SECTOR,OFFSET}. 2002-12-12 11:34:46 +00:00
scw 992ae31275 Use getlabeloffset(3) instead of LABELOFFSET. 2002-12-12 11:06:12 +00:00
jdolecek 5fd22809a5 Add kern.forkfsleep sysctl - set/get time (in miliseconds) for which
process would be forced to sleep in fork() if it hits either global
or user maxproc limit. Default is zero (no forced sleep).
Maximum is 20 seconds.
2002-12-11 19:14:34 +00:00
fvdl 53d30b7a60 Handle MBRs for x86_64. 2002-12-11 14:28:46 +00:00
scw 39a5a9dc76 Add two sysctls: kern.labelsector and kern.labeloffset.
These are of use to userland code which previously depended on the
hard-coded values of LABELSECTOR and LABELOFFSET to figure out the
location of the disklabel for a particular platform.

With the introduction of umbrella ports such as evbarm, evbmips, etc,
the location of the disklabel may vary between kernels for the same
MACHINE. This sysctl will allow userland programs to remain independent
of the particular flavour of MACHINE in such cases.
2002-12-11 12:59:29 +00:00
thorpej e8cc3884de Rename __LDPGSZ to AOUT_LDPGSZ, to accurately reflect what it is. 2002-12-10 17:14:02 +00:00
itohy 32c9c7f1cc Add WSKBD_TYPE_MAPLE and WSMOUSE_TYPE_MAPLE for Dreamcast Maple bus devices. 2002-12-10 13:05:09 +00:00
thorpej 7ae2f112dd Need <stdlib.h> for exit() prototype. 2002-12-06 02:26:14 +00:00
thorpej 92896efa64 Avoid strict alias warnings. 2002-12-06 02:20:43 +00:00
thorpej 764e56a614 Remove prototype for non-existent function log(). 2002-12-06 02:20:00 +00:00
thorpej cd81fc31ea Avoid strict alias warnings. 2002-12-06 02:18:37 +00:00
jonb 8a96157b87 While cleaning up other places that invoked $EDITOR, noticed that
this one had all the infrastructure of fork/exec/wait, like the
others, but called system instead of exec creating an extra PID
and associated memory usage during the edit.
2002-12-05 22:59:25 +00:00
itojun 7955954132 correct the use of sizeof() on memset(). sync w/kame 2002-12-05 02:07:03 +00:00
elric 60e3448f30 Make iteration count for PKCS#5 settable in the parameters files. 2002-12-04 05:02:29 +00:00
agc 19cc8c4892 Fix compilation problems on non-i386. 2002-12-01 08:19:48 +00:00
fvdl f77d71f782 Enable bootselector code for x86_64.
XXX the ifdef-ed parts should be split off into a seperate file.
2002-11-30 13:47:19 +00:00
christos f93fe60ac0 sync with routed 2.27 2002-11-30 04:04:23 +00:00
lukem d348d3d723 tweaks for fparseln(3) move from libutil to libc:
- remove #include <util.h> if nothing else needed it
- remove LDFLAGS+=-lutil if nothing else needed it
2002-11-30 03:10:53 +00:00
enami 32d43b3252 Also, don't allocate string entries one by one. Instead, allocate one page
and divide it, to reduce memory usage.
2002-11-25 07:16:17 +00:00
fvdl 2ee89df87b Avoid format warning for off_t printf. 2002-11-24 21:49:15 +00:00
fvdl 304258c96f Compile mbr and mbr_bootsel on x86_64 2002-11-23 23:45:51 +00:00
blymn 9d90ef846f Renamed the verified exec fingerprint loader. 2002-11-23 10:53:55 +00:00
blymn 5447f70f9c Renamed verified exec fingerprint loader. 2002-11-23 10:52:49 +00:00
blymn e58c186212 Removed poorly named fingerprint loader utility for verified exec. 2002-11-23 10:51:03 +00:00
wiz b863b83c82 Add missing word. 2002-11-21 18:12:15 +00:00
lukem eeca0be61b use YHEADER instead of YFLAGS/CLEANFILES 2002-11-18 13:45:02 +00:00
rtr d64b3c2b83 Fix bug causing segmentation fault when no fs type specified 2002-11-18 05:48:00 +00:00
enami 34f6f0d4dc Typo in comment. 2002-11-18 04:38:43 +00:00
enami 89e4128421 Don't allocate struct entry one by one; it just wastes memory. 2002-11-18 04:28:03 +00:00
itojun c0ddbdedc2 verifiedexec_parse.h is machine-generated, and shouldn't be committed.
tsutsui
2002-11-17 13:57:38 +00:00
itojun e5964f595e use CFLAGS for -g (is it needed?) 2002-11-17 13:54:49 +00:00
itojun bc0b132907 should be safer to cast to u_long than to cast down to int 2002-11-17 04:49:18 +00:00
tsutsui b2c857ac58 Add a cast to sizeof in printf() arg since _BSD_SIZE_T is unsigned long
on some ports.
2002-11-17 04:44:42 +00:00
wiz a6e74f9b81 Remove trailing space. 2002-11-16 23:54:16 +00:00
oster 01b2347533 Catch up on some documentation stuff:
- add a note about adding 'swapoff=YES' to /etc/rc.conf
- add a note about not using raid0[cd] for a filesystem.
- filesystems -> file systems
2002-11-16 22:49:48 +00:00
oster c1058540a3 Cleanup and update usage(). 2002-11-16 17:22:36 +00:00
itojun ff4dc2f86d set sa_len right 2002-11-16 16:39:55 +00:00
itojun 75af200131 die if strdup fails 2002-11-16 16:02:03 +00:00
itojun 967caa5cd2 cleanup makefile - use correct CLEANFILES, LDSTATIC and stuff
XXX why -g by default?
2002-11-16 14:25:10 +00:00
itojun 94ccb14a99 use strlcpy. use sizeof() instead of xxLEN to avoid de-synchronization 2002-11-16 14:15:35 +00:00
itojun 949bb0438c use strlcpy. initialize sa_len correctly. 2002-11-16 14:09:16 +00:00
itojun 4606602797 use strlcpy. sync w/kame 2002-11-16 14:06:56 +00:00
itohy cbb1f0fb0f MKDYNAMICROOT for a.out 2002-11-12 14:33:48 +00:00
manu 99bc517790 Added sysctl to change all IRIX kernel values reported by uname and systeminfo:
OS name, hw name, kernel version, and so forth.
2002-11-09 09:03:56 +00:00
wiz d1a3cd19aa Sort SEE ALSO. 2002-11-07 12:45:35 +00:00
christos 0261b4559e PR/16688: Robert Elz: No way exists to use MNT_IGNORE (custom C code excepted) 2002-11-07 12:43:50 +00:00
thorpej 3d3807182d Skip empty sections. From Allen Briggs. 2002-11-07 05:55:08 +00:00
manu 9a4dfe85fa Added two sysctl-able flags: proc.curproc.stopfork and proc.curproc.stopexec
that can be used to block a process after fork(2) or exec(2) calls. The
new process is created in the SSTOP state and is never scheduled for running.

This feature is designed so that it is esay to attach the process using gdb
before it has done anything.

It works also with sproc, kthread_create, clone...
2002-11-07 00:22:28 +00:00
enami 09fa660ec0 Fix typo in error message. 2002-11-06 05:26:54 +00:00
enami 45fd33fa87 Fix typo. 2002-11-06 05:23:57 +00:00
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
dbj 8ccb247d47 add MBR_PTYPE_APPLEUFS of 0xa8
part of PR #17345
2002-09-28 00:56:25 +00:00
dbj a323eac318 add FS_APPLEUFS
part of PR #17345
2002-09-28 00:47:24 +00:00
dbj 209f5f57af tweak indentation on FS_JFS2 comment 2002-09-28 00:40:08 +00:00
dbj 7d4caebaf6 add DTYPE_JFS2 and FS_JFS2 for IBM Journaled File System
this is to match FreeBSD's disklabel.h revision 1.73
FreeBSD change was requested by Hiten Pandya <hiten@uk.FreeBSD.org>
2002-09-28 00:30:24 +00:00
wiz bd9e498edd mdoc nits. New sentence, new line. Remove a comment about tahoe. 2002-09-28 00:24:13 +00:00
dbj b64db12921 fix DTYPE_LD comment 2002-09-28 00:10:56 +00:00
dbj ba3c70eb8b add DTYPE_LD to match disklabel.h 2002-09-28 00:09:58 +00:00
dbj bfd495ea39 add partition type 0xaf for Apple HFS. 2002-09-27 23:19:56 +00:00
thorpej bb95e8cb62 Revert previous; the change that required it will be done differently. 2002-09-27 21:04:46 +00:00
drochner 335fd2d7c2 use humanize_number(3) for progress printout 2002-09-27 18:38:53 +00:00
thorpej 6a244932ed Only use the MKDYNAMICROOT semantics (i.e. -rpath=/lib,/usr/lib and
-dynamic-linker=/libexec/ld.elf_so) if the BINDIR of the program being
built is /bin or /sbin.

The reason we do this is because now all programs *except* those in
/bin and /sbin (i.e. the "special cases") match the default the compiler
uses, which is what is used for things in e.g. xsrc, pkgsrc, and other
random 3rd party programs.
2002-09-27 15:56:39 +00:00
petrov 1b08fb1305 Added debug command to support SCIOCDEBUG. 2002-09-26 06:15:38 +00:00
wiz 4016313db7 Grammar fixes. Bump Dd for recent additions. 2002-09-25 00:24:25 +00:00
itojun 5d481d0136 reduce diff w/ kame 2002-09-23 12:52:30 +00:00
enami a1f7b117b6 Cosmetic changes. 2002-09-23 03:39:41 +00:00
enami 0dbc7886c7 Properly terminate the output from mount -v. 2002-09-23 03:35:22 +00:00
thorpej c82ad7ea91 Add missing newline. 2002-09-23 00:10:28 +00:00
thorpej 3f89292591 New commands:
* bssid xx:xx:xx:xx:xx:xx -- set the desired BSSID of an 802.11
  interface.
* -bssid -- unset the desired BSSID of an 802.11 interface, so
  the interface will choose automatically (default).
* channel x -- set the channel (radio frequency) of an 802.11 interface.

Current BSSID and channel are now reported in the 802.11 status
display, if supported by the interface.

Above changes from David Young <dyoung@ojctech.com>, with some slight
changes by me (use ethers(3) functions rather than hand-parsing/printing
the 802.11 address).

Document bssid/-bssid/channel, and clean up markup of parentheticals
in the manual page.
2002-09-22 15:29:23 +00:00
christos b7d2f8ff04 make sure options is not NULL before we look in it. Thanks Charles. 2002-09-21 21:30:27 +00:00
christos 9f9ee29713 MNT_GETARGS support 2002-09-21 18:43:31 +00:00
mycroft c7d63f201b Touch up error/warning messages. 2002-09-21 18:33:51 +00:00
mycroft 75cf9dce87 select() -> poll() 2002-09-21 18:24:40 +00:00
christos 5b90483a76 use snprintb() 2002-09-20 21:21:53 +00:00
lha 4fa2032edc uppercase the lkm kernel-userspace dev macros and prefix them with LKM_
make modload print the bdev and cdev major when its a dev lkm
2002-09-18 22:59:36 +00:00
drochner b4f44c1118 print something sensible on -z if no dump device is set 2002-09-18 10:18:17 +00:00
lukem 0d1ba7e8a0 minor makefile delint 2002-09-18 06:38:50 +00:00
mycroft 654deed34e Allow the enable command if SMART is not enabled. Duh.
Also, just blindly allow the disable command.
2002-09-13 18:31:41 +00:00
gehenna b7c0e53f09 For loadable drivers, the 3rd argument is character device major and
the 4th argument is block device major.

Remove one item from BUGS section.
2002-09-13 15:32:21 +00:00
gehenna a5ac3deb40 Split the overload block/character device major.
The 3rd argument is character device major and
the 4th argument is block device major.
2002-09-13 15:30:36 +00:00
enami eb0197ee71 Fix unbalanced paren. 2002-09-09 03:01:26 +00:00
itojun 4df4d0a437 ansi pedantic. sync w/kame 2002-09-08 14:31:41 +00:00
thorpej 0683880e19 * Add "getcache" and "setcache" commands to get/set basic cache
parameters (enables, really).
* Fix an error in the manpage.
* Shuffle some code to group things together better.
2002-09-03 16:56:05 +00:00
martin 2a2b8d06ad Fix usage(). Noticed by itojun. 2002-09-01 11:28:07 +00:00
wiz 23e291b03a Grammar improvement. 2002-09-01 09:44:58 +00:00
martin 470a3cfc76 Add a "clear-auth-failure" command to reset the authentication failure
count without changing any (local) authentication settings.

Fixes kern/18071 ( without any kernel change ;-) )
2002-09-01 09:42:05 +00:00
taca 41ce843fd8 Remove extra tab in really an empty line. 2002-09-01 08:10:53 +00:00
ross 8473dbb8b4 xref ifconfig.if(5) 2002-09-01 03:05:34 +00:00
perseant d484b67904 Don't use adaptive measuring techniques to discover a good segment size,
if the device is not a character device (they will give bogus results
if they interact with the buffer cache).
2002-08-29 19:51:58 +00:00
lukem ed401558f2 Implement MKDYNAMICROOT, which currently defaults to "no", but will
be changed in the future to "yes".

If MKDYNAMICROOT == "no", there is no change from existing behaviour
of a static /bin and /sbin (and a few programs in elsewhere).

If MKDYNAMICROOT == "yes", the following changes occur:
    in <bsd.own.mk>:
	SHLIBDIR?=     /lib
	SHLINKDIR?=	/lib
    in various Makefiles, the following entry is DISABLED.
	LDSTATIC?=-static
This results in all programs (except those "standalone" programs built
in sys/arch/*/stand) are linked dynamically, the shared linker is moved
from /usr/libexec to /lib (with a compat symlink), and the shared
libraries used by /bin and /sbin programs are moved from /usr/lib to
/lib (with compat symlinks).
2002-08-27 14:46:11 +00:00
lukem 6aeb2c119f if RESCUEDIR is defined, use ${RESCUEDIR}/sh as _PATH_ALTSHELL 2002-08-24 01:05:14 +00:00
lukem 9f3703ab9a - use _PATH_ALTSHELL (which defaults to _PATH_BSHELL) as the default ALTSHELL
(as opposed to _PATH_BSHELL), to allow the ALTSHELL to be changed.
- print the full path to the default shell in the ALTSHELL prompt.
2002-08-24 01:02:51 +00:00
lukem a14ac7834b now that we have working rescue tools, there's no need to force
LDSTATIC=-static for init(8) on people who want LDSTATIC=""
2002-08-24 01:00:18 +00:00
lukem f8df88f111 if RESCUEDIR is defined, set _PATH_RESCUE to that 2002-08-23 03:19:07 +00:00
lukem 8f87d6469c if _PATH_RESCUE is defined, try that before _PATH_SBIN & _PATH_USRSBIN 2002-08-23 03:17:18 +00:00
dbj 6c9aa83c79 remove workaround for missing errno.h include 2002-08-22 22:38:05 +00:00
wiz 2ae3428010 Drop superfluous Ns. 2002-08-20 16:07:45 +00:00
wiz 803f71d406 Sort supported languages, and sync them with reality, as suggested by
Julio Merino in bin/17993, with a minor correction.
2002-08-19 18:27:31 +00:00
lukem 7360d7b6ae Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path 2002-08-19 10:16:51 +00:00
enami 43fe370014 Fix an argument to -width option of .Bl macro. 2002-08-19 01:54:58 +00:00
gmcgarry a104b7da81 Type 'network' was an alias for 'net' and was changed to "net" in
rev 1.5.  Remove duplicate.  Reported by Christian Biere in PR17976.
2002-08-18 23:45:48 +00:00
yamt 41d3da5939 save/restore errno in signal handlers. 2002-08-18 08:03:35 +00:00
itojun 27dfc9236f style (tab around $NetBSD$) 2002-08-16 23:54:52 +00:00
itojun 2abe377059 defend against malicious line in ut_line, which could cause unwanted
writes to anything under /dev.  revoke setuid/gid privs earlier.
From: xs@kittenz.org
2002-08-16 20:21:48 +00:00
soren 1f8cf74815 Typo. 2002-08-15 19:17:04 +00:00
mycroft b916651e58 Correct the check for whether SMART is enabled. 2002-08-15 18:57:51 +00:00
matt 0228ca2671 Add support for printing out messages about missing packet gaps. This is
done with the -v switch.  If -q is also given with -v, then only the
packet gap messages will be printed along with summary after each gap
message.
2002-08-12 18:24:53 +00:00
itojun dbf388bc4f calloc() arg mistake. it's (nelem, size). from openbsd 2002-08-12 02:40:20 +00:00
itojun e93a4e6b0f bitmask operation mistake audit (s/&&/&/). from openbsd 2002-08-08 15:10:51 +00:00
soren 236006d5dc Remove extraneous \n's in {err,warn}{,x} that used to be printfs. 2002-08-08 13:24:12 +00:00
soren 26bc587db9 Clean up printf->err conversions. 2002-08-08 13:19:18 +00:00
jwise ad8bd5db78 Fix mandoc glitch in description of `eui64' command. 2002-08-06 19:29:35 +00:00
soren 1cbfe6af00 Print symbolic names for SMART STATUS attributes. 2002-08-06 01:16:56 +00:00
wiz 7553d4030f Ispell. Drop .Pp before .Sh. 2002-08-06 00:44:36 +00:00
soren 1cc6ec32e5 s/smart info/smart status/ to better fit in with the standard's feature set. 2002-08-06 00:00:21 +00:00
soren 9e129fde67 Add ATA SMART reporting support from Ben Collver in kern/12787. 2002-08-05 23:29:27 +00:00
ross 08c3bcd192 shut up assembler warnings 2002-08-04 20:29:44 +00:00
ross 626a25bc13 deal with assembler warnings 2002-08-04 20:27:22 +00:00
wiz 42ec3bd114 Support wtmpx. 2002-08-02 15:05:57 +00:00
wiz d9deaad608 de__P(), ANSIfy. 2002-08-02 14:59:40 +00:00
christos 0f38e42a7a fix typos that prevented us from cleaning utmpx. Noted by wiz 2002-08-02 14:03:22 +00:00
scw 451eb422ae Fix dump_lfs build following recent utmp changes. 2002-08-02 12:29:36 +00:00
simonb 8cd68a2ff9 Setting BINMODE=555 is redundant, as is setting BIN{OWN,GRP} of we're
using the default BINMODE.
2002-08-02 03:58:09 +00:00
christos 8e5a0987a4 support utmpx 2002-08-02 02:07:09 +00:00
itojun f104c36660 u_short cleansing (use u_int16_t where appropriate) 2002-08-01 08:56:59 +00:00
wiz 92b80e91d7 Format the path to a file with .Pa. 2002-07-29 21:08:30 +00:00
thorpej 1384fef106 Note that not all watchdog timers can be disarmed once armed, and that
when such a case is encountered, an error message will be displayed and
the timer will remain armed if an attempt to disarm it is made.
2002-07-29 21:00:15 +00:00
manu 3966af389b Enable USE_MBR for all arm ports. 2002-07-28 15:17:38 +00:00
christos 06596adfbd add utmpx/wtmpx processing support. 2002-07-27 23:49:47 +00:00
manu 3f13baf349 Added fdisk on hpcarm 2002-07-26 17:22:51 +00:00
joda 72d8f527fb various spelling 2002-07-24 14:14:10 +00:00
grant 6742cb1812 sweep of errx/warnx, remove unnecessary trailing \n 2002-07-20 08:36:17 +00:00
tsutsui 4b541a44d0 Drop a trailing space in bootstr[] properly. 2002-07-20 06:44:45 +00:00
wiz 7b1f0f9426 Remove duplicate 'to'. From Ryo HAYASAKA in bin/17562. 2002-07-11 15:06:04 +00:00
wiz 1322c69689 Nit. 2002-07-09 22:51:13 +00:00
jdolecek 0fb4a207d2 This isn't i386 specific (also macppc) 2002-07-09 22:11:50 +00:00
dbj 913e76340c get pdisk compiling on macppc and mac68k 2002-07-09 05:57:32 +00:00
yamt e9ae5a9bbd add a new command, "keeplabel". 2002-07-01 18:49:57 +00:00
dbj c88ccea33d commit fix from pr bin/15449
this fixes FS_42POSTBLFMT compatibility
2002-06-30 22:57:30 +00:00
lukem 71764f4db5 KNF, remove unnecessary crap, ... 2002-06-30 14:17:44 +00:00
lukem 5f212d76c6 use strnode_add() to implement add_before() 2002-06-30 13:31:15 +00:00
grant 97a9e02381 disallow creation of partitions which start beyond (or extend beyond)
the end of the disk.
2002-06-29 15:24:03 +00:00
wiz 5081d82d22 Punctuation vs. markup nits, and use .Dq instead of double quotes. 2002-06-26 18:07:21 +00:00
mjacob 41194c0e70 Add a bunch of stuff from Bob Nestor that fixes format to allow one to
specify device logical blocksize.

Furthermore, it also adds an 'immediate' option, which then sends more modern
devices into formatting in the background. scsictl still waits around and
sends a TEST UNIT READY every 10 seconds and, based upon the sense data
it gets back after the invariable CHECK CONDITION, prints out a progress
indicator (based upon SKSV progress in the sense data).

While we're at it, add a 'tur', 'reserve', 'release', 'start' and 'stop'
functions to the device commands.

Fix a long standing bug in scsi_command- the value in retsts is an integral
value- not a bitmask.
2002-06-26 16:04:11 +00:00
jdolecek d1f10f9f74 Support 'dp' as mount option for 'sw' fstype, so it DTRT for entries like:
/dev/wd0b none swap sw,dp 0 0
2002-06-21 09:04:16 +00:00
itojun 53daf81056 correct usage (-n) 2002-06-21 07:48:53 +00:00
itojun a532d33818 USE_MBR on macppc too 2002-06-18 00:21:53 +00:00
itojun cd668e919e need disklabel_mbr.h for USE_MBR build 2002-06-18 00:19:27 +00:00
itojun 245453be61 mbr for FDISK-formatted macppc disk 2002-06-17 15:25:45 +00:00
itojun b11bd24490 fdisk is now useful for macppc, build it 2002-06-17 15:11:46 +00:00
wrstuden 0e65ecc5d2 Catch error code from mount command, and if it's the
error given when we ask for a v3 mount on a v2-only kernel,
*and* we weren't forcing v3, try the mount again as a v2 mount
before erroring out.
2002-06-16 02:27:31 +00:00
itojun e923169715 grab eui64 only from the same interface. 2002-06-14 09:12:08 +00:00
itojun 331dc975fb support "eui64" option (grab interface ID from link-local addr).
from: ww@styx.org
2002-06-14 09:01:59 +00:00
itojun 65eb0105f4 init variable before strtoul 2002-06-14 01:07:00 +00:00
itojun 5bcf2ac974 metric and mtu are u_long, not int. 2002-06-14 01:04:41 +00:00
wiz 3443a24794 Seems I was overzealous. Undo part of last, noted by grant. 2002-06-11 13:58:09 +00:00
wiz d354ad6e04 Fix copyright, and some minor mdoc improvements. 2002-06-11 13:45:35 +00:00
grant 39541f4926 add ccd.conf(5) 2002-06-11 13:33:48 +00:00
itojun d24b68cd4f permit DNS names to address portion. they will be considered as RTF_HOST
if specified as destination (as there's no getnetbyname in IPv6).
2002-06-10 21:18:53 +00:00
itojun 0dcc61701e now "ifconfig tunnel" is usable for gre too, change wording slightly 2002-06-09 17:47:33 +00:00
itojun a1662dac72 if we're unsure about prefixlen, don't say "128". 2002-06-05 22:11:28 +00:00
itojun 65829ef6aa more correct ion to RTF_HOST handling. 2002-06-05 22:10:44 +00:00
yamt 15da77e3d3 exit on EOF from stdin. 2002-06-05 12:19:23 +00:00
augustss 1225b61055 Make it possible to see \ in dmesg. 2002-06-05 06:31:21 +00:00
itojun fff7bbceef do not have -prefixlen 128 on RTF_HOST.
From: Dawid Szymanski <dawszy@arhea.net>
2002-06-04 22:20:00 +00:00
itojun d816e24b39 avoid fd_set overrun. 2002-05-31 22:10:18 +00:00
atatat 16790d2404 Add descriptions of the "self" symbolic link and the "maps" pseudo file.
Also note the kernel option that is required in order to get pathnames
with file backed entries in the "maps" pseudo file.
2002-05-31 16:48:28 +00:00
itojun b31318e482 KNF, from openbsd via kame 2002-05-31 10:22:11 +00:00
itojun 16e84a7542 clarify comment when nreceived > ntransmitted. from deraadt 2002-05-31 01:10:53 +00:00
itojun 08f5f94674 typo, from openbsd 2002-05-30 21:32:18 +00:00
thorpej 313148a4db Fix Missing %s in format string. 2002-05-30 17:02:17 +00:00
msaitoh 48b457ab6c document vfs.nfs.iothreads 2002-05-29 23:30:50 +00:00
cjs 9af8b52f66 When RPC fails, state explicitly which service we were trying to connect to. 2002-05-29 02:19:56 +00:00
itojun 256a128339 document net.inet6.ip6.maxfrags 2002-05-28 03:17:26 +00:00
drochner ec943f317b display / read the p_cdsession field in the FS_ISO9660 case 2002-05-27 17:33:08 +00:00
itojun 7f0c96b84b KNF. remove unused variable "signo". from deraadt 2002-05-26 13:21:01 +00:00
itojun e500a07555 no need for KAME_SCOPEID 2002-05-26 13:01:21 +00:00
itojun 6cad7e9bef s/IPSec/IPsec/ 2002-05-26 12:56:57 +00:00
itojun 9e3976cdf7 Xr ping6 8 -> Nm 2002-05-26 12:07:05 +00:00
wiz 07da92e69f Sort sections and a grammar fix. 2002-05-26 10:52:01 +00:00
itojun d265331969 sync with kame.
- use bind(2) to select source.
- KNF.
- -g option to specify intermediate gateway.
2002-05-26 05:46:24 +00:00
wiz c632c8bea4 __STDC__ is always defined on NetBSD. 2002-05-25 23:45:12 +00:00
matt 2ea027698b Add support to print interface counters (via SIOCGIFDATA) when the [new]
option -v is provided.
2002-05-23 21:38:01 +00:00
perseant de3d200cd0 Re-checksum the superblock whenever it is marked dirty.
Tested on alpha.
2002-05-23 04:05:11 +00:00
nathanw be856ef968 When attempting to guess the filesystem type from the disklabel, don't
consider a out-of-range partition letter at the end of the special
device node to be a fatal error; just return NULL and let the caller
fall back to FFS.

This fixes the "mount -u /kern/rootdev /" done by the script installer.

XXX this is still gross, and breaks things like
"mount /my/strange/dev/path/b /mnt". Perhaps it should stat the node
and use the minor number as an index instead?
2002-05-21 23:51:19 +00:00