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
lukem
6ac207736c
Fix core dump when doing
...
mount fileserver:/somepath
by not passing a NULL pointer to getfsfile(3).
(Bug was introduced in rev 1.74 as part of fix for PR 28644.)
2005-03-18 04:24:35 +00:00
xtraeme
83d6c074cb
Bump the number of inodes to 1024 in the MFS case, needed to
...
create more devices in the ramdisk images, ok'ed by thorpej@.
2005-03-15 23:43:50 +00:00
atatat
6472d0c335
Make requestors of kern.file2 be referred to pstat (the same as
...
kern.file) and add EINVAL to the list of errno values which are
silently ignored when walking the tree.
2005-03-15 13:59:35 +00:00
christos
192c2eccf6
Add -lcrypt where -lcrypto is specified.
2005-03-09 03:11:22 +00:00
matt
57537259e8
Add ifconfig support for TCP Segment Offload
2005-03-06 00:13:36 +00:00
dsl
6d840cfd52
Simplify a_uid and a_gid, and fix a_mask to actually use its argument
...
(fortunately it is always called with 'optarg')
Saves a few bytes from mount_msdos in rescue_tiny.
2005-03-03 21:15:26 +00:00
wiz
0a22669b85
Bump date for previous.
2005-02-28 22:03:05 +00:00
oster
3202ca277a
Add a few more lines about the 'Parity status:' output of 'raidctl -s'.
...
This should address PR#29540.
2005-02-28 20:37:14 +00:00
uwe
410c49bf05
Support backlight, brightness and contrast wsdisplay paramteres.
...
Useful for hpc* ports.
2005-02-27 15:26:16 +00:00
perseant
5d2f3e4908
Various minor LFS improvements:
...
* Extend the lfs library from fsck_lfs(8) so that it can be used with a
not-yet-existent LFS. Make newfs_lfs(8) use this library, so it can
create LFSs whose Ifile is larger than one segment.
* Make newfs_lfs(8) use strsuftoi64() for its arguments, a la newfs(8).
* Make fsck_lfs(8) respect the "file system is clean" flag.
* Don't let fsck_lfs(8) think it has dirty blocks when invoked with the
-n flag.
2005-02-26 05:45:54 +00:00
manu
be15b99c92
Define SADB_X_EALG_AESCBC=SADB_X_EALG_AES, as we define SADB_X_EALG_AES
...
in <net/pfkeyv2.h> while ipsec-tools uses SADB_X_EALG_AESCBC in the code.
2005-02-24 13:45:08 +00:00
thorpej
df9803ce96
Part 1 of a cleanup pass over the SCSI subsystem. The aim is to name
...
everything "scsi_*", since we really are talking about the SCSI command
set, ATAPI transport not withstanding. Improve the names of many structures,
and prepend "SCSI_" onto all SCSI command opcodes. Place items described
by the SCSI Primary Commands document into scsi_spc.h.
2005-02-21 00:29:06 +00:00
christos
6cc7a7474f
Skip empty lines, and free the line buffer so that we don't leak.
2005-02-19 20:50:26 +00:00
christos
5422e51834
PR/29457: Joachim Kuebart: pppoectl's config file does not allow # in passwords
...
Fixed, by passing FPARSELN_UNESCALL in parsing.
2005-02-19 18:26:09 +00:00
thorpej
c5aea678b7
Additional cleanup pass.
2005-02-19 16:58:26 +00:00
thorpej
354f2a1004
Switch to ipsec-tools for libipsec, setkey, and racoon. From
...
Emmanuel Dreyfus, with some small changes by me.
2005-02-19 16:55:02 +00:00
xtraeme
0b39b8da10
Kill __P(), use ANSI function declarations.
2005-02-17 15:17:44 +00:00
xtraeme
f224c38b66
Kill __P(), use ANSI function declarations.
2005-02-17 15:00:33 +00:00
simonb
3cebd9325e
White space nit- don't put a space before/after increment/decrement
...
operators.
2005-02-11 06:21:21 +00:00
ws
d53c382dbf
Add support for large files (>2GB).
...
Allow conversion of old filesystems to use this,
if they are already at revision 1.
There probably should be an option to turn revision 0 to revision 1.
Reviewed (in part) by Manuel (bouyer@).
2005-02-09 22:55:45 +00:00
xtraeme
831d2b827b
Kill __P(), use ANSI function declarations.
2005-02-09 14:31:29 +00:00
xtraeme
f0121f1f1b
Kill __P(), use ANSI function declarations; WARNS=3.
2005-02-09 14:21:37 +00:00
xtraeme
39707ce809
Kill __P(), use ANSI function declarations; WARNS=3.
2005-02-09 14:09:46 +00:00
xtraeme
a8d83732cf
Kill __P(), use ANSI function declarations, constify; WARNS=3.
2005-02-09 13:57:57 +00:00
xtraeme
0b95ea2d66
WARNS=3.
2005-02-09 06:26:13 +00:00
xtraeme
f7f1785232
Kill __P(), use ANSI function declarations, constify; WARNS=3.
...
Reviewed by mrg@.
2005-02-09 05:51:38 +00:00
perry
5c9f370160
remove obsolete "register" declarations.
2005-02-06 06:13:47 +00:00
perry
251f7f5990
ANSIfy a function declaration, remove obsolete "register" declarations.
2005-02-06 06:13:12 +00:00
perry
72f1c263c6
ANSIfy a function declaration, remove obsolete "register" declaration.
2005-02-06 06:07:12 +00:00
xtraeme
60fef07963
Kill __P(), use ANSI function declarations; WARNS=3.
2005-02-05 14:55:44 +00:00
xtraeme
77bf707374
ll __P(), use ANSI function declarations; WARNS=3.
2005-02-05 14:54:35 +00:00
xtraeme
816b5578c8
Kill __P(), use ANSI function declarations; WARNS=3.
2005-02-05 14:47:18 +00:00
xtraeme
23bd8cd383
Kill __P(), use ANSI function declarations.
2005-02-05 14:44:46 +00:00
xtraeme
8a489f424f
Kill __P(), use ANSI function declarations; WARNS=3.
2005-02-05 14:35:25 +00:00
xtraeme
b64027cd07
Kill __P(), use ANSI function declarations.
2005-02-05 14:33:50 +00:00
xtraeme
e4e811215a
Kill __P();
2005-02-05 14:26:05 +00:00
xtraeme
bd95a8e7af
Kill __P(), use ANSI function declarations.
2005-02-05 14:23:24 +00:00
xtraeme
69cbd40c14
Kill __P(), use ANSI function declarations.
2005-02-05 14:05:23 +00:00
xtraeme
4ad9c5a867
Kill __P().
2005-02-05 13:47:19 +00:00
xtraeme
9bab889d46
Kill __P(), use ANSI function declarations; WARNS=3.
2005-02-05 13:37:39 +00:00
xtraeme
48bd1327fa
Finish previous (use ANSI function declarations) this time.
2005-02-05 13:17:54 +00:00
xtraeme
866012a7e2
Kill __P(), use ANSI function declarations.
2005-02-05 13:15:12 +00:00
xtraeme
921249f1c3
Kill __P(), use ANSI function declarations; WARNS=3.
2005-02-05 12:38:58 +00:00
wiz
0c1ed68c30
Give Dd the full month names as argument.
2005-02-01 13:38:53 +00:00
fredb
4627df7dfc
Greg Oster just reminded me, I left out "vax".
2005-01-31 17:11:33 +00:00
fredb
680ae8dc03
Sync with raid(4) regarding the architectures that support booting directly
...
from RAID 1, using language supplied by Anders Dinson in PR bin/29158, with
some additions by myself.
2005-01-31 16:42:15 +00:00
he
66369741ef
Move local variable declaration to variable declaration section at
...
top of function, and at least away from after active code within
a block. Fixes build problem with gcc 2 (for vax).
2005-01-31 14:18:08 +00:00
joff
9ff2922f8d
o Add missing SGI wskbd type
...
o Add new MATRIXKP wskbd type
2005-01-31 06:24:08 +00:00
erh
fdd16c549b
Fix PR#3617 and PR#3205: call realpath to convert mount points and paths to
...
device nodes into absolute paths before using them.
2005-01-31 05:19:18 +00:00
erh
897e5cc524
PR #28644 : Use realpath to make mount more forgiving of non-canonical
...
mount paths entered on the command line.
2005-01-31 02:32:35 +00:00
erh
a432762d9a
Fix PR#3205 for the -a case: when the list of mount points comes from the
...
kernel, always use "raw" mode (-R option) so unmounting odd mount points works.
Also, fix available options in SMALL mode to include -R, not -r.
2005-01-31 01:19:30 +00:00
yamt
389f0f7cb8
note that loopback mount is a bad idea.
2005-01-21 15:49:43 +00:00
wiz
d68085a6b6
"-offset indent" is fine for option lists -- re-add it,
...
backing out previous. jmmv does not disagree.
2005-01-21 10:40:01 +00:00
xtraeme
76500fc2f9
WARNS=2 is the default defined in sbin/Makefile.inc. (thanks wiz)
2005-01-20 16:39:22 +00:00
xtraeme
843cdb1983
Fix the cast for the getnameinfo() call in the status() function, which
...
should be "const struct" not "struct" for sockaddr.
WARNS=3
2005-01-20 16:16:10 +00:00
xtraeme
6b01b69054
Remove main() prototype; WARNS=3
2005-01-20 16:02:32 +00:00
xtraeme
784c275927
Remove main() prototype; WARNS=2
2005-01-20 16:01:02 +00:00
xtraeme
d40da986ee
Kill __P(), ANSIfy, remove main() prototype; WARNS=2
2005-01-20 15:59:40 +00:00
xtraeme
7b1148bc92
ANSIfy; WARNS=3
2005-01-20 15:56:30 +00:00
xtraeme
a448b41c5a
Remove main() prototype; WARNS=2
2005-01-20 15:55:01 +00:00
xtraeme
6d580415e4
ANSIfy; WARNS=3
2005-01-20 15:53:35 +00:00
xtraeme
ad7c30a166
WARNS=2
2005-01-20 15:52:09 +00:00
xtraeme
10928b7240
Kill __P(), ANSIfy, remove main() prototype; WARNS=3
2005-01-20 15:50:47 +00:00
xtraeme
e3529b263e
Kill __P(), ANSIfy, remove main() prototype; WARNS=2
2005-01-20 15:49:24 +00:00
xtraeme
7fb01f0f08
Remove main() prototype; WARNS=3
2005-01-20 15:47:51 +00:00
xtraeme
743ce43fbc
Kill __P(), remove main() prototype; WARNS=2
2005-01-20 15:36:02 +00:00
xtraeme
e3c8f73b9a
whitespace (pointed out by wiz@)
2005-01-20 15:29:40 +00:00
xtraeme
d9f85c2154
Kill __P(), ANSIfy, remove main() prototype; WARNS=3
2005-01-19 20:48:13 +00:00
xtraeme
2b44291ffe
Remove main() prototype.
2005-01-19 20:46:16 +00:00
xtraeme
8b90e8f10f
Remove main() prototype; WARNS=2
2005-01-19 20:43:06 +00:00
xtraeme
61d594f024
Kill __P(); WARNS=2
2005-01-19 20:42:04 +00:00
xtraeme
844f4c525d
Kill __P(), ANSIfy, remove main() prototype; WARNS=2
2005-01-19 20:37:52 +00:00
xtraeme
d4a0de51f8
Kill __P(), ANSIfy, remove main() prototype; WARNS=2
2005-01-19 20:19:04 +00:00
xtraeme
65e67723b5
Kill __P(), ANSIfy, remove main() prototype.
2005-01-19 20:00:45 +00:00
xtraeme
0f821b7962
ANSIfy, WARNS=2
2005-01-19 19:41:59 +00:00
xtraeme
ccde05f070
Kill __P(), ANSIfy, remove main() prototype; WARNS=2
2005-01-19 19:31:28 +00:00
xtraeme
665b6c1237
Add 'P' (progress meter flag) to getopt()'s optstring, remove
...
main() prototype.
2005-01-19 17:48:15 +00:00
xtraeme
52781d1897
Kill __P(), ANSIfy and WARNS=2
2005-01-19 17:33:58 +00:00
wiz
442b6cb908
Add -P to usage.
2005-01-19 16:42:14 +00:00
wiz
b15d62ff8b
Sort options. Bump date for -P. Remove superfluous -.
2005-01-19 16:41:04 +00:00
wiz
0826288907
Sync usage with reality.
2005-01-19 16:38:28 +00:00
wiz
9817d5f00a
Sort options.
2005-01-19 16:13:57 +00:00
dogcow
72e5ae587b
Add missing SMART attribute (6, Read channel margin)
2005-01-17 13:00:32 +00:00
christos
5f101a4767
When we run with 'fsck -f -n' we should go over all the filesystems, not
...
exit on the first one that fails. Add a new flag CHECK_NOFIX so that we
specify -n, we keep going.
2005-01-13 22:56:09 +00:00
christos
d90f13b3bf
Use -DPROGRESS to enable the progress bar, don't depend on SMALL.
2005-01-13 19:56:02 +00:00
christos
a73c2bd574
Add a progress meter to fsck_ffs based on the work by thorpej presented
...
to the mailing lists last January. This is optional.
2005-01-13 15:22:35 +00:00
jmmv
35495e3550
Remove extra indentation from the options list.
2005-01-13 13:21:24 +00:00
lukem
4dba64f5d3
Revert previous revert; we don't need RESCUEDIR handling here now
...
<bsd.prog.mk> has it.
2005-01-13 03:21:59 +00:00
drochner
bad8321653
apply "& WDOG_MODE_MASK" at some places, fixes termination of the
...
usermode tickler process and watchdog display,
make error handling more reasonable in case a wdog disappeared
2005-01-12 16:18:39 +00:00
simonb
3f75969658
Add (unsigned char) casts to is{digit,lower,space,upper} calls.
2005-01-12 09:04:53 +00:00
wiz
da2ab5ca28
Sort options in usage.
2005-01-11 11:30:19 +00:00
wiz
5bd1d870f9
Sort options. Fix a typo. Bump date for -e/-t.
2005-01-11 11:29:22 +00:00
wiz
36cdbd4840
Bump date for recent changes.
2005-01-11 09:39:12 +00:00
lukem
04eb493802
support RESCUEDIR (for mount_nfs and umount)
2005-01-10 20:53:48 +00:00
lukem
33349ca906
Revert previous; init(8) still needs special case handling for RESCUEDIR
...
otherwise the path to mount_mfs(8) and the standard $PATH will be wrong...
2005-01-10 10:59:49 +00:00
lukem
7157011597
Only compile in IPv6 support if ${USE_INET6} != "no"
...
MKINET6 is for providing IPv6 infrastructure.
USE_INET6 is for compiling IPv6 support into the programs (needs MKINET6).
2005-01-10 02:58:58 +00:00
lukem
8929bce61d
remove unnecessary comment
2005-01-10 02:53:39 +00:00
smb
ddd2ade252
Add a software watchdog timer facility. Because this slightly
...
changes the "tickle" model of wdogctl(8), it was modified as well;
while I was in there, I cleaned up the argument parsing.
The code was reviewed by simonb@.
2005-01-09 22:51:32 +00:00
fredb
57aad81b8e
Make a judicious choice as to whether to apply the permissions
...
of the root inode of the dump to the current working directory,
rather than interrogate the user. Closes PR bin/24690. Reviewed
by bouyer, tron, imp.
2005-01-08 14:30:39 +00:00
wiz
38b227d18c
New sentence, new line. Simplify macro usage.
2005-01-07 02:13:13 +00:00
ginsbach
661eb28d4c
Add command to read the defect data from a direct access device.
2005-01-07 02:08:34 +00:00
wiz
709d468844
Remove unnecessary dot, and bump date for new SEE ALSO section.
2005-01-06 15:28:13 +00:00
hubertf
149b104c3b
Add SEE ALSO section pointing at the scripts to create signatures
...
XXX they should be installed as veriexec_gen_* IMHO,
XXX not dwell in /usr/share/examples
2005-01-06 00:33:54 +00:00
elric
0664f91dd8
s/milliseconds/microseconds/ in comments and a variable because it is
...
misleading to say one when we've been meaning the other.
2005-01-04 04:55:18 +00:00
elric
1b0f3868f6
Fix comment. We're using microseconds not milliseconds.
2005-01-04 04:52:50 +00:00
elric
d28b037b6f
Fix bits vs. bytes problem in call to calibration routine.
2005-01-04 04:50:26 +00:00
christos
4eb7659c2c
PR/28782: OBATA Akio: Document that kern.rtc_offset is writable.
2004-12-26 16:57:09 +00:00
dyoung
9f2359d605
ifconfig -v prints 802.11 statistics. ifconfig -v prints and zeroes
...
802.11 statistics.
2004-12-20 23:04:55 +00:00
hubertf
0f0617751e
Add comment that there are strings attached to the fish. Beware!
...
(Source: http://www.livejournal.com/community/unixhistory/1808.html )
2004-12-20 10:28:47 +00:00
atatat
2971543eb5
Pass dynamic buffer pointer to display_string(), not static buffer
...
pointer. Causes...misfunction if the kernel says the buffer needs to
be too much larger.
2004-12-17 05:03:03 +00:00
snj
654ad24a7f
New sentence, new line, Xref fsck(8), use Dq.
2004-12-08 01:22:00 +00:00
jdolecek
19d91c00f9
document reload option, description shamelessly stolen off ffs_reload()
...
comment
2004-12-07 21:38:58 +00:00
christos
43b36b3a81
Add a missing =
2004-11-27 05:52:16 +00:00
wiz
055a617415
Remove "CFLAGS+=-g".
2004-11-25 14:10:28 +00:00
christos
f11900e378
Add arguments for ptyfs: slave tty group and mode, so we don't have to
...
hard-code them in the kernel.
2004-11-24 22:13:08 +00:00
wiz
7bed7b9328
New sentence, new line.
2004-11-22 12:22:45 +00:00
jdolecek
c22d8df64f
update for UTF-8 encoding of Unicode file names on Joliet filesystems
2004-11-21 23:06:23 +00:00
jdolecek
a9ebca7170
add vfs.cd9660.utf8_joliet, and couple other vfs.* entries while here
...
bump date and add TNF copyright
2004-11-21 22:18:10 +00:00
jmmv
95579e29b6
Minor grammar improvements.
2004-11-21 09:09:46 +00:00
wiz
7913b43af5
Fix typo in error message, reported by Nicolas Joly in PR 28347.
2004-11-18 12:00:18 +00:00
hubertf
33c4eac6f2
Remove (wrong?) default for minfree, xref newfs.8 instead.
...
Suggested by Ignatios.
2004-11-18 00:11:48 +00:00
fvdl
08d19d088d
* don't swap the WDSMART_CYL value, it isn't needed
...
* swap the 16- and 32 bit fields of the SMART structures (where used)
Makes SMART commands work on big-endian systems.
2004-11-17 15:40:50 +00:00
itojun
b95181fc9b
NI_WITHSCOPEID was not picked up by IETF standardization process.
2004-11-16 05:59:32 +00:00
christos
fdad6cabc9
Use the 1st element's size as the argument to bsearch.
2004-11-15 21:59:23 +00:00
he
5cdd904c9b
Add a cast to unsigned char when using a ctype function/macro.
2004-11-15 12:21:29 +00:00
christos
88825a8a55
Use ptype table from <sys/bootblock.h>
2004-11-12 16:57:46 +00:00
hubertf
531272da6c
Translate an error message from C to english.
...
Before: disklabel: warning, partition g: offset % cylinder-size != 0
After: disklabel: warning, partition g: not starting on cylinder boundary
2004-11-12 01:00:40 +00:00
dsl
9d819ed558
Functions for converting media types to/from text are now in libutil.
2004-11-11 20:37:18 +00:00
jdolecek
e8950fdc08
add -I${NETBSDSRCDIR}/sys into CPPFLAGS, so that this picks up necessary
...
kernel includes without need to have them installed
2004-11-11 19:10:16 +00:00
christos
d7f4671483
Add a license; thanks manu.
2004-11-11 13:42:55 +00:00
wiz
8d811eccec
Nit fixes.
2004-11-11 13:20:42 +00:00
yamt
096fec04a9
move pf reachover makefiles into usr.sbin/pf. ok'ed by itojun.
...
before:
sbin/pfctl
usr.sbin/authpf
usr.sbin/spamdb
libexec/ftp-proxy
libexec/spamd
libexec/spamd-setup
libexec/spamlogd
after:
usr.sbin/pf/pfctl
usr.sbin/pf/authpf
usr.sbin/pf/spamdb
usr.sbin/pf/ftp-proxy
usr.sbin/pf/spamd
usr.sbin/pf/spamd-setup
usr.sbin/pf/spamlogd
2004-11-11 11:54:51 +00:00
christos
0edc1994f6
add mount_ptyfs
2004-11-11 01:55:27 +00:00
christos
1bd4f21d5a
Add userland glue for ptyfs.
2004-11-11 01:42:17 +00:00
christos
88ddc79ebd
Add 0xBF for Solaris. From Larry Lee <lclee at west.sun.com>
2004-11-10 02:39:48 +00:00
dsl
1869f0e146
Add (unsigned char) cast to ctype functions
2004-11-05 21:56:01 +00:00
dsl
404e35b651
Add (unsigned char) cast to ctype function, reworked to fit on one line
2004-10-29 19:32:22 +00:00
dsl
91d3fe12d9
Add (unsigned char) cast to ctype function
2004-10-29 19:15:20 +00:00
dsl
9ab983c04a
Add (unsigned char) cast to ctype function
2004-10-29 19:04:39 +00:00
dsl
09993d7a4e
Rewrite getdisklabelpart() to avoid problems with isdigit(*ch_ptr) and
...
an incorrect check for a (probably impossible) empty string.
Add comments to avoid confusion...
2004-10-29 19:02:17 +00:00
dsl
e6bc82d904
Add (unsigned char) cast to ctype function
...
Fix check for device name ending in [0-9a-h] (strchr(dev, 0) doesn't ever
return NULL - which is fortunate because the () were wrong as well!)
2004-10-29 17:37:30 +00:00
dsl
4b6e82d128
Add (unsigned char) cast to isdigit call
2004-10-28 20:17:19 +00:00
dsl
57030cf931
More isdigit() calls that need (unsigned char) cast
2004-10-28 20:10:29 +00:00
dsl
750ce43a65
Add (unsigned char) to isdigit() call
2004-10-28 19:59:09 +00:00
dsl
25b17683bd
Add (unsigned char) to isdigit() calls
2004-10-28 19:48:41 +00:00
dsl
7e4021e835
Add (unsigned char) to isdigit()
2004-10-28 19:43:29 +00:00
dsl
28793e3d2c
Add (unsigned char) to isdidgit call
2004-10-28 19:40:47 +00:00
peter
0d5d8e993a
Fix a typo in a comment.
2004-10-27 19:36:31 +00:00
oster
42abd8f7a0
Cleanup a bit by nuking RF_Malloc macro, and add in some error
...
checking for the case where we can't allocate memory. (Not like
anyone uses this part of the code anyway.)
2004-10-26 22:46:27 +00:00
oster
fa730392bc
Strip off trailing \n's and spaces from configuration file lines.
...
Makes RAIDframe more forgiving if you accidentally add a space after
things like device names. Fixed at long last after a reminder over
the weekend.
2004-10-26 19:52:21 +00:00
oster
2b7fd0220d
How about we use the 'len' parameter to rf_get_next_nonblank_line()
...
instead of assuming all buffers are 256 bytes.
2004-10-26 19:23:19 +00:00
wiz
2f2f733ec3
Sort options.
2004-10-24 17:01:22 +00:00
wiz
3d110d313a
Sort options in usage.
2004-10-24 17:01:07 +00:00
snj
24641424de
Kill trailing whitespace introduced in the last revision.
2004-10-23 00:41:08 +00:00
snj
e85784770d
Bump date for last, fix a spelling error, sprinkle some Dq, change
...
some wording.
2004-10-23 00:39:18 +00:00
bouyer
0a0bd752e8
Add an option (-M) to write a mtree specification (which needs to be passed
...
through sort before being feed to mtree) with file flags, instead of restoring
file flags at the same time as other attributes. Fix various issue with
schg, uchg, sappnd or uappnd flags which cause restore to fail in some case.
Discussed on tech-userlevel:
http://mail-index.netbsd.org/tech-userlevel/2004/10/12/0000.html
2004-10-22 22:38:38 +00:00
dsainty
1dfaf4a3ca
Rearrange the option formatting to be both prettier and more complete
2004-10-21 10:13:00 +00:00
jdolecek
0154132fed
constify handlers[]
2004-10-17 11:04:39 +00:00
snj
32eca9407f
New sentence, new line; use .Dq instead of ``''.
2004-10-16 05:44:59 +00:00
dsainty
9a582784d5
Bump date for -n description
2004-10-16 04:38:53 +00:00
dsainty
d01162a3bc
Added -n option, which tests for a present core but doesn't write it
...
to disk or clear it (does 'nothing').
http://mail-index.netbsd.org/tech-userlevel/2004/10/09/0000.html
2004-10-16 04:29:27 +00:00
dsainty
4b46224291
Added -n option, which tests for a present core but doesn't write it
...
to disk or clear it (does 'nothing').
http://mail-index.netbsd.org/tech-userlevel/2004/10/09/0000.html
2004-10-16 03:48:15 +00:00
salo
61948d78ec
Correct the omission in 're-enter' verification method addition in EXAMPLES.
2004-10-15 15:25:14 +00:00
daniel
84a34aedec
Add vm.bufcache, vm.bufmem, vm.bufmem_lowater, m.bufmem_hiwater (PR misc/27247, misc/27233).
2004-10-15 08:47:16 +00:00
gavan
0560d8b947
Initial import of iyonix port.
...
The Iyonix is a desktop machine from Castle Technology, based on a 600MHz
XScale[tm] 80321 processor.
* Uses the bootloader from NetBSD/acorn32, which is now 32-bit compatible.
* Currently boots multiuser with a serial console.
* Device support is not yet complete.
With help from abs.
2004-10-13 23:28:34 +00:00
dan
603344819a
be explicit about the perms of mfs /dev
2004-10-12 10:08:09 +00:00
dsl
eef12d4ee1
De __P
2004-10-11 20:13:37 +00:00
dsl
edfa669ef6
Remove all the caddr_t - mainly casts of the 3rd arg to ioctl()
2004-10-11 17:13:55 +00:00
dbj
0f5aab3826
always print warning and return non-zero exit when there are unresolved inconsistencies.
2004-10-11 15:24:09 +00:00
wiz
67bfa4e06f
Bump date for "offline" description.
2004-10-10 09:45:10 +00:00
ragge
801400d3c7
Cast to (long long int) to make last change compile on amd64.
2004-10-09 20:08:44 +00:00
dsainty
ed00687c42
Comment typo: unecessary->unnecessary
2004-10-09 02:51:19 +00:00
soren
d353df2fed
Add offline command to usage() and man page.
2004-10-08 18:53:42 +00:00
dbj
43cd78416c
when allocating inodes, such as for the lost+found directory,
...
extend the inostat array if needed. Otherwise, inoinfo() will
return the static "unallocated" inode template, which was
getting improperly modified.
Before this fix, any time the lost+found directory got created,
fsck would set all of the inode/directory counts wrong since
suddenly unallocated inodes would turn into directory inodes
2004-10-08 17:33:52 +00:00
dbj
6ca6b809d3
have allocdir fail cleanly when allocino fails
2004-10-08 17:29:29 +00:00
mycroft
82f913eae9
Combine the listing of enabled/disabled features with the general listing of
...
features.
Add an "smart error-log" command to display the SMART error-log.
Add an "offline" command to run offline selftests.
2004-10-08 17:19:50 +00:00
dbj
a10669f5c2
if debug, print found/expected block & inode counts when incorrect
2004-10-08 16:42:55 +00:00
martin
bafafd830d
Use PRI* format strings to print 64 bit data types.
2004-09-28 10:01:42 +00:00
wiz
76b7f3faf9
Improve formatting.
2004-09-25 12:44:25 +00:00
snj
b7fd6fcc52
Bump date for last.
2004-09-25 04:00:49 +00:00
thorpej
ef92b0de59
Try the DIOCGWEDGEINFO ioctl first. If that succeeds (i.e. the block
...
device is a wedge), use the partition type string from the dkwedge_info
structure to get the file system type.
2004-09-25 03:32:52 +00:00
thorpej
0e37eeed2c
Add commands to create, delete, and query the configuration of wedges.
2004-09-25 03:31:35 +00:00
thorpej
6e82649d8e
Change the default volume label from "NO NAME" to "NO_NAME". Note the
...
default in the manual page.
2004-09-22 23:52:38 +00:00
thorpej
3af81aff5a
Default the OEM ID to "NetBSD" rather than "BSD 4.4". (Geez, did 4.4BSD
...
even have a newfs_msdos command?)
2004-09-22 23:46:38 +00:00
thorpej
d06c5d9fc6
Correct some examples, and note when it was first included in NetBSD,
...
not FreeBSD.
2004-09-22 23:40:49 +00:00
rumble
dab9f713b9
Do not exceed 80 columns. No functional change.
2004-09-21 15:47:32 +00:00
yamt
22ce35857e
fix blks command.
...
- use 64-bit variables for lbns.
- correct file block offsets in the case of absent indirect blocks.
2004-09-17 12:18:55 +00:00
erh
4ed261aea9
Add a couple cross-references to make similar ctl commands easier to find.
2004-09-16 18:02:27 +00:00
minoura
da5384833d
Changes from rev 1.34 and 1.35 of sbin/newfs_lfs/lfs.c.
2004-09-15 03:24:09 +00:00
dsl
9721e88965
Fix intuit_translated_geometry() calculation.
...
From Izumi Tsutsui in PR bin/26917
2004-09-12 07:46:24 +00:00
yamt
48f5be416a
- calculate maxfilesize dynamically rather than having a static table.
...
- no longer limit filesize to INT32_MAX. file lbns are 64-bit these days.
anyway, on-disk format shouldn't be limited by the kernel internals.
2004-09-11 08:33:53 +00:00
atatat
d96c6bad93
Add some more attribute "names", taken from
...
http://freepgs.com/smart/attributes.php
which gets them from smartmontools as maintained by Bruce Allen.
Note that some of these attributes should be "named" differently
depending on the drive (point for future work?), but at least now
there are names for some of the one that were missing them.
2004-09-10 04:11:09 +00:00
atatat
2a3ef0e821
White space police
2004-09-10 03:43:52 +00:00
yamt
6928fd95a8
fix a sign expansion bug for >=8k blocksizes.
2004-09-09 22:57:19 +00:00
jrf
190b2e4c51
Replaced strncpy with strlcpy. Thanks to Peter Postma who
...
pointed them our in PR #25762 . Approved by christos@NetBSD.org .
2004-09-07 13:20:39 +00:00
lukem
1e6cfcfcaf
fix typo
2004-09-07 02:18:06 +00:00
jdolecek
56afb5b885
fix typo
2004-09-01 19:38:09 +00:00
chs
a3b206f61a
pass data to a function via an argument instead of via a global variable.
...
this avoids a name collision with libcurses functions when both are
present in a crunched static binary. part of PR 26458.
2004-09-01 01:47:09 +00:00
uwe
06227c9f8b
Drop bogus .Bl/.El uncovered by new mdoc.
2004-08-31 17:08:06 +00:00
wiz
ef90a2a4b4
Bump date for improved bad sector
...
description.
2004-08-30 12:53:30 +00:00