roy
e0cc834e99
ioctl -> prog_ioctl as pointed out by pooka@
2015-05-12 14:05:29 +00:00
pgoyette
77cc846abe
Use _PATH_WATCHDOG from <paths.h> instead of locally-defined value.
2015-05-06 23:08:30 +00:00
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
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
wiz
c145521aad
Add comma in enumeration.
2014-09-30 08:20:29 +00:00
pettai
d9141272a7
Add mpt reference, as support for this device was added recently
2014-09-30 08:14:48 +00:00
christos
c917041fda
remove compat defines.
2014-09-30 02:12:55 +00:00
christos
4da1cfa89d
more toolification changes
2014-09-29 22:22:03 +00:00
christos
866082940a
more toolification
2014-09-29 21:04:34 +00:00
christos
a50708a134
minor toolification: need libprop...
2014-09-29 20:28:57 +00:00
jnemeth
ac204e48a2
PR/47990 - Dr. Wolfgang Stukenbrock -- add "-L <label>" as selector option
2014-09-29 05:56:43 +00:00
jnemeth
88085c2f28
PR/44218 - David Young -- add "type" subcommand to change a partition type
2014-09-28 08:14:51 +00:00
jnemeth
e4be9d18c3
- handle a GPT that isn't an exact multiple of a sector
...
- adjust PMBR size, in case new disk is a different size
- don't leak as much memory
- clean up error handling somewhat
2014-09-26 08:56:34 +00:00
jnemeth
ede6a6c556
no C99isms in tool code
2014-09-26 05:34:15 +00:00
msaitoh
3821b76445
Fix compile error observed on i386. Use PRIu64.
2014-09-23 13:48:04 +00:00
jnemeth
2ed5cc2617
- make gpt_gpt() available for use directly by subcommands
...
- create new resizedisk disk subcommand for relocating backup GPT
2014-09-23 07:47:54 +00:00
jnemeth
4013e132a3
document the new restore subcommand
2014-09-20 22:36:09 +00:00
jnemeth
06190c9314
Initial cut of gpt restore. This functions correctly in testing,
...
but isn't all that pretty. It has minimal error testing and may
leak memory. It also only works with empty disks. If passed "-F"
flag, it will blank the disk for you.
2014-09-20 22:11:27 +00:00
matt
3bbdf28d09
Add OpenRISC 1000 & UCB RISC-V platform support.
2014-09-19 17:45:03 +00:00
ozaki-r
ba4f0be24c
Remove out-of-date comments
2014-09-17 01:00:41 +00:00
christos
6b3fd816dd
PR/49206: ping6 dies with SIGINT even when it just fails to ping
...
When reusing the same handler for SIGALRM, make don't pretend you
got SIGINT.
2014-09-16 21:29:12 +00:00
ozaki-r
75f57c494b
Write about -vlanif in ifconfig.8
...
PR 49114
2014-09-15 06:48:05 +00:00
ozaki-r
adf2c730e5
Add -vlanif to the help message of ifconfig
...
PR 49114
2014-09-15 06:46:04 +00:00
martin
58001a8b3d
Initialize timespec "end" for the benefit of some gcc versions getting
...
"may be used uninitialized" warnings wrong.
2014-09-12 08:54:26 +00:00
roy
c6314d6139
Remove rtsol(8) and rtsold(8) as their functionality is in dhcpcd(8).
...
Remove rtsol(8) from rc.d/network.
Add -w seconds command to ifconfig to wait for N seconds for until DAD
has finished on all addresses.
Use ifconfig -w in rc.d/network instead of a forced sleep.
As discussed on tech-net@
2014-09-11 13:10:03 +00:00
jnemeth
e3f4016378
- dump all partitions, not just ones that are in use
...
- while here, squash a memory leak
It shouldn't be necessary to backup unused partitions, however
the partition GUID is created at the time the GPT is created and
is never changed. It shouldn't matter if the GUID of an unused
partition changes, but there may be some special case where it
does. Since it isn't a big deal to record the unused partitions,
might as well do it.
2014-09-10 10:49:44 +00:00
jnemeth
ef9cc4e43f
- record the sector size of the disk
...
- correct confusion with end_cylinder and end_sector in MBRs
2014-09-09 06:30:09 +00:00
mlelstv
76c8639541
Accept driver names only in the two args form together with a minor number.
...
That's what the documentation says and also avoids the case where the driver
name converted to a major number is interpreted as a packed dev_t number.
2014-08-22 22:28:50 +00:00
matt
4e8f1b53e9
Rework to be avoid a conditional assignment which results in:
...
sbin/ping6/ping6.c:1879:8: error: 'cbit.skip' may be used uninitialized in this function [-Werror=maybe-uninitialized]
cur += ntohs(cbit.skip) * 32;
2014-08-22 20:54:29 +00:00
apb
b41d70db45
Don't print ccd_size with %zu; it no longer has type size_t.
...
Instead, cast to uintmax_t and print with %ju.
2014-08-17 07:05:44 +00:00
sborrill
7d706cf73d
Switch size_t to uint64_t in appropriate places to ensure that ccd(4) works
...
with component and total sizes of > 2TB.
Add COMPAT_60 code for platforms where this alters userland-accessible
structures.
Make kernel print device information when a ccd configured.
Fix some typos in comments.
2014-08-16 19:27:27 +00:00
hannken
dd877031a4
Adapt to reality -- already open BSD style nodes do not appear on
...
ptyfs mounts (this changed some months ago).
2014-08-13 15:48:38 +00:00
apb
3c11b029a5
Interleave 0 means concatenate serially, do not interleave.
...
This information was in the ccd(4) man page, but not
in ccdconfig(8) or ccd.conf(5).
2014-08-13 14:13:04 +00:00
apb
31ea3cc275
Interleave 0 means concatenate serially, do not interleave.
...
This information was in the ccd(4) man page, but not
in ccdconfig(8) or ccd.conf(5).
2014-08-13 13:14:35 +00:00
jnemeth
3170c9b01c
Add restore subcommand.
...
XXX It does not actually work yet. It is being committed now to make
later pullups easier.
2014-08-10 18:27:15 +00:00
wiz
d3df20dd66
Sync usage with manpage a bit more.
2014-08-10 17:13:14 +00:00
wiz
233b62b2e9
Sort options and mark them as optional.
...
Bump date for previous.
2014-08-10 17:13:02 +00:00
tls
ea6af427bd
Merge tls-earlyentropy branch into HEAD.
2014-08-10 16:44:32 +00:00
apb
fa05229ce5
Fix typo in "dreamcast" port name.
2014-08-10 06:48:51 +00:00
matt
547b3a3b01
Changes to existing files to enable building AARCH64 userland.
...
evbarm64-el
This is clang only. While gcc4.8 supports aarch64, no netbsd support has
been written for aarch64 with gcc4.8.
2014-08-10 05:56:36 +00:00
wiz
3975de5b9d
Bump date for previous. New sentence, new line. Use more markup.
...
Remove superfluous Pp in list.
2014-08-09 10:41:05 +00:00
mlelstv
2d1e5095e8
add -S option to adjust the superblock for different sector sizes. While
...
the kernel ignores this information, userland tools rely on it.
This is needed when moving images between devices of different sector size.
2014-08-09 10:33:46 +00:00
dholland
810ebb8769
Fix snprintf usage and, while here, don't trundle off the end of an
...
array. Part of PR 47976 from Henning Petersen.
2014-07-27 04:23:44 +00:00
joerg
63b30d82c2
Print uint32_t field as such.
2014-07-15 20:18:30 +00:00
dholland
b7f1700a57
Revert previous; it doesn't work because all the lfs tools
...
promiscuously .PATH in each other's source files, and I haven't the
time or patience to deal with it tonight.
2014-07-13 02:44:21 +00:00
dholland
ca11835cd5
G/C my_vpanic().
2014-07-12 19:48:24 +00:00
dholland
6df0042d98
Remove pointless function indirection through panic_func(). It was
...
initialized to one thing, and then set to another right at the top of
main and never changed again.
2014-07-12 19:44:00 +00:00
dholland
0736ba101a
Revert version 1.111 of sysinst/disks.c, which caused sysinst to
...
create lfs fstab entries with fsck disabled, and instead patch
fsck_lfs to exit successfully without doing anything when given the -p
(bootup preen) option. If you really want to do fsck_lfs -p, you can
do fsck_lfs -f -p to make it go.
This has been sitting in my todo queue since February 2010 and was
ok'd by the committer at the time. The original commit was based on
this post:
http://mail-index.netbsd.org/tech-kern/2010/02/09/msg007306.html
and I remain unconvinced that it's the right thing, but we can at
least do it properly and not ship a sysinst with -7 that creates
permanently wrong fstab files.
Note that this may cause problems for anyone who's taken -p out of the
bootup fsck flags; but doing that is wrong, so don't.
2014-07-12 16:11:27 +00:00
christos
699f31f847
Another infinite loop fix from OpenBSD from Tobias Stoeckmann:
...
You can download a "proof of concept" from my website:
http://www.stoeckmann.org/openbsd/poc.iso .
Take FAT1 and it'll infinitely loop. This fix will complete
your previous commit.
2014-07-11 14:59:53 +00:00
christos
698f62dfb8
Well, if you set FSFIXFAT, better do it... Try running fsck on:
...
$ newfs_msdos -C 1M ./poc.fs
$ dd if=/dev/zero of=poc.fs conv=notrunc bs=1 count=1 seek=512
multiple times and see that it does not get fixed.
2014-07-10 21:06:20 +00:00
christos
ffdedd8608
Bring in a regression for the previous fix from OpenBSD
2014-07-10 21:00:52 +00:00
christos
0a21325ef0
From: http://marc.info/?l=openbsd-tech&m=140354518512871&w=2
...
more consistency checks
2014-07-07 19:04:37 +00:00
christos
d7660c3645
From: http://marc.info/?l=openbsd-tech&m=140234174104724&w=2
...
Avoid off-by-one on FAT12 filesystems.
2014-07-07 18:46:45 +00:00
christos
468753370f
From: http://marc.info/?l=openbsd-tech&m=140275150804337&w=2
...
Avoid infinite loops in cluster chain linked lists.
2014-07-07 17:55:53 +00:00
christos
be4e2ccbba
From: http://marc.info/?t=140304310700005&r=1&w=2
...
When truncating cluster chains fix the length of the cluster head.
2014-07-07 17:45:42 +00:00
zafer
9ac4e1c7a3
mention requirements for custom kernels.
2014-07-06 14:41:24 +00:00
dholland
0580599ec4
Reorg docs, part 3:
...
Move the documents that are papers to /usr/share/doc/papers.
Give them suitable names (including the author and year).
The key property of papers that distinguishes them from documentation
is that they're historical: they're published at a particular time and
aren't updated or maintained. (Except cosmetically.)
We should only ship papers that are of interest to users, either for
historical perspective or because they're the original research
writeup of stuff that went into the system and is still pertinent.
The ffs papers clearly meet this standard; the other one here (about
passwords, in 1978) is probably past its sell-by date.
2014-07-05 19:23:15 +00:00
dholland
c3ab26950f
Rework /usr/share/doc.
...
Update the <bsd.doc.mk> infrastructure, and update the docs to match
the new infrastructure.
- Build and install text, ps, pdf, and/or html, not roff sources.
- Don't wire the chapter numbers into the build system, or use them in
the installed pathnames. This didn't matter much when the docs were a
museum, but now that we're theoretically going to start maintaining
them again, we're going to add and remove documents periodically and
having the chapter numbers baked in creates a lot of thrashing for no
purpose.
- Specify the document name explicitly, rather than implicitly in a
path. Use this name (instead of other random strings) as the name
of the installed files.
- Specify the document section, which is the subdirectory of
/usr/share/doc to install into.
- Allow multiple subdocuments. (That is, multiple documents in one
output directory.)
- Enumerate the .png files groff emits along with html so they can be
installed.
- Remove assorted hand-rolled rules for running roff and roff widgetry
and add enough variable settings to make these unnecessary. This
includes support for
- explicit use of soelim
- refer
- tbl
- pic
- eqn
- Forcibly apply at least minimal amounts of sanity to certain
autogenerated roff files.
- Don't exclude USD.doc, SMM.doc, and PSD.doc directories from the
build, as they now actually do stuff.
Note: currently we can't generate pdf. This turns out to be a
nontrivial problem with no immediate solution forthcoming. So for now,
as a workaround, install compressed .ps as the printable form.
2014-07-05 19:22:02 +00:00