fvdl
93beca224d
Fix spelling.
2001-01-17 11:58:33 +00:00
fvdl
6129a28444
Document -o linux option.
2001-01-17 11:57:54 +00:00
itojun
b3705ee26f
unbroken slash notation (10.0.0.0/8) for IPv4.
2001-01-17 06:10:37 +00:00
itojun
f3a31dc12d
support "prefixlen n" for IPv4 too.
2001-01-17 06:07:32 +00:00
fvdl
a7fede800b
Add handling of -o linux.
2001-01-17 00:09:54 +00:00
cgd
d594ce939b
comment or delete text after CPP directives.
2001-01-16 02:50:27 +00:00
cgd
09995c7b56
generated source should include stdlib.h and string.h for prototypes.
2001-01-16 02:37:35 +00:00
itojun
7846de58b2
specify interface by using interface index (set/getsockopt with 0.0.0.0/8).
2001-01-15 13:19:12 +00:00
christos
8ce2d80d7a
back out previous; it is better for now to handle the dependencies in
...
bsd.prog.mk
2001-01-14 09:41:41 +00:00
christos
c26e2519ac
add .NOTMAIN for good measure.
2001-01-14 09:24:30 +00:00
christos
726afedd26
don't use OBJS in the dependency line because it is not defined yet.
2001-01-14 09:22:01 +00:00
christos
9b6a2fbeb4
don't use OBJ in the dependency line cause it is not defined yet.
2001-01-14 09:21:24 +00:00
itojun
b2f011d7b6
avoid signal handler race. help from deraadt
2001-01-12 19:13:41 +00:00
itojun
3a616a4855
correct use of howmany() for fd_set. commented by deraadt
2001-01-12 18:50:57 +00:00
martin
1bb8e47f65
Make option flag variables static. This avoids a conflict between
...
'int compress' in savecore.c and the function 'compress' in libz.
Gnu ld 2.10 (with BFD 2.10) used on sparc64 warns this conflict
(symbol "compress" changed size).
2001-01-11 20:27:12 +00:00
soren
65c1d02861
Remove extern __progname from enable_user(); no longer used.
2001-01-11 16:37:41 +00:00
lukem
0645f2f67b
use explicit name rather than __progname in openlog
2001-01-11 01:34:28 +00:00
lukem
3efcec3cf5
remove unnecessary ":" in openlog ident
2001-01-11 01:33:35 +00:00
mycroft
521984e793
Whoops; call propagate() with the right child inode number. (Doesn't break
...
anything, but it would have made reconnect less efficient.)
2001-01-10 08:26:20 +00:00
mycroft
f5a9d5eadc
Abstract the code to attach a directory to its parent's child list into a
...
separate function, and call it from multiple places in linkup() to handle
reconnects and creation of /lost+found.
2001-01-10 08:22:20 +00:00
lukem
d4b8ad46d7
don't use LOG_CONS
...
fix typo
2001-01-10 07:59:43 +00:00
lukem
790602fd72
deprecate LOG_ODELAY; it's the default
2001-01-10 03:47:41 +00:00
lukem
f022cce90b
use openlog correctly...
2001-01-10 03:41:35 +00:00
lukem
415d1abdd8
be consistent (both internally and with other programs):
...
log_err fatal errors
log_warning non-fatal errors & warnings
log_debug debug messages (#ifdef DEBUG)
2001-01-10 03:33:16 +00:00
hubertf
44d7ee0289
* Document the vendor.* sysctl branch
...
* in sysctl.3, sort the list of CTL_ prefixes and sync with sysctl.h
2001-01-10 03:03:02 +00:00
lukem
37a54a1e9c
deprecate LOG_ODELAY; it's the default
2001-01-10 03:01:41 +00:00
fvdl
4f289ff858
Number of toplevel names grew by one, account for it.
2001-01-09 21:31:02 +00:00
augustss
e85ca50c79
Document what can happen with bad Rock Ridge info on the CD.
...
(Perhaps this can save someone the two hours I spent in the kernel
debugger tracking this down. :)
2001-01-09 20:51:26 +00:00
mycroft
d722519e03
Make sure the rotor values are non-negative.
2001-01-09 11:20:00 +00:00
mycroft
a48409305d
A minor tweak.
2001-01-09 09:25:32 +00:00
enami
6c06fd4f9f
Don't swap cg_clustersum(cg)[0]. It doesn't actually exists and it's
...
actually tail of free block bitmap.
XXX swap_cg() should be shared with newfs.
2001-01-09 09:08:35 +00:00
mycroft
c4c9a7ecc0
Remove a bogus piece of code that was never used.
2001-01-09 06:05:10 +00:00
mycroft
66418680d4
The reconnect algorithm was historically O(n^4).
...
Some years ago I made it O(n^2).
Someone helpfully made it O(n^4) again.
Today I'm making it O(n).
If that's not good enough, I don't know what else to do. B-)
Technical details:
* The graph traversal in propagate() is modified to be able to start from any
point in the tree. To handle certain exceptional cases, it is also modified
to work in two passes, marking the tree with a special tag and then changing
it to DFOUND.
* The reconnect case now modifies the child/sibling pointers and calls
propagate() to propagate the connection state starting with the reconnected
directory.
Pray that you never encounter a file system trashed enough for this to matter.
2001-01-09 05:51:14 +00:00
mycroft
3f2ff10f4c
Try to cope with cs_ndir being wacky (too large or, particularly when using -b,
...
too damn small) by setting a minimum (1024) and maximum (maxino + 1). This
prevents certain operations getting REALLY slow when -b is used, and also
avoids overallocating memory if the superblock is hosed.
2001-01-09 05:39:27 +00:00
itojun
c5520fd00b
uninitialized pointer. PR 11702
2001-01-08 14:06:12 +00:00
fvdl
275b941468
When -I is specified, we mean to initialize the label if it's not there
...
already. So, don't fail if there appears to be a corrupt label or
no 'fake' label; get the 'default' label (which is generated
from DIOCGDEFLABEL) instead.
2001-01-08 02:19:58 +00:00
joff
42ac80ad6d
Fixed blockmap handling to properly use disk blocks rather than fragments.
...
Fixes an issue with fsck_lfs not detecting all duplicate blocks that may
exist in a corrupted filesystem.
2001-01-06 23:08:24 +00:00
cgd
169563b7c1
#warn is _not_ the GCC CPP directive that gives a warning, #warning is.
...
(this code has, apparently, always been wrong, but current GCC is kind
enough to warn about unknown CPP directives.)
2001-01-06 00:35:54 +00:00
lukem
f7650338ca
use %ll_ instead of the less standard %q_
2001-01-05 02:02:57 +00:00
lukem
ca48483336
minor knf
2001-01-05 01:41:34 +00:00
lukem
03c663afbc
change verbose probe message to display "size xxx (yyy MB), offset zzz".
...
use %u instead of %d.
2001-01-04 00:57:14 +00:00
enami
0cd4f6f4aa
Test read(2) failure by read(..., sizeof(n)) != sizeof(n) instead of
...
< sizeof(n) to avoid unwanted type promotion.
2001-01-03 06:57:57 +00:00
enami
a48aa06c73
Kill whitespace at the end of line.
2001-01-03 06:55:30 +00:00
joda
7e74657e37
use gzip instead of compress
2001-01-02 21:39:37 +00:00
lukem
834e92eedc
Bump the field width of `K to go' from 6 to 8; some systems have more
...
than 999999 KB of RAM... (this will suffice until it's common to have
~ 100 GB of RAM :)
2001-01-02 00:29:37 +00:00
itojun
1bc3ecd398
support IPv6. PR 11858 from ura@hiru.aoba.yokohama.jp
2000-12-31 06:03:52 +00:00
itojun
f911e7eded
indent and pedant. from deraadt. sync with kame
2000-12-31 05:04:15 +00:00
wiz
944d6ad333
Check return value of fgets. Approved by Greg Oster.
2000-12-31 01:58:03 +00:00
wiz
4b4b4ba4ae
Fix typo in v1.38.
2000-12-30 15:32:19 +00:00
wiz
f81de5856b
sprinkle some const's
2000-12-30 15:03:23 +00:00