roy
62cbe5902e
Note that RTM_CHANGE can also change the gateway
2014-12-17 10:56:09 +00:00
christos
d980f336d5
fix possibly uninitialized variable.
2014-12-14 23:27:14 +00:00
christos
d4b702a5f2
avoid local variable shadowing devname.
2014-12-14 23:25:07 +00:00
wiz
b1ec4779e4
Bump date for previous. Fix typo.
2014-12-14 17:15:14 +00:00
mlelstv
a0b59f5f8a
Add validation methods "mbr" and "gpt" for disks without a valid disklabel.
2014-12-14 12:31:39 +00:00
mlelstv
f902d9ca42
support wedge names.
...
The default param file for a wedge is still named after the device (dkN)
which might be unpredictable. Use an explicit param file instead.
2014-12-14 11:31:39 +00:00
mlelstv
490457d5da
Make ccdconfig resolve wedge names.
2014-12-07 10:44:34 +00:00
mlelstv
9171ddc6ae
Fix handling of -t option for the type command.
...
Match any type, when no option is given, just like for the label command.
2014-12-07 09:51:42 +00:00
wiz
d12dcb884c
Bump date for previous.
2014-12-06 21:53:55 +00:00
mlelstv
c3505b64dc
Add some more common partition types.
2014-12-06 12:24:22 +00:00
mbalmer
89b27dd856
Add reference to mount_chfs, bump date.
2014-12-06 12:12:17 +00:00
christos
3747949d9f
Instead of zerodivide, give a useful error message.
2014-12-04 01:41:37 +00:00
christos
27fad02cd4
Complete the routing argument table by including the ID's used in the routing
...
display.
2014-12-01 20:30:27 +00:00
christos
b5ac626c87
Adjust default packet size to 56 data bytes (64 total).
...
Make error messages consistent.
2014-11-29 14:48:42 +00:00
christos
0c4052c0de
PR/49423: Martin Husemann: ping for small packets does not work in -7 or
...
-current
XXX: pullup 7?
2014-11-27 19:43:58 +00:00
christos
aeb66be189
- pass the proper argument vector so that subcommands can use getopt.
...
- add -q and -e for listwedges.
2014-11-23 15:43:49 +00:00
mlelstv
96f40a63cc
handle constness better
2014-11-17 07:15:28 +00:00
mlelstv
477be5f2de
handle constness
2014-11-17 07:13:42 +00:00
mlelstv
8e3b364b00
Report the argument instead of (null) when opendisk fails.
2014-11-17 07:11:18 +00:00
joerg
c87c6690c0
Skip vendor if the string is empty.
2014-11-15 01:52:01 +00:00
christos
2bd97efc9a
PR/47704: Takahiro HAYASHI: Add -L flag
2014-11-12 03:34:08 +00:00
christos
802a4e04fc
remove debugging
2014-11-09 22:50:38 +00:00
christos
66d4eaa769
add handler for /kern/evcnt and print the actual error when failing.
2014-11-09 18:36:02 +00:00
christos
521e0d5bd2
give a little more space
2014-11-08 00:47:32 +00:00
christos
74d147444a
Now that the code can support tags and verbose route printing, enable them.
...
Also document previously undocumented flags.
2014-11-07 14:57:08 +00:00
christos
30f4c8e6f6
Factor out the netstat route printing code and use it here. There is no
...
point in having 2 different copies; fixes PR/49371
2014-11-06 21:29:32 +00:00
wiz
88a571cbd8
New sentence, new line. Bump date for previous.
2014-11-05 09:26:26 +00:00
mlelstv
cfe8bb2a9d
Add 'makewedges' option to autodiscover wedges from a changed label.
2014-11-04 08:00:44 +00:00
msaitoh
48b712a059
Add #include <inttypes.h> for intmax_t to fix compile error.
2014-11-04 03:05:43 +00:00
jakllsch
d8015429ba
ClusterOffset actually needs to be able to be negative.
2014-11-03 18:55:04 +00:00
mlelstv
a62f667a0a
fix logic that handles command line arguments. Now you can:
...
fsck /mnt/point
fsck dkX
fsck rdkX
fsck /dev/dkX
fsck /dev/rdkX
fsck NAME=wedge
2014-10-25 22:00:19 +00:00
mlelstv
ab9ddb6964
Support wedge names.
...
before:
newfs dk1 - formats /dev/rdk1
newfs rdk1 - cannot open /dev/rrdk1
newfs /dev/dk1 - /dev/dk1 is a block-device, use raw device
newfs /dev/rdk1 - formats /dev/rdk1
now:
newfs dk1 - formats /dev/rdk1
newfs rdk1 - cannot open /dev/rrdk1
newfs /dev/dk1 - formats /dev/rdk1 (*)
newfs /dev/rdk1 - formats /dev/rdk1
newfs NAME=wedge - formats /dev/rdk1
(*) getfsspecname() returns the block device which must be translated.
Passing a block device manually cannot be distinguished from this case.
2014-10-25 16:47:23 +00:00
roy
38d2e3f021
Remove the ability for userland to toggle IN6_IFF_TENTATIVE.
...
Preserve IN6_IFF_TENTATIVE when updating address flags.
2014-10-20 14:50:09 +00:00
snj
f0a7346d21
src is too big these days to tolerate superfluous apostrophes. It's
...
"its", people!
2014-10-18 08:33:23 +00:00
mrg
d6a1b6b395
add a whole bunch of S.M.A.R.T. status i found around various sources.
...
now nothing on my new SSD is unknown, except #249 .
2014-10-15 06:54:04 +00:00
riastradh
c4ba54210e
Paranoia: choke noisily on EOF from /dev/urandom.
2014-10-04 11:23:35 +00:00
riastradh
ba983c7779
Make gpt(8) generate v4 (random) uuids.
...
Don't needlessly leak your date/time and MAC address when you edit
the disk.
Read from /dev/urandom rather than calling arc4random or anything,
since this is a tool. (Cygwin seems to have /dev/urandom, but yell
if this breaks the build on your exotic platform because it lacks
/dev/urandom.)
ok apb
2014-10-04 10:30:13 +00:00
wiz
ec23d78824
Remove trailing whitespace.
2014-10-04 07:15:54 +00:00
christos
279da39389
Allow specifying sector and media size on the command line.
2014-10-04 01:00:42 +00:00
christos
194a5fe433
provide a copy of the kernel uuid generator (with portable API calls) for
...
tools.
2014-10-03 20:30:06 +00:00
jnemeth
00433a3409
"0" is not guaranteed to be unique
2014-10-03 00:51:31 +00:00
apb
1029f7d668
include <sys/endian.h> for both the non-tools build,
...
and the tools build on a host where the file exists.
Fixes a build problem on FreeBSD, reported by Herbert J. Skuhra, where
tools/compat's configure detected that be32dec() and friends were
available in the host's <sys/endian.h>, so tools/compat did not provide
its own versions.
2014-10-02 21:27:41 +00:00
joerg
1a21d263f9
Fix tools build on !NetBSD.
2014-10-02 19:15:21 +00:00
apb
f685c2f61e
It's HAVE_NBTOOL_CONFIG_H, not HAVE_NBTOOLS_CONFIG_H
2014-10-01 12:55:39 +00:00
jnemeth
870b6dcbee
oops, forgot to update end of data area
2014-10-01 03:52:42 +00:00
jnemeth
c4b5bb5337
using random values for hdr->hdr_guid does not work very well
2014-10-01 01:08:25 +00:00
jnemeth
0d4fdcc249
actually return the uuid when parsing one that is in numeric format
2014-10-01 01:07:24 +00:00
jnemeth
20f10808c3
correctly show partition type in the new world order
2014-09-30 22:56:36 +00:00
jnemeth
0e826d2ca3
Check size of correct buffer. Note, just being pedantic as the buffer
...
being checked is the same size as the one that should have been checked.
2014-09-30 20:23:23 +00:00
christos
21c34dbb1d
Add internal uuid support, since the linux+macos versions of the library
...
are different than than *bsd ones, and others might not have it at all.
2014-09-30 17:59:59 +00:00