Commit Graph

3164 Commits

Author SHA1 Message Date
petrov
552633af59 Fix format string. (no % in PRIx..). 2003-05-08 18:39:09 +00:00
christos
0c737a5345 /sbin/wizd points out that it is CYGWIN not GYGWIN. 2003-05-08 14:47:19 +00:00
christos
96618476db deal with cygwin's dev_t (John Gordon) 2003-05-08 13:29:39 +00:00
lukem
670700cfd8 2.0, not 1.7 2003-05-08 11:36:28 +00:00
dsl
4f32e6a229 Add -g gid -m mode -u uid so that MAKEDEV can run when chown/chmod are
not available.
Add -r and -R to do two (different) sensible things if node exists.
From a discussion with Lukem.
2003-05-08 11:34:19 +00:00
lukem
2ac07ea296 Move major_netbsd(), minor_netbsd(), and makedev_netbsd() from
pack_dev.c to pack_dev.h, so that #include-rs of the latter can use them.
2003-05-08 09:38:03 +00:00
fair
baafa0e128 Add some mdoc macros. Add text from PR 13878, modified. 2003-05-07 05:19:44 +00:00
wiz
b6bcb58a8b Bump date for last. 2003-05-06 08:23:57 +00:00
wiz
c94730c38a MBR, not mbr. 2003-05-06 07:56:03 +00:00
yamt
93fa2d7018 remove _KERNEL hack. 2003-05-05 13:23:10 +00:00
jmmv
6c34824459 Explicitly close open file descriptor before exiting. 2003-05-04 11:54:59 +00:00
christos
e6cde3e511 print masks and modes in octal. 2003-05-03 15:37:07 +00:00
gmcgarry
534f9a7a52 Document -I option. From Richard Rauch <rauch@math.rice.edu>
in PR#11890.
2003-05-02 08:09:35 +00:00
atatat
3685b7582e Convert to using gettimeofday(2) instead of time(3) to get the current
time, and stuff as much precision as possible into as many places as
possible.  This includes setting the atime, mtime, and ctime on inode
#2 of a freshly created file system, and the birthtime on a new ffs2
filesystem.

Previously these would all be left at zero, and since the birthtime
only gets set when the inode is allocated (and since inode #2 never
gets recycled), inode #2 would always have a birthtime of the epoch.
2003-05-02 03:26:11 +00:00
dsl
5e53f766f8 Change a couple of .Em to .Ar 2003-05-01 13:36:25 +00:00
wiz
0682f1a427 Replace some raw roff with mdoc. 2003-05-01 13:01:17 +00:00
wiz
0d14e41651 Improve formatting for [/bootmenu], requested by dsl; add some commas. 2003-05-01 12:55:52 +00:00
fvdl
617c9472c7 Fix byteswapping issues in dirindir(); mostly from Enami Tsugutomo. 2003-05-01 11:29:55 +00:00
fvdl
161b371dad Swap the right disk block in mapdirs() for the UFS1 case. From Enami. 2003-05-01 10:59:20 +00:00
dsl
315515ebe4 a mbr -> an mbr 2003-05-01 10:43:58 +00:00
wiz
c662d486a9 mdoc fix, use \*[Lt]/\*[Gt], sort SEE ALSO, some other nits. 2003-05-01 10:43:14 +00:00
wiz
b3d7fe267b Drop trailing space. 2003-05-01 09:50:12 +00:00
bjh21
b2fbd85bee Remove some unused variabled from get_params_to_use() in the !i386 && !amd64
case.
2003-05-01 09:23:30 +00:00
dsl
93174a8c33 Update to match new mbr code 2003-05-01 08:40:17 +00:00
dsl
c5bd7c9dfd i386/amd64 mbr is now built in sys/arch/i386/stand/mbr 2003-04-30 19:50:42 +00:00
dsl
8defedc8ba Don't descend into mbr_bootsel.
i386/and64 mbr code is built in arch i386/stand/mbr
2003-04-30 19:49:01 +00:00
dsl
fa01152676 Rototilled fdisk that supports:
- editing of the extended partition list
- user friendly default start/size for new partitions
- partition start/size input in sectors, cylinders or MB
- bootsel menu names configured with paritition bounds
- partition update loop asks used which partition to change
  (instead of asking about each partition in turn).
- detection (and erroring) of overlapped partitions.
- automatic installation of correct mbr_xxx code (after prompting user)
2003-04-30 19:47:10 +00:00
dsl
6ac09f276d Move some definitions from fdisk.c to disklabel_mbr.h so they don't have
to be duplicated elsewhere (eg in mbr.S).
Modify fdisk.c so that it builds with the new disklabel.h
2003-04-30 10:29:51 +00:00
wiz
57af6bd854 Remove superfluous +. From FUKAUMI Naoki in PR 21390. 2003-04-29 16:39:00 +00:00
fvdl
043f21d9ea x86_64 -> amd64 2003-04-26 19:14:17 +00:00
fvdl
0945a6df17 x86_64 -> amd64 2003-04-26 19:02:50 +00:00
jdolecek
eb4e67de4b don't compile this -static, depend on MKDYNAMICROOT check in ../Makefile.inc
for that
2003-04-26 12:46:35 +00:00
bouyer
e43e53604e Add a findblk command, which list the inode(s) owning the disk sector(s)
passed as argument.
2003-04-26 08:42:49 +00:00
ragge
46943c2cf6 Try first to use /dev/ksyms to get kernel symbols, if that fails mutter a
bit and fallback to the old way.
2003-04-24 20:18:31 +00:00
fvdl
fe36fefa1a Oops. The clearinode macro had the UFS2 case reversed, causing it to
zero out two inodes in the plain FFS case, since UFS2 dinodes are
twice as big.
2003-04-24 20:08:25 +00:00
wiz
287057db85 Bump date for last. 2003-04-24 12:19:06 +00:00
perry
b23b1bcc57 Document what happens when you don't have any dependency lines in a
file, and downgrade "must" to "should" in a couple of places.
Answers a documentation complaint from Jeremy C. Reed in PR misc/21251
2003-04-24 03:15:45 +00:00
jrf
6867af7aad This addresses PR 17613 when certain methods of adding routes would
muck up the routing tables. The patch was submitted by Quentin Garnier
<netbsd@quatriemek.com> and tweaked a little after it was reviewed
by Christos Zoulas <christos@netbsd.org>. Final change/commit approved
by Christos.
2003-04-21 13:42:50 +00:00
itojun
16435cdb98 strcpy/sprintf cleanup. from openbsd 2003-04-21 08:54:42 +00:00
dbj
2e6348f3d8 add a SIGINFO handler progress indicator 2003-04-21 07:58:55 +00:00
christos
336e3096f2 PR/5680: Markus Illenseer: Mounting and using broken mfs results into kernel
panic
Fixed by checking two return cases from alloc() that were not checked before.
2003-04-20 19:55:33 +00:00
christos
c1c48aec57 PR/5544: Anders Magnusson: Init segfaults when hupped in single user.
- fix so that session_db is not de-referenced when null, and other
  possible null pointer dereferences.
- ignore hup and tstp in single user mode.
2003-04-20 17:16:31 +00:00
tls
539a3fbb0a The sysctl returning the amount of memory in the system returns "int",
which is silly.  Luckily, it really does return the correct result if
interpreted as an unsigned int.  This change lets dump work on 32-bit
systems that have more than 2GB of RAM.
2003-04-19 23:29:12 +00:00
christos
7e60cdc11e add tcp.ident. 2003-04-19 21:55:48 +00:00
wiz
dab156a456 This command is not normally executed at boot time.
Closes PR 21225 by Aidan Kehoe.
2003-04-18 14:53:50 +00:00
thorpej
817eb1cb2e We need -I., too. 2003-04-17 22:12:50 +00:00
fvdl
9f959f87e7 Call MAKEDEV with "init" 2003-04-17 18:04:47 +00:00
fvdl
38f661d48d -I. -> -I${.CURDIR} 2003-04-17 10:55:43 +00:00
lukem
85828b646a clear errno before strto(u)l() if we're going to test it for ERANGE afterwards 2003-04-17 04:01:56 +00:00
wiz
472351e13d Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
2003-04-16 13:34:34 +00:00