Commit Graph

3918 Commits

Author SHA1 Message Date
perseant
4c0e96afd6 Use the buffer cache improvements from fsck_lfs. Make it build again. 2005-04-12 01:06:39 +00:00
perseant
1d4cc6a17b Be more efficient with the hash tables for the buffer and vnode caches.
Note that roll-forward can add more inodes to the filesystem; don't overflow
the tables but reallocate them.
2005-04-11 23:19:24 +00:00
christos
8dba43fbdf Recognize more units and be more helpful when we enter bad units. 2005-04-07 21:27:44 +00:00
dsl
4118385742 Allow partition sizes to be input in GB 2005-04-07 20:23:13 +00:00
christos
ad6c31cee3 PPR/29909: Manuel Bouyer: sysctl dumps core if kern.consdev returns unknown
device.  If we cannot determine the device name of the console, print the
console dev_t in hex.
2005-04-06 21:13:03 +00:00
perseant
e6e33f374d Correct phase 0 message 2005-04-06 04:32:59 +00:00
perseant
aafc65baa9 Note that fsck_lfs may not know beforehand whether a given block is a
superblock or a segment summary, and tries both.  These may be different
sizes.  Fix a broken assertion that they are the same size.

Fixes PR # 29151.
2005-04-06 02:38:17 +00:00
hubertf
f3d4ac7cff Portuguese keyboards are supported to.
By Rui Paulo in PR 29884.
2005-04-05 12:17:17 +00:00
he
2d66b2737e Move the definition of simple_lock() and simple_unlock() to a common
header, since more of the LFS macros now use these functions.  Since
we're outside of the kernel, these are defined to be empty.
2005-04-01 23:45:59 +00:00
abs
446520f017 Fix typo 'and the go' -> 'and then go' 2005-04-01 20:40:17 +00:00
xtraeme
a3d534b973 tabify 2005-03-31 15:55:57 +00:00
wiz
0f210657f7 Add -i to SYNOPSIS. 2005-03-31 11:43:14 +00:00
xtraeme
51a4a28d70 Add -i option, it's just the same than -f in lfs_cleanerd(8), ok'ed
thorpej@.
2005-03-31 03:07:38 +00:00
elric
1cdd98012f setprogname(3) needs to come before calls to err(3). 2005-03-30 20:59:34 +00:00
elric
6230b2ec40 Lock all memory. 2005-03-30 19:56:05 +00:00
elric
646d61aa58 one more malloc -> emalloc. 2005-03-30 17:17:51 +00:00
christos
f8ce51d45f Centralize error checking for malloc,calloc,strdup. 2005-03-30 17:10:18 +00:00
elric
2dcfc0c616 Turn off core dumps. 2005-03-30 15:45:56 +00:00
hubertf
7f4783a74b Xref mscdlabel(8) - it may be useful. Bump date. 2005-03-29 01:24:10 +00:00
christos
7a221682eb make sysctl -n print the real console tty name and -nn print the numeric
value.
XXX: -n means don't print name, not numeric. We should stop overloading
it and use a different flag.
2005-03-28 04:03:13 +00:00
perseant
7f73a7b740 "#define lfs_devvp lfs_unlockvp" for readability, since that's what we
use it for in fsck_lfs/newfs_lfs.
2005-03-25 20:17:58 +00:00
perseant
dcba0206d6 "#define lfs_devvp lfs_unlockvp" for readability, since that's what we
use it for in fsck_lfs/newfs_lfs.
2005-03-25 20:16:37 +00:00
perseant
3118a7b178 Make fsck_lfs optimize the inode free list, if it appears to have become
too disordered.  This should improve file creation speed on aged filesystems.
Include code to disorder the list for debugging purposes, though this is
of course not compiled in by default.
2005-03-25 20:14:43 +00:00
atatat
0f48b53686 If a "create" or "destroy" operation succeeds, mark the cached tree as
"stale" so that the next time we try to read or write to it, we can
purge (and refresh) it.

Addresses PR 29222.
2005-03-23 03:45:25 +00:00
yamt
89b983894d remove IFFBITS definition. now net/if.h has it.
PR/29748 from FUKAUMI Naoki.
2005-03-20 15:34:47 +00:00
yamt
5e26e86d45 add a reminder comment for x_ifconfig. 2005-03-20 14:24:13 +00:00
thorpej
be8f682caf IFFBITS and IFCAPBITS are now defined in <net/if.h> 2005-03-20 02:51:47 +00:00
thorpej
d14cc8f89c Remove an #ifdef that is no longer necessary. 2005-03-20 02:44:50 +00:00
thorpej
f76f47a0df Don't build af_inet6.c if USE_INET6 is no. 2005-03-20 02:44:25 +00:00
thorpej
e00adb14b6 Split the IPv4 support into its own file. 2005-03-20 02:43:50 +00:00
thorpej
20f1388354 Move a comment. 2005-03-20 01:10:51 +00:00
thorpej
26dbe00d59 Split IPv6 support out into its own file. 2005-03-20 01:09:16 +00:00
thorpej
4fd9a96b1d Split OSI support off into its own file. 2005-03-20 00:02:58 +00:00
thorpej
e7c8ca2ae5 Split XNS support into its own file. 2005-03-19 23:46:03 +00:00
thorpej
acdfacb1c3 Split off AppleTalk support into its own file. 2005-03-19 23:32:55 +00:00
atatat
160438234d Fix possible segmentation fault when retrieving descriptions. Thought
I committed this a while ago.  I guess the fact that no one filed a pr
meant no one else found it.  :)
2005-03-19 23:19:17 +00:00
thorpej
c6266968d5 const'ify afswtch 2005-03-19 23:16:55 +00:00
thorpej
1a5470cfdd Split off 802.11 interface handling into its own file. 2005-03-19 23:13:42 +00:00
thorpej
519737e8ff Don't hare-code inet/inet6 in tunnel_status(), lookup the address family
name instead.
2005-03-19 22:57:06 +00:00
yamt
1ba14738a5 make this compilable with USE_INET6=no. 2005-03-19 18:16:06 +00:00
thorpej
e6d38785ff Split tunnel support into its own file. 2005-03-19 17:32:26 +00:00
thorpej
21117c1aaf name -> ifname (avoid shadow decl with global name[]). 2005-03-19 17:31:48 +00:00
thorpej
1054956d85 Move extern decls to extern.h 2005-03-19 03:56:06 +00:00
thorpej
0fded9bea2 Split VLAN configuration bits out into a separate file. 2005-03-19 03:53:55 +00:00
perseant
9740d8d0b2 Buffer cache fixes: make sure we initialize all the hash lists, and allow
the cache to grow in size irrespective of how many buffers may be in the
locked queue, since we can't write those in any case.  Prevents fsck_lfs
from spinning when it has too much to write.
2005-03-19 00:43:17 +00:00
yamt
712c784484 update usage() for agr(4). pointed by Thomas Klausner. 2005-03-18 14:30:08 +00:00
wiz
f2636e2d3d Link to vlan(4) too, suggested by yamt. 2005-03-18 14:18:06 +00:00
wiz
2fa6ad9b68 Bump date for agr; add agr(4) to SEE ALSO. 2005-03-18 12:43:56 +00:00
yamt
5240b887db add agr(4), a pseudo network device driver for link aggregation. 2005-03-18 11:11:50 +00:00
atatat
64dd54edba Use regexes instead of static lists of annoying numbers to recognize
sysctl nodes that have "helpers".  This is more concise, imho more
easy to understand, and has the added bonus of making it *possible* to
assign helpers to dynamically numbered nodes.
2005-03-18 04:52:24 +00:00