christos
94a8b1353c
no -A or -a with -q
2011-08-03 01:58:30 +00:00
christos
daf90d3763
allow -q flag to work for reads.
2011-08-03 01:47:40 +00:00
mbalmer
3bc190836a
Accept both 'modstat -n name' as well as 'modstat name' to display information
...
about a single module.
2011-08-02 16:46:45 +00:00
wiz
1bd615d150
New sentence, new line.
2011-08-02 10:28:00 +00:00
wiz
e74a53f0f9
Sort sections. Remove comma in enumeration of two items.
2011-08-02 10:21:12 +00:00
buhrow
3dd51f1b7e
Document the need for zeroing out the first 64 blocks of a replacement
...
component in a failed RAID set in order to avoid potentially configuring
RAId 1 sets with erroneous values taken from random extent data in the
replacement component partitions.
2011-07-28 18:25:22 +00:00
christos
e0f66530c3
mention that we don't handle more than 2TB disks/partitions.
2011-07-25 16:31:05 +00:00
dholland
1cb7b735a0
Improve previous; thanks to tsutsui-san for reminding me of the proper
...
reference. PR 45166
2011-07-22 15:53:21 +00:00
dholland
fb83b6fe13
Clarify UFS2 superblock format stuff. Bump date.
2011-07-22 15:47:46 +00:00
uch
5c1ba4adfa
Fixed the problem that partition size over 8GiB(v7fs filesystem limit) failed newfs.
2011-07-22 09:15:10 +00:00
tron
64edb24382
Use howmany() macro as it is used in a lot fo places in this tool anyway
...
as suggested by Tsugutomo Enami.
2011-07-19 19:57:54 +00:00
joerg
29d01baadc
Allow cross-compiling from Linux
2011-07-19 18:29:41 +00:00
tron
4cafa08a7d
Don't use roundup2(9) (which should have been howmany(9) anyway) to
...
fix builds on platforms other than NetBSD.
2011-07-18 22:50:28 +00:00
apb
f1ca1ce2bf
In sources that get compiled into the tools version of makefs, add:
...
#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#endif
This should fix cross-build problems, but I can't really test
that now, so I am not re-enabling the inclusion of v7fs support
in makefs.
2011-07-18 21:51:49 +00:00
dholland
99f3bafa7f
prune stray commas
2011-07-17 23:46:53 +00:00
uch
8ef6a31f0e
fix freeblock counting
2011-07-17 12:47:38 +00:00
dholland
9474f05d3b
Don't need to initialize (one of) the elements now in i_crap; nothing in
...
here touches that material.
2011-07-12 02:46:03 +00:00
uch
a2917fcf47
fix freeblock count bug.
2011-07-10 12:14:01 +00:00
mrg
4cd6566dd0
switch from an ugly cast and ntohl() usage to be32dec(). use sizeof.
...
idea from dh, and fixes a GCC 4.5 warning.
2011-07-06 09:02:54 +00:00
dholland
a1d28c6e00
fix typo
2011-07-03 19:05:10 +00:00
mrg
db6886e029
apply some -O0 with gcc 4.5 and vax.
2011-07-03 15:29:34 +00:00
wiz
3fa42aac82
Whitespace nit.
2011-07-03 09:15:20 +00:00
kefren
008758606b
Mention -mpls and -tag and xref mpls(4)
...
bin/45071
2011-07-03 07:20:37 +00:00
joerg
017dd250ef
Fix memset usage.
2011-07-01 02:46:24 +00:00
mrg
b7e452c793
remove HAVE_GCC == 4 conditional
2011-07-01 01:26:15 +00:00
wiz
e0f576648b
Various improvements.
2011-06-27 13:50:31 +00:00
uch
9255b46fb4
7th Edition(V7) File System support. and NetBSD symbolic-link, socket, FIFO extension. see newfs_v7fs(8).
2011-06-27 11:52:22 +00:00
mrg
d993dd3b69
when checking for SKSV data, use the same test as before. fixes an
...
always true conditional GCC 4.5 found, and is also a real bug fix.
2011-06-22 05:18:03 +00:00
kefren
2715676450
don't compile tag functions if SMALL is defined. Should fix the build
2011-06-22 04:57:28 +00:00
mrg
c111245a78
apply some -Wno-error and/or -fno-strict-aliasing.
...
all of this should be looked at closer, but some of them are not
very trivial.
2011-06-22 02:49:41 +00:00
kefren
0c463ade62
Alloc dynamically sockunions in sou.
...
Teach route(8) about multiple tags. E.G.: -tag 100,20,33
XXX: needs documentation
2011-06-21 14:33:14 +00:00
mrg
2c77b0841d
avoid code that looks like this:
...
x = x = y;
since GCC 4.5 complains about it having sequence point issues.
2011-06-21 09:36:46 +00:00
mrg
75e42fa7da
remove most of the remaining HAVE_GCC tests that are always true in
...
the modern world.
2011-06-20 07:43:56 +00:00
wiz
6da344d4e1
New sentence, new line; fix wording; bump date.
2011-06-17 18:13:14 +00:00
manu
448e1c49b2
Add mount -o extattr option to enable extended attributs (corrently only
...
for UFS1).
Remove kernel option for EA backing store autocreation and do it by
default. Add a sysctl so that autocreated attriutr size can be modified.
2011-06-17 14:23:50 +00:00
yamt
26f4e9f9b1
xref link_addr for -link.
2011-06-16 23:35:35 +00:00
christos
453164da22
fix compilation.
2011-06-09 21:23:29 +00:00
christos
23ffdf5bd3
share more code.
2011-06-09 19:57:50 +00:00
bouyer
a3a7248ce7
Fix bad cut'n'paste in copyright. Pointed out by dyoung@
2011-06-07 14:56:12 +00:00
pgoyette
5647caf8d0
Keep printf() happy - cast the max name length to type int
2011-06-03 16:35:35 +00:00
nonaka
66224643cd
fix output format for long module name.
2011-06-03 15:34:46 +00:00
jruoho
dd4ef98f2e
Clarify placement of commas. From Snader_LB on freenode/#netbsd-code.
2011-06-01 09:46:48 +00:00
riastradh
63cdfaffb6
Fix typo: `symbolically' takes three l's, not two.
2011-05-31 16:17:30 +00:00
joerg
a216da57a6
Default to -Wno-sign-compare -Wno-pointer-sign for clang.
...
Push -Wno-array-bounds down to the cases that depend on it.
Selectively disable warnings for 3rd party software or non-trivial
issues to be reviewed later to get clang -Werror to build most of the
tree.
2011-05-26 12:56:24 +00:00
reinoud
43e731a9af
Fix accidental use of logical && instead of binary & in rare case.
...
Bug noticed by Joerg and clang :)
2011-05-26 07:59:08 +00:00
joerg
8c28cc4858
Simplify
2011-05-25 15:34:19 +00:00
joerg
77103d874a
input is unused
2011-05-24 12:07:14 +00:00
joerg
14d428746e
input is unused.
2011-05-24 12:06:25 +00:00
joerg
39a0f733b0
Decide on printing an int as int and not as short.
2011-05-24 12:04:18 +00:00
joerg
52b2e3b827
Use bitwise operators, logical and with a constant doesn't make sense
2011-05-24 12:03:04 +00:00