Commit Graph

5414 Commits

Author SHA1 Message Date
pooka
e596efac61 Add -G to usage, omission pointed out by wiz. Also, make usage format
nicer on a 80col terminal.
2010-08-09 21:14:26 +00:00
wiz
ed08a55d5a Sort option descriptions. 2010-08-09 20:23:20 +00:00
pooka
f87f7774e0 Add -G, which turns consistency check errors in warnings. The
current testing purpose is to create a file system with
block size > MAXPHYS.

(the check doesn't make that much sense anyway in these days of
mobile file systems, since we're interested in MAXPHYS where we
attempt to mount the file system, not where we happen to create it)
2010-08-09 17:20:57 +00:00
pooka
83c92bb41d Make it possible to set the retry timeout as a compile-time define.
This is useful for automated environments where everything (rpcbind,
mountd, nfsd and the client) is started in parallel in a split
second and there is a small chance we will race in there before
everything has been communicated to rpcbind.
2010-07-23 19:25:23 +00:00
mrg
4c92852a80 remove almost all the ability to build netbsd with an a.out target.
we're ELF now, and there are many missing checks against OBJECT_FMT.
if we ever consider switching, the we can figure out what new ones
we need but for now it's just clutter.

this doesn't remove any of the support for exec_aout or any actually
required-for-boot a.out support, only the ability to build a netbsd
release in a.out format.  ie, most of this code has been dead for
over a decade.

i've tested builds on vax, amd64, i386, mac68k, macppc, sparc, atari,
amiga, shark, cats, dreamcast, landisk, mmeye and x68k.  this covers
the 5 MACHINE_ARCH's affected, and all the other arch code touched.
it also includes some actual run-time testing of sparc, i386 and
shark, and i performed binary comparison upon amiga and x68k as well.


some minor details relevant:
- move shlib.[ch] from ld.aout_so into ldconfig proper, and cut them
  down to only the parts ldconfig needs
- remove various unused source files
- switch amiga bootblocks to using elf2bb.h instead of aout2bb.h
2010-07-06 05:59:50 +00:00
dyoung
aa9db6efb2 Add to the string parse object (pstr), and its constructors, a flag that
tells whether it should detect and convert to binary a hexadecimal octet
string of the form 0x0123ABab, or leave those strings undecoded.

If the argument for a 'media', 'mediamode', 'mediaopt', '-mediaopt',
'nwkey', or 'bssid' keyword is a hexadecimal octet string, do not detect
and decode it.  (Note that setifnwkey decodes hexadecimal strings on its
own.)

This fixes a bug noticed by Jim Miller where the trailing zero-octets
were discarded from hexadecimal octet-string arguments for 'nwkey'.
2010-07-01 16:44:05 +00:00
dyoung
de51d12924 Apparently, -g belongs in the DBG variable, not in CFLAGS. Make it so
on a line that is commented-out in this makefile.
2010-07-01 16:28:21 +00:00
dyoung
83fdd687cf Change a > to a >= to avoid writing to the character after the end of
the buffer passed to get_string().
2010-07-01 16:12:23 +00:00
kefren
a7449c28c6 add MPLS clue - mpls and tag keywords 2010-06-26 14:29:36 +00:00
pooka
5d8421fd1d naughty naughty, don't peek into src/sys 2010-06-14 14:42:49 +00:00
riz
b82a6579fe Remove _PATH_NOLOGIN before reboot, as well as before exit(), to prevent
a root file system which has been marked read-only in fstab from continuing
to prevent logins after reboot.  From Ian D. Leroux in PR#43390.
2010-06-09 04:51:53 +00:00
dholland
0bf3480c62 Change getnum() to use intmax_t instead of int, so it doesn't overflow
between 2^31 and 2^32. Adjust call sites accordingly. PR 43354.
2010-05-28 07:40:53 +00:00
pooka
d4af2513b1 PUFFSDEVELVERS is a goner 2010-05-21 11:59:38 +00:00
wiz
8d31c36840 Mention that dkctl(8) does not modify on-disk data, and add xrefs to
fdisk(8) and gpt(8). Bump date.
2010-05-18 23:33:03 +00:00
jruoho
04636eae18 Use a list for the list of bugs. 2010-05-14 05:04:58 +00:00
tnozaki
50eb6aadde cast isblank(3)'s argument to unsigned char. 2010-05-13 17:52:11 +00:00
mbalmer
8e64e5f559 Fix grammar in a line of output.
From Hywel Mallett via FreeBSD.
2010-05-12 21:21:59 +00:00
kefren
c890d3f5e0 Update also keywords.{c,h} generator in order to reflect latest changes. 2010-05-12 19:26:33 +00:00
christos
c69676936c PR/40455: Mihai Chelaru: Add noreject noblackhole options 2010-05-12 17:56:13 +00:00
plunky
a5a749a5f7 C99 says that offsetof() expands to a constant expresssion, so we
can't use variable array index in there. Do the calculation manually
for C99 compilers (pcc)
2010-04-20 21:25:25 +00:00
wiz
c4f8f360fc New sentence, new line. Sort SEE ALSO.
Improve formatting of option list.
2010-04-11 21:29:37 +00:00
hannken
738a97ca87 Add -x option which allows to run `fsck_msdos -n' on a snapshot of
a live file system.

While here modify snap_open() to accept a character device as its
first arg and remove now unneeded get_snap_device().

Reviewed by: Manuel Bouyer <bouyer@netbsd.org>
2010-04-11 08:23:51 +00:00
mrg
e00e7bd5c0 implement CTLTYPE_BOOL support. it was entirely missing. HI MATT! 2010-04-11 01:52:10 +00:00
wiz
d129d948ec Minor punctuation fixes, improve and sort SYNOPSIS, sort flag descriptions.
From Bug Hunting in PR 43130.
2010-04-07 09:40:58 +00:00
wiz
01ab0048e9 Sort option descriptions, per PR 43119 by Bug Hunting.
Refer to -r from -w.
Bump date.
2010-04-05 18:08:41 +00:00
plunky
ba9e7b8487 use -Wno-pointer-sign in the HAVE_PCC case also 2010-04-03 11:55:41 +00:00
christos
f8c6b14cc1 fix printf format. 2010-04-02 19:33:09 +00:00
christos
79bdd20aa6 PR/43105: Peter Kerwien: Destroying a GPT partition with dd will cause gpt
destroy / create to fail. When reading the GPT label from the end of the disk
ignore errors if the GPT label at the beginning of the disk was not found.
2010-04-02 13:36:59 +00:00
pooka
4ec51947cc convert to parseargs 2010-03-31 13:33:14 +00:00
pooka
3bc1bb4f0e initialize canon_dev 2010-03-31 13:10:10 +00:00
joerg
a26d6af163 Kill stray t. 2010-03-31 04:17:23 +00:00
joerg
44f960014f \\ -> \e 2010-03-30 14:26:55 +00:00
joerg
104dbdf3ec Assume o umlaut is transliterated by nroff as needed.
\\ -> \e
2010-03-30 14:07:50 +00:00
joerg
4a90fd399e \\ -> \e 2010-03-30 14:05:32 +00:00
pooka
23d5534a55 Avoid known unknown if the kernel presents us with an unknown
unknown for module class and/or source.

related to PR kern/43014
2010-03-19 16:25:33 +00:00
jld
9abd7e4959 Give a more polite message for raidctl -m on a non-parity RAID set. 2010-03-16 03:23:47 +00:00
mrg
a597c96c7d add SMART code 187: "Reported uncorrect". from smartmontools. 2010-03-13 19:49:50 +00:00
plunky
858911baa2 fix sign-compare issue 2010-03-13 13:45:05 +00:00
jld
8ccd0f67a6 Exclude parity map regions that don't actually exist from the dirty region count
in `raidctl -m`.  Makes for less confusing output during `raidctl -i`.
2010-03-13 07:21:37 +00:00
christos
20ebd2a462 PR/42952: The Grey Wolf: Fix for "true incremental". Don't overload level
9, use a new level "i" which is logically 10.
2010-03-11 01:32:59 +00:00
abs
6c6ab6a995 Relegate edlabel to use in extremely memory constrained install
ramdisks and prefer disklabel elsewhere.
Based on discussion on affected port lists (port-sparc port-sparc64
port-sun3 port-sun2 port-atari port-mvme68k).
All listed ports plus amd64 test built after change
2010-03-10 23:13:09 +00:00
mlelstv
bc76b1d5b0 When clearing a log on failure, not only ask the kernel to ignore an
existing log but to remove it on next mount.
2010-03-06 11:31:40 +00:00
christos
c6af1de885 - use warn/err properly
- wrap long lines
2010-03-06 00:30:54 +00:00
pooka
04e9fbfc62 Remove no longer used -DNFS. 2010-03-05 19:53:37 +00:00
pooka
696ffdd08a note module changes 2010-03-05 18:51:22 +00:00
pooka
0299287e5f Use 8k buffer, since 4k is too short for the default list (might
save one round of modctl()).
2010-03-05 10:27:16 +00:00
wiz
f704e3fc5c -i does not take an argument. Remove unnecessary Bk/Ek. New sentence, new line. 2010-02-26 07:01:17 +00:00
christos
c40eb1e731 PR/42883: Greywolf: Add -i flag which brings "true incremental" capability. 2010-02-26 02:11:40 +00:00
tsutsui
5b900f2697 Avoid line break in `Linux Ext2' strings. 2010-02-25 13:09:17 +00:00
hannken
626b19f88a Dont pass option -x down to fsck_xxxfs.
Hi christos ...
2010-02-24 13:56:07 +00:00