mycroft
89e1507edb
Add a reference to fsirand(8).
1998-05-07 03:40:48 +00:00
mycroft
72a3da3933
copyback_cg() tried to copy too much if the cylinder group info was smaller
...
than 8k. From PR 5404.
1998-05-06 02:45:09 +00:00
ross
d90f43feb2
Rewrite options and fstype handling for upgrade mounts.
1998-05-06 02:36:35 +00:00
fair
42aff08cb4
fix a bad .Xr
1998-04-29 19:25:25 +00:00
fair
3d7afc6d03
fix bad .Xr references
1998-04-29 09:49:10 +00:00
fair
dc026e0515
Change occurrences of "UNIX" to .Ux or .At as appropriate.
1998-04-28 06:00:51 +00:00
fair
c46ab392dc
Principally, change foo(N) to .Xr foo N
...
Also, do some other mdoc tagging.
1998-04-28 04:07:04 +00:00
fair
01a274e0ea
Clarify the documentation of the "-B" option, inspired by PR#5262.
...
Contrary to the PR, the "-B" option does work, but not on all platforms.
1998-04-27 21:03:08 +00:00
bouyer
d90a3686d5
PR bin/5346 from haszlaki@UAccess.NET:
...
After parsing the entries from /etc/dumpdates, remember ou entrie, in order
to print the date after /etc/dumpdates has been rewritten.
1998-04-22 08:55:18 +00:00
fair
9fc45baff5
Changes to implement "-R" (raw) option to umount, per PR#4030.
1998-04-17 01:19:42 +00:00
kleink
6913d5696a
Take into consideration that icmp_nextmtu is stored in network byte order;
...
from Leonard Samuelson in PR bin/5230.
1998-04-16 09:02:56 +00:00
kleink
f0d4c4d645
No need to include <sys/socketvar.h>.
1998-04-01 16:27:05 +00:00
kleink
9fb8efd1b8
Need <time.h> for time() prototype.
1998-04-01 16:24:34 +00:00
kleink
d3989dbe02
Need <time.h> for ctime() prototype.
1998-04-01 16:21:47 +00:00
kleink
0cadc2826a
Need <time.h> for time(), localtime() and ctime() prototypes.
1998-04-01 16:15:40 +00:00
kleink
22821b35cd
Need <time.h> for ctime() prototype.
1998-04-01 16:08:26 +00:00
kleink
a82d8663e7
Need <time.h> for mktime() prototype.
1998-04-01 16:04:21 +00:00
kleink
38103c73ff
Need <time.h> for time() prototype.
1998-04-01 15:55:43 +00:00
kleink
3072a632c5
Need <time.h> for ctime() and time() prototypes.
1998-04-01 15:38:58 +00:00
kleink
31e5ddfa12
Need <time.h> for time() prototype.
1998-04-01 15:28:12 +00:00
kleink
8bb2a03bf3
Need <time.h> for ctime() prototype.
1998-04-01 15:26:00 +00:00
kleink
0369f1ec1a
Need <time.h> for time() prototype.
1998-04-01 15:24:12 +00:00
kleink
4212e56453
Need <time.h> for ctime() and time() prototypes.
1998-04-01 15:22:57 +00:00
kleink
b5d46707c3
No need to include <sys/socketvar.h>.
1998-04-01 15:20:25 +00:00
kleink
ed110b2e5e
Need <time.h> for ctime(), time(), localtime() and mktime() prototypes.
1998-04-01 15:17:31 +00:00
kleink
13f28a764f
Need <time.h> for time() and ctime() prototypes.
1998-04-01 15:15:58 +00:00
kleink
7dac38df65
Need <time.h> for time() prototype.
1998-04-01 15:14:25 +00:00
mrg
da05df7daf
use static int, not just static
1998-03-30 02:15:27 +00:00
mrg
6ea8e66d96
add noreturn attribute, and fix the return value of main.
1998-03-30 02:15:16 +00:00
mrg
35297f04fc
use static int, not just static
1998-03-30 02:13:35 +00:00
mrg
8578360272
use extern int over extern
1998-03-30 02:07:59 +00:00
mrg
c6f31851ad
use <errno.h>
1998-03-30 01:54:40 +00:00
thorpej
88bcefdcce
Need <string.h> for memcpy() prototype.
1998-03-26 06:00:34 +00:00
cgd
4cc8220755
when reading the MBR, seek to DOSBBSECTOR * DEV_BSIZE rather than just
...
DOSBBSECTOR. DOSBBSECTOR is 0 so it doesn't really matter, but the former
is what was really intended.
1998-03-26 01:37:49 +00:00
cgd
55060d037f
in makebootarea() (if NUMBOOT is nonzero), before reading the contents
...
of the old boot area so that 'disklabel -r -w' won't clobber anything,
be sure to seek to the offset of the boot area (like readlabel() does).
Otherwise, if the machine has code which looks up machine-dependent label
bits, the offset read from will be incorrect, and disklabel will end up
secretly replacing the boot area with other data (which probably doesn't
look like a boot block). The only port this currently affects is
NetBSD/arm32, because it's the only one of the three ports that use
NUMBOOT > 0 that has MD label grovelling code.
1998-03-26 01:35:17 +00:00
cgd
d9199d66b6
factor out some more common bits into 'confirm', and make it a bit more
...
bullet-proof. also, make the arm32 #ifdefs a bit more consistent with
the i386 #ifdefs (without actually changing the behaviour of the code).
1998-03-25 00:03:19 +00:00
cgd
9b9f17c131
use warnx when warning about an old BSD partition ID (i386 MBR code),
...
since err/warn seem to be used consistently throughout the code, rather
than fprintf.
1998-03-24 23:47:28 +00:00
cgd
eae9f47f62
KNF arm32-specific label-grovelling code. Also, clean up error messages
...
(errx instead of err, kill bogus newlines, make error messages look more
"normal").
1998-03-24 23:45:31 +00:00
fair
32a679e7b7
add -D (no detach) option, per PR#4810
1998-03-23 05:00:15 +00:00
fair
782eb42847
add the ability to run SLIP with CLOCAL set, per PR#3586
1998-03-23 04:41:16 +00:00
bouyer
8e1f7e498a
Add support for non-native byteorder FFS.
1998-03-18 17:19:14 +00:00
bouyer
d1c8f32096
Update for new headers.
1998-03-18 17:18:21 +00:00
bouyer
3f0a6fcc9b
Update for new headers.
1998-03-18 17:11:34 +00:00
bouyer
15c41b2f72
Allow creation of non-native byteorder FFS (via the '-B' option).
1998-03-18 17:10:15 +00:00
bouyer
c0892a3052
Add support for non-native byteorder FFS.
1998-03-18 17:07:14 +00:00
bouyer
aca8393893
This is now in libutil.
1998-03-18 17:03:30 +00:00
bouyer
6fe0568e9e
Add support for non-native byteorder FFS.
1998-03-18 17:03:15 +00:00
bouyer
9aaa32d9a7
Add support for non-native byteorder FFS, and converting byteorder.
...
Also, be a bit more conservative with the clean flag: don't mark the FS
clean when we know there may still be errors (user anserwed 'n' to
a question, or fsck says "you must rerun fsck").
1998-03-18 17:01:23 +00:00
bouyer
9e33c5ee0d
Use libutil rather than ../fsck/bswap.c
1998-03-18 16:57:31 +00:00
bouyer
34ccbd430c
Add support for non-native byte order FFS. The dump is in filesystem byte
...
order, restore already knows how to byteswap dumps.
1998-03-18 16:54:56 +00:00