Commit Graph

5548 Commits

Author SHA1 Message Date
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
joerg b1162954df Don't use address strings as format string. 2011-05-24 11:38:56 +00:00
riastradh d9e31e357d Make `mount_ptyfs -c' actually work.
The ALTF_* are bit masks, not indices, so use 4, not 3, for the one
after 2.  Use 0x on all the values to emphasize this.

ok rmind
2011-05-21 20:05:02 +00:00
dholland aae84c3a7c Improve documentation of FFS formats and format levels from PR 32100.
Prompted also by recent discussion on tech-kern. Bump date.
2011-05-14 19:46:10 +00:00
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