Commit Graph

5533 Commits

Author SHA1 Message Date
pgoyette
821775e983 Fix parsing of -A option so that the [/ptn_0_offset] part is optional, as
described in the man page.
2011-05-08 14:22:16 +00:00
wiz
36fa577686 Re-add -q description that got lost when -x was added.
Sort descriptions.
Bump date.
2011-04-29 10:34:52 +00:00
wiz
1f03b58936 Sort options and option descriptions. Fix a typo. New sentence, new line. 2011-04-28 17:17:51 +00:00
wiz
b882daa546 New sentence, new line. Sort sections. 2011-04-28 12:16:10 +00:00
wiz
ed5cd81dad Mark up file as argument. 2011-04-28 12:01:58 +00:00
wiz
85e4f3c354 security(7), not (8). 2011-04-28 11:23:57 +00:00
wiz
a26db019aa Use Nx. 2011-04-25 22:23:47 +00:00
wiz
1319ff4810 Add serial comma. 2011-04-25 22:09:29 +00:00
christos
00740dd48f PR/44864: Paul Ripke: Compile regular expressions on demand and only once. 2011-04-16 01:15:54 +00:00
joerg
f9bbef6fd3 Extend CPPFLAGS, don't replace it 2011-04-10 16:47:04 +00:00
jym
8049d1e8e5 Document biosboot. Xref boot(8) and installboot(8). 2011-03-27 01:01:07 +00:00
bouyer
875bb8e6c3 initialise memory allocated for uquot_user_hash & uquot_group_hash.
Pointed out by Nicolas Joly.
2011-03-20 11:41:24 +00:00
wiz
8daed3c318 Add missing comma. 2011-03-19 08:41:19 +00:00
jruoho
5c4331b81a Xref x86/ichlpcib(4) instead of ichlpcib(4). 2011-03-18 21:22:04 +00:00
pooka
3e81f0bf9e Make get/setuid prog ops (so that i can do rump.ping -f regardless
of host privs).
2011-03-11 09:59:56 +00:00
wiz
492cea3a3d Fix punctuation markup; new sentence, new line. 2011-03-06 17:21:08 +00:00
wiz
d2eb4c303d New sentence, new line. 2011-03-06 17:20:28 +00:00
bouyer
063f96f3c2 merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.
2011-03-06 17:08:10 +00:00
pooka
d69295fda4 Set errno to 0 before strtoll() so that it can reliably be tested
afterwards.  Fixes newfs_msdos at least on sparc.  Incidentally,
the msdosfs tests also start working on sparc, which about halves
the number of test failures on that platform.
2011-03-05 13:47:43 +00:00
hannken
05e91bfee8 fss(4): Allow FSSIOCSET to set the initial flags. Add a new flag
"FSS_UNLINK_ON_CREATE" to unlink the backing store before
        the snapshot gets created.

With this change dump(8) no longer dumps the zero-sized, but named
snapshot it is working on.  Same applies to fsck_ffs(8).
2011-02-24 09:38:57 +00:00
njoly
eeec3853c8 Small typo in macro (Ii -> It). 2011-02-21 17:05:50 +00:00
christos
6df320733c undo part of the previous patch, which I suspect is bad. 2011-02-20 21:42:50 +00:00
enami
ec02ea412c Define accessors for number of blocks and partition size in the
component label and use them where appropriate.  Disscussed on tech-kern.
2011-02-19 07:11:09 +00:00
pooka
0120167d51 "when in doubt, let the kernel decide" 2011-02-17 16:57:46 +00:00
wiz
adc40ee487 Add -b and -vxz to usage. 2011-02-16 19:33:48 +00:00
wiz
2d50779420 Add -vxz to SYNOPSIS. Sort. 2011-02-16 19:33:39 +00:00
wiz
32cebeb729 Add -vxz to SYNOPSIS and usage. 2011-02-16 19:32:26 +00:00
dyoung
00ef49e965 Add flags -v, -x, and -z for verbose, debug, and silent shutdowns,
respectively, by passing flags AB_VERBOSE, AB_DEBUG, and/or AB_SILENT to
reboot(2).
2011-02-16 17:53:31 +00:00
dholland
df520b1013 Disable COMPAT_386BSD_MBRPART. The code is still here if anyone needs it
for some reason. (But I have no idea why that would be -- if you have one
of these really ancient partitions and you're about to run disklabel, you
can easily run fdisk first and change the partition type to NetBSD.)

As it stands, the code will munch FreeBSD installs under some
circumstances, which is really not acceptable behavior.

The code, along with the kernel support that's been disabled by
default for several years, and some related but less dangerous code in
sysinst, should prboably be removed entirely after -6 is branched.

Discussed on tech-kern and tech-userlevel; closes PR 44496.

This is also almost certainly the cause of PR 42521 and PR 38841.
2011-02-12 22:23:01 +00:00
pooka
a804f47907 Exterminate a bug I created in 2009. 2011-02-09 11:22:49 +00:00
schnoebe
431ec7cce7 List all the aliases supported for GPT partition types. 2011-02-09 05:11:15 +00:00
pgoyette
4f8abcabc1 Use PRIu64 to fix build on amd64 (and presumably other 64-bit ports) 2011-02-08 13:58:54 +00:00
wiz
b3b821c790 Fix typos. 2011-02-08 09:51:55 +00:00
wiz
49efa429e3 Improve a bit. 2011-02-08 09:49:07 +00:00
haad
83425a0f36 Initial import of libdm and dmctl to tree. libdm library can be used
to access, manage and manipulate device-mapper driver. Which opens us bunch
of new possibilities like

	dm-multipath device target
	dm-crypt     device target
	dm-ccd 	     compatibility layer

With this import I'm bringing in dmctl tool for working with dm driver ,too.
I plan to replace gpl2 licensed dmsetup command with our dmctl tool in near
feature. It can also by placed to /rescue where we was not able to put
dmsetup because of licensing problems.

With libdm in tree we can now write RUMP atf test suite for dm driver to
ensure LVM subsystem stability as time goes.

Reviewed by: blymn@ and rmind@
Oked: by no objections on tech-userlevel@
2011-02-08 03:20:13 +00:00
christos
b805ecec3f PR/44529: Martin Danielsson: fsck_msdos crashes when verifying corrupt file
system. Avoid using the long name index when it is 0. Refactor the code to
avoid duplication.
2011-02-07 17:36:42 +00:00
pooka
b915a641c8 update macro names to match new ones
(i don't know why they changed, just fixing the build)
2011-02-06 21:38:09 +00:00
njoly
0913e1dac9 Do Skip device checks, which ends up parsing fstab, when working on a
filesystem image with -F option set.
2011-02-06 12:02:59 +00:00
martin
82fe9809af Use RT_ROUNDUP() and friends from sys/route.h instead of homegrown
variants.
2011-02-04 14:31:23 +00:00
matt
4d5d6d9aa5 Add a new AF/PF_ROUTE which is 64-bit clean which makes the routing socket
interface (and its associated sysctls) act identically for both 32 and 64 bit
programs.  The old unclean one remains for backward compatibility.
2011-02-01 01:39:19 +00:00
reinoud
f6164dfe20 When requesting to disable metadata partitions, also disable low formatting.
When no meta and not low formatting we can lower the required UDF version.
2011-01-21 22:32:13 +00:00
reinoud
e08c1f2c44 Fix typo in comment 2011-01-21 22:10:51 +00:00
nisimura
ba19dd6c6f fix mislabelled S.M.A.R.T. lifetime temperature record reading. 2011-01-19 07:55:12 +00:00
jmcneill
21b4f7d5bd Xr acpiwdrt(4) 2011-01-17 16:09:48 +00:00
nisimura
819cda4abe fix a mysterious indent lossage roaming around for last couple of years. 2011-01-14 06:02:57 +00:00
haad
a3f1560397 Use SYMLINKS, I'm not sure why I ahve commited old version of my patch, but
it should be ok now. Thanks to tron@ for pointing at this issue.
2011-01-13 23:44:11 +00:00
haad
6f5bb5ac37 Move chown from usr.sbin to sbin and chgrp from usr.bin to bin directories.
This was discussed and oked on tech-userlevel I have run full build release,
test anita cycle with this patch.
2011-01-13 22:28:35 +00:00
pooka
2fff573bcd In case we are union-mounting /, don't force MNT_UPDATE. This makes
the following work:

	mount -t tmpfs -o union tmpfs /

(some caveats are implied, such as if you "mkdir /usr" you're
screwed, but then again you'll get there with "rm -rf /usr" even
without union -- we supply rope)

per discussion with zafer, use case for jibbed
2011-01-13 11:57:02 +00:00
apb
63df928b37 Change printf formats to match the data type of the values being
printed.  There's now a lot of PRIu16 and PRIu32, some PRIu8, some
SCNu32, and a few cases where %u and %d were reversed.  Multiplication
of 32-bit and 8-bit values is cast to uint64_t and printed with PRIu64.

Inspired by a report from Patrick Welche on current-users.
2011-01-06 21:39:01 +00:00
christos
621e83eac4 match printf formats and types from Patrick Welche 2011-01-06 19:34:28 +00:00