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
drochner
afa0d914f3
mention that the "badsector" subcommend depends on the WD_BADSECTOR
...
kernel option
2004-08-30 09:38:28 +00:00
wiz
484705032c
Bump date for removal of net.key.random_int.
2004-08-27 14:35:11 +00:00
itojun
8ba8c58e74
remove net.key.random_int
2004-08-27 04:58:10 +00:00
christos
4ee0bfb762
Remove special case for RESCUEDIR
2004-08-19 23:02:51 +00:00
christos
c7e7e2b5bf
Remove special case
2004-08-19 23:02:27 +00:00
christos
79455d444d
Handle RESCUEDIR
2004-08-19 23:00:22 +00:00
christos
ea369b9669
Deal with RESCUEDIR
2004-08-19 22:25:49 +00:00
christos
684fe4faed
Remove RESCUEDIR hack; it will be done centrally.
2004-08-19 22:21:51 +00:00
drochner
bdf36e0430
+drvctl
2004-08-19 10:20:59 +00:00
wiz
702f9dca18
Sync usage with man page.
2004-08-18 13:24:55 +00:00
wiz
79632fc9ad
New sentence, new line.
2004-08-18 13:21:36 +00:00
drochner
0c34f6cd99
add a little utility to exercise the rescan / detach autoconf functions
2004-08-18 12:30:01 +00:00
mycroft
e0fc84bd24
Put back one of the sleep()s -- it doesn't affect us in the usual case.
2004-08-13 17:22:39 +00:00
mycroft
f3b5a6849c
Replace the sleep(2) in setctty() with a nanosleep(), with a default value of
...
250ms.
2004-08-13 17:19:15 +00:00
mycroft
40321c3f44
Remove a completely gratuitous 30 delay if you enter the wrong shell path.
2004-08-13 17:11:49 +00:00