Commit Graph

198884 Commits

Author SHA1 Message Date
wiz
ee43c34a26 Split "file system" like usual. Improve SYNOPSIS. Various other fixes. 2011-03-06 17:32:38 +00:00
wiz
f1f9830b96 Sort options. Split "file system" like usual. Bump date. 2011-03-06 17:25:32 +00:00
wiz
e1b9c01aba Bump date for new quota.
Split "file system" like customary.
2011-03-06 17:22:50 +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
wiz
9ef313636b Various fixes:
Remove trailing whitespace.
Sort sections.
Sort errors.
Fix typos.
Use more markup.
Probably something else I forgot.
2011-03-06 17:19:25 +00:00
bouyer
73dead8f15 Add a note about a possible way to migrate limits from QUOTA to QUOTA2 2011-03-06 17:12:36 +00:00
bouyer
9090ace550 Docucment QUOTA2 2011-03-06 17:11:19 +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
christos
b5c8479490 don't abuse cf_unit, requested by phone. 2011-03-06 17:00:16 +00:00
christos
ce009e37f0 Check bits on each loop to prevent integer oveflow.
Reported by Maksymilian Arciemowicz
2011-03-06 16:00:20 +00:00
pooka
951e801a6b Add a race catcher for p2k_ffs renamerace -- it seems like the
problem doesn't trigger always especially in a qemu env (but triggers
100% of the time on my desktop).
2011-03-06 16:00:16 +00:00
tsutsui
e1901f8e74 Remove trailing spaces. 2011-03-06 14:58:42 +00:00
tsutsui
dcaf78e5b9 Remove trailing spaces and TABs. 2011-03-06 14:54:46 +00:00
tsutsui
ec6990c143 Remove extra TAB. 2011-03-06 14:52:37 +00:00
tsutsui
094e0e9bb0 Remove trailing spaces. 2011-03-06 14:51:21 +00:00
phx
b79587cca2 New experimental driver for SundanceIT ST1023 / IP1000+ NICs.
PHY initialization, media select and MAC address are working, but I found no
way to make the chip transmit any frame yet (although it clears the DONE flag).

Moved DSK_DECL to globals.h, where NIF_DECL already was.
2011-03-06 13:55:12 +00:00
pooka
172587ab09 Add a kludge to prevent a test run from completely hanging.
Some analysis:

1) p2k_ffs test program opens a socketpair and forks off rump_ffs
2) after mounting the file system, test program decides it
   wants to skip the test and exits
3) somehow, the puffs event thread of rump_ffs stays in kqueue
   waiting for activity.  fstat+gdb suggests it's waiting for the
   now-orphaned socketpair (but I didn't fully verify.  is there
   an easy way to dump the state of a kqueue descriptor?).
4) test program is a zombie
5) atf-run waits forever

Note: this doesn't trigger always.

So, it seems there are at least two bugs: 1) test case doesn't
timeout 2) the kevent call in rump_ffs never returns even though
the sockerpair is orphaned

So, explicitly unmount the file system before skipping the test.
Obviously the above bugs needs to be properly fixed, since other
skipping test cases can unbeknowingly trigger the issue.
2011-03-06 10:33:40 +00:00
martin
49f1dcc8e5 While we use hardware (for float and double), but cooperate with softfloat
(to do long double), we need to not only handle the hardware exception
mask and cummulated flags, but also update/query the softfloat variables.
Since this may go away sometime (to make us psABI compliant), ifdef it
properly.
2011-03-06 10:32:47 +00:00
martin
598174eb2b Apply local namespace protection equivalent to the weak alias done
in softfloat-for-gcc.h, which we can't include here, to move
"float_exception_mask" into implementation namespace.
2011-03-06 10:27:37 +00:00
tteras
349228b78c Quiet a gcc warning when strict-aliasing checks are enabled. Reported by
Stephen Clark.
2011-03-06 08:28:10 +00:00
jakllsch
7e5272d701 Bump SYMTAB_SPACE for the many other evbarm kernels that also need it increased. 2011-03-06 05:08:03 +00:00
rmind
f09748f46c {ffs_nodealloccg,ext2fs_nodealloccg,ext2fs_mapsearch}: use XOR and ffs()
to find free bits in the inode and block bitmaps, instead of the loop.

Obtained from FreeBSD (changes by jhb).
2011-03-06 04:46:26 +00:00
rmind
ae3b98c1b5 In a case of direct select, set only masked events, do not wakeup LWP
if no polled/selected events were set; also, count the correct return
value for the select.
2011-03-06 04:41:58 +00:00
sjg
b9fa549592 CWD should be compared against cwd 2011-03-06 04:34:25 +00:00
jmcneill
24ab1c235e match up libXi sources with those from libXi Makefile.am -- lots were
missing, including all of XI2 sources!
2011-03-06 04:10:55 +00:00
jakllsch
0df36b27f7 Remove trailing spaces. 2011-03-06 02:22:27 +00:00
jakllsch
db89ee153d Bump SYMTAB_SPACE. 2011-03-06 02:18:36 +00:00
mrg
724b4b6ca1 set build_libtool_libs to "yes" so that enable_shared=yes gets into
freetype-config.  part 1 of 2 to fix "freetype --config" not emitting
any rpath directives.
2011-03-06 00:59:18 +00:00
jmcneill
3b4fa1c0fc xref auvitek(4) 2011-03-06 00:39:11 +00:00
sjg
8892f885fd Add unit tests to check that exists(some/dir/) works
Also fix handling of sysV substitutions when lhs and variable are empty.

Also that modifiers do not cause errors during conditional tests
when undefined variables should otherwise be ok.
Ie. .if defined(nosuch) && ${nosuch:Mx} != ""
2011-03-06 00:02:14 +00:00
sjg
be4a1e2c49 Treat some/dir/ the same as some/dir/. 2011-03-05 23:57:05 +00:00
joerg
3fb7a604bd Fix compilation 2011-03-05 23:51:47 +00:00
joerg
f795a05e24 Disable COMPAT_IRIX and related code. The usefulness is under discussion
and code that dereferences pointer into userland without proper checking
needs a full audit.
2011-03-05 23:38:40 +00:00
jakllsch
c0fcf73bd6 Set the ENVSYS_FCHANGERFACT flag soon enough for it to make a difference. 2011-03-05 22:27:21 +00:00
jakllsch
405a0ee48c Use %zu for size_t in debugging printf. 2011-03-05 21:51:17 +00:00
jakllsch
65734ab916 Make interrupt establishment failure be noted like most other PCI drivers do. 2011-03-05 21:43:38 +00:00
jakllsch
ae52eb0e4e Correct #endif comment. 2011-03-05 21:38:34 +00:00
he
237bc87364 This port now installs an /usr/mdec/boot file, so note that here. 2011-03-05 21:19:46 +00:00
pooka
f8a62255a4 Put p2k_ffs back there -- i can't repeat any problems in my qemu/anita
runs.
2011-03-05 20:56:28 +00:00
christos
ced6de8764 protocol processing stuff moved. 2011-03-05 19:56:05 +00:00
joerg
557eb4273a Forward define of ps_strings. 2011-03-05 19:08:40 +00:00
joerg
8541527a4c p_psstr -> p_psstrp 2011-03-05 19:04:58 +00:00
christos
0b4b684637 From Dave Mills: It would appear that the two PHYs can only be
accessed from the registers of controller0 (mvgbec0) hence why both
PHYs are being detected on controller0. I have made the assumption
that PHY0 => controller0 (mvgbec0), PHY1 => controller1(mvgbec1)
and developed a patch accordingly. Also the irq is 15 for controller1
not 14.
2011-03-05 18:28:13 +00:00
pgoyette
405858d28f sets-list dance for new ps_strings tests 2011-03-05 18:14:55 +00:00
pgoyette
107fdb641e Add tests for verifying the recent changes to ps_strings
From joerg@ with atf-ification from myself.
2011-03-05 18:14:33 +00:00
christos
a469df4a1b add other os support from MirBSD 2011-03-05 16:38:46 +00:00
christos
5a8a9e34c6 add mimic_gnu for eval print. 2011-03-05 16:38:25 +00:00
christos
0b915be387 use TOKEN_LINE from MirBSD 2011-03-05 16:37:50 +00:00
matt
e7a3ba5387 Regen. 2011-03-05 15:36:50 +00:00