roy
dbb6db0ed0
Report IN_IFF_TENTATIVE and friends.
...
Wait for IN_IFF_TENTATIVE to be removed with the -w flag.
2015-05-02 14:43:51 +00:00
christos
874b0026ee
Add missing doc flags (B,M,m)
2015-04-29 17:07:11 +00:00
christos
c4603cb30b
- use calloc to zero memory
...
- pass the proper buffer to mkdir
- fix for apple ufs
2015-04-29 01:49:25 +00:00
christos
4f6ce6a7d2
reduce bss usage
2015-04-28 15:15:53 +00:00
christos
d5a931670f
remove 80211 stats if small.
2015-04-28 15:14:57 +00:00
prlw1
9521ae7bfd
Fix typos
2015-04-28 09:48:30 +00:00
christos
c902c296d4
fix mistake in previous
2015-04-27 17:05:58 +00:00
maxv
3220cb2ac6
Be a bit more verbose if the kernel rejects a file
2015-04-26 09:20:09 +00:00
christos
74c7e628de
make table smaller in size.
2015-04-25 21:43:53 +00:00
christos
8e83ba138f
Add the once -o option like ping
2015-04-24 00:42:56 +00:00
abs
b46e0d1534
newfs_msdos allowed suffixes such as 'k', 'm' for some parameters,
...
but amusingly this did not include Block size, or Sectors per cluster.
Allow for all numeric parameters (If I want to specify the number
of drive heads as '1K', then why not?)
2015-04-23 13:27:14 +00:00
roy
a7a37fb042
Move the INET6 specific code for wait_dad_exec() into af_inet6
...
by using a new afswtch hook af_addr_tentative.
2015-04-22 17:42:22 +00:00
ozaki-r
df66dd74ee
Fix rump.route shows host's interface names
...
Let it use rump-ified if_indextoname and getifaddrs
to get rump kernel's interfaces, which is the same way
as ifconfig.
2015-04-22 03:07:55 +00:00
mrg
2603e0673f
remove various HAVE_GCC=45 fragments.
2015-04-15 19:13:46 +00:00
riastradh
db8ca554ec
Use <sys/rndio.h> instead of <sys/rnd.h>.
2015-04-13 22:18:50 +00:00
jmcneill
d0b93bc844
if the -p flag is specified, display a progress bar while growing the file-system
2015-04-06 22:44:04 +00:00
mlelstv
f3a445024e
factor out geometry calculation and use this also in CheckOnly mode.
...
be a bit more verbose in Verbose mode.
2015-04-06 13:33:42 +00:00
mlelstv
4962b364b8
Handle case in grow() where last cylinder group is too small for ufs2.
...
Align with code in shrink().
2015-04-06 12:38:21 +00:00
wiz
5a1645e4da
New sentence, new line. Sort option descriptions.
2015-03-29 19:42:15 +00:00
chopps
f89312b935
- Fix fallout for recent bread() change (removing cred arg).
2015-03-29 19:35:58 +00:00
chopps
ae3fcf098a
- Add -c to check to see if grow/shrink is required
...
- Divide by DEV_BSIZE when returning size of file.
- Update manpage
2015-03-29 19:33:55 +00:00
riastradh
9ea98f4524
Use `!= -1' instead of `== 0' out of paranoia.
2015-03-28 17:25:33 +00:00
riastradh
bb5cf371be
Make get_dev_size work on regular files too.
2015-03-28 17:22:46 +00:00
roy
a37502b2b6
Add RTF_BROADCAST to mark routes used for the broadcast address when
...
they are created on the fly. This makes it clear what the route is for
and allows an optimisation in ip_output() by avoiding a call to
in_broadcast() because most of the time we do talk to a host.
It also avoids a needless allocation for the storage of llinfo_arp and
thus vanishes from arp(8) - it showed as incomplete anyway so this
is a nice side effect.
Guard against this and routes marked with RTF_BLACKHOLE in
ip_fastforward().
While here, guard against routes marked with RTF_BLACKHOLE in
ip6_fastforward().
RTF_BROADCAST is IPv4 only, so don't bother checking that here.
2015-03-23 18:33:17 +00:00
enami
c1e351a1b2
Don't truncate at microseconds while preserving timestamps.
...
One of motivation of this change is to make the behavior of test(1)
-nt/ot with preserved copy (like cp -p) closer to the NetBSD 6.
Of course whether full timestamps are kept or not depends also on
underlying file system.
The ifdef added in mv(1) since existing ifdefs was our local change
to compile it on solaris (though I couldn't test it):
http://mail-index.netbsd.org/tech-userlevel/2014/11/28/msg008831.html
2015-03-02 03:17:24 +00:00
mlelstv
4b8999e0dd
safely update existing wedge links
2015-03-01 14:21:17 +00:00
roy
43800a7e73
Teach route(8) about RTF_LOCAL.
2015-02-26 09:56:11 +00:00
wiz
2122be46d6
Bump date for previous.
...
New sentence, new line.
2015-02-25 09:01:08 +00:00
mlelstv
0a7f816b6d
Let drvctl -p select elements from an array property by numeric index.
2015-02-24 18:15:29 +00:00
joerg
a39ebfb79e
Move communication socket to /var/run, especially when starting iscsid
...
during boot, it might disappear otherwise.
2015-02-21 20:33:44 +00:00
christos
3d6eb1fc0f
let's make this compile again.
2015-02-15 21:46:49 +00:00
jmcneill
481b9e731c
At startup, instead of doing run-hooks for each device, call run-hooks
...
once with a list of all found devices. This lets us batch calls to MAKEDEV
which results in a noticeable improvement in Raspberry Pi boot time.
Run the initial device enumeration hooks before detaching from the foreground,
ensuring that any required devices have been created before the rc.d script
exits.
2015-02-15 15:56:30 +00:00
roy
9fbc750691
Display the IPv6 address flags autoconf and temporary
2015-01-20 22:13:19 +00:00
christos
a451832ee3
kill 1 copy of strtonum.
2015-01-16 20:12:28 +00:00
christos
20d9dd5566
make netname4 match the netname6 signature avoiding a NULL pointer.
2015-01-07 22:38:32 +00:00
msaitoh
27d20d98fc
Add missing "addr" and "static" commands.
2015-01-05 00:36:23 +00:00
pooka
15c9a10afd
gcc 4.9 produces vfork clobberation warnings for "name" and "buflen".
...
Since there's no performance reason to use vfork here, just replace it
with fork and be done with warnings once and for all.
2015-01-04 22:05:37 +00:00
reinoud
4897154dae
Fix volumesetname to comply to UDF 2.01 [2.2.2.5]
2015-01-02 21:01:12 +00:00
christos
52e8eb1316
Fix the 3 programs that use DTYPE_ (disklabel disk types) constants from the
...
kernel. Two of them are inside ifdefs.
2015-01-02 19:46:02 +00:00
mlelstv
d15e4a5d5d
Avoid mixing cluster numbers and sector numbers. Makes code more readable.
2015-01-02 06:21:28 +00:00
christos
15f5b75638
abort earlier.
2014-12-29 16:35:38 +00:00
christos
59069b7aab
Provide a simple getdisksize() api for gpt(8).
2014-12-29 16:27:43 +00:00
christos
ccbdb0d177
Factor out the getdisksize() drvctl method, and provide an alternative that
...
directly uses the disk ioctl's instead of relying on the drvctl device driver
which is currently not mandatory.
2014-12-29 16:27:06 +00:00
prlw1
f44489f8dc
MKINET6=no build fixes
...
http://mail-index.netbsd.org/tech-net/2014/12/13/msg004898.html
2014-12-20 13:15:48 +00:00
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