simonb
e37b3f410c
Use 64-bit arithmetic to calculate fragsperinodeblk, avoiding 32-bit
...
overflows for large values of "-i bytes-per-inode".
2006-01-21 12:32:14 +00:00
dsl
09d4a5d5c8
Izumi Tsutsui pointed out that we don't need vfslist.c (from ../mount)
...
if we are defining SMALL.
2006-01-21 11:59:53 +00:00
yamt
7273d6e313
whitespace.
2006-01-21 10:55:56 +00:00
dsl
3dd504cd3b
Set -DSMALL if SMALLPROG defined - ie building install ramdisk images.
...
Removes the code that uses rpc to query remote systems about nfs mounts.
The last references to the xdr routines escape - saving 64k+
2006-01-21 10:34:32 +00:00
dsl
a16ca1845f
Use the rpc code from sys/lib/libsa to determine the root file handle.
...
Saves the code from depending on the xdr functions.
Tested on i386 and IPv4, may need tweaking for IPv6 and using TCP for the
portmap/mount functions.
2006-01-21 10:32:23 +00:00
dsl
1e0f45064e
Add '-V' to usage output.
...
Correct a couple of comments.
2006-01-16 21:34:41 +00:00
dsl
afbe178ee2
Add a '-V verbose' option that controls the amount of info writen to stdout.
...
0: No output. Default for mount_mfs unless -N specified
1: Output size of partition and cylinder groups.
2: Follow with a progress-bar line of dots (scaled to finish at RH margin)
3: Include a single line of alternate suberblock addresses before progress
bar. Default for newfs.
4: Output lots of lines of alternate superblock numbers that scroll madly
up the screen.
If -N given, newfs/mount_mfs exits before displaying any progress bar.
Output constrained (almost always) to 1 column less than the terminal width.
2006-01-15 19:49:25 +00:00
elad
48c362c085
add some more to kern.
2006-01-14 11:52:20 +00:00
elad
0fd32b39ab
remove dup cnmagic.
2006-01-14 11:11:08 +00:00
elad
8ff7a54798
Sync and sort ddb, hw, kern, vm.
2006-01-14 10:33:11 +00:00
elad
3b0d736d23
oops - this should not have been commited. remove sugid_coredump line.
2006-01-13 21:10:34 +00:00
elad
6aa189f3fb
grrr... another space -> tab...
2006-01-13 18:45:47 +00:00
elad
7ddc0d80bd
space -> tab
2006-01-13 18:44:51 +00:00
elad
0e7647e2dd
Sync net.{inet,inet6,key}
2006-01-13 18:37:06 +00:00
elad
9144e38e70
document port option; prompted by wiz@ :)
2006-01-13 09:34:46 +00:00
wiz
ee0b10a017
Improve a sentence.
2006-01-12 21:49:11 +00:00
wiz
1808e48b1b
More markup, sort SEE ALSO, remove superfluous Pp.
2006-01-12 20:47:00 +00:00
wiz
c3bc80e6a8
Grammar fix.
2006-01-12 20:37:23 +00:00
wiz
2c45f40c22
Improve description of strategy command a bit.
...
Increase list width a bit for less unnecessary line breaks.
2006-01-12 20:28:29 +00:00
agc
740e4e64dd
Minor fix - correct a typo
2006-01-11 23:07:22 +00:00
dsl
3fbee23326
Don't look for old superblocks if newfs -N
2006-01-11 22:33:03 +00:00
dsl
00ded1a669
The 'cylinder group' size calculation was incorrect. If the cylinder groups
...
were full then not enough bits were left for the inode allocation map.
Always put a multiple of 8 fragments (and non-zero) inodes into the eqns
so that answer is correct.
Fix the sum that may discard the last cylinder group if it isn't large enough
to contain all its inodes.
Spotted during some other tests, eg:
$ newfs -s 109610 -n1 -f512 -b4096 -N -O2 -F ./z
CGSIZE miscalculated 4097 > 4096
$
2006-01-11 22:03:51 +00:00
dsl
08d4007d3e
Modify previous so that at most 79 (more likely 78) dots are printed, with
...
at most 1 dot per cylinder group.
This is much more useful for filesystems with very large numbers of cgs.
2006-01-11 12:17:42 +00:00
dsl
c2452a4af0
There really isn't any point reporting all the alternate superblocks,
...
big filesystems can have thousands of them - no one ever writes them down.
After the first line of numbers just output a '.' for each cylinder group.
Also limit the lines to 79 columns so broken terminal emulaters don't
double-space the output lines.
2006-01-09 20:59:25 +00:00
elad
9eed84a6ae
Allow multiple lines entries using '\' at the end of the line.
...
Simplified by martin@, thanks. :)
2006-01-05 20:16:20 +00:00
hubertf
3e91637cdf
The -b option is really on fsck_ffs, not fsck
...
Pointed out by Sebastian Schuetz on IRCnet #NetBSD
2006-01-05 11:22:47 +00:00
mjl
0a7b52fa50
Typo fix (to umount is not yet a verb). Via OpenBSD bugs mailing list.
2005-12-30 10:29:56 +00:00
tsutsui
1f5055228d
Add preliminary support for System V Boot File System.
...
Written by UCHIYAMA Yasushi <uch@netbsd>.
2005-12-29 14:53:45 +00:00
christos
5de69f0012
fix compilation on LP64 machines.
2005-12-28 06:03:15 +00:00
reinoud
d1e514c58e
Fix obvious typo in the man page of mount_cd9660:
...
-The behaviour is cotrollable by the
+The behaviour is controllable by the
2005-12-27 17:40:49 +00:00
jmmv
fbb8b4076f
Add an option (-s) to specify which sector to read to parse the partition
...
table. Useful if the disk has remapping drivers installed into it (such as
Ontrack Disk Manager).
Added as an option instead of automatic behavior to let the user scan any
of the two partition tables at will.
2005-12-27 15:37:56 +00:00
hubertf
cfc5c5528b
Xref newfs_msdos, noted by rabioli on Freenode #NetBSD
2005-12-27 14:49:28 +00:00
yamt
6171bf3a5b
add a functionality to get/switch bufq strategy.
...
based on a patch from Juan RP.
2005-12-26 10:38:52 +00:00
perry
0f0296d88a
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
2005-12-24 20:45:08 +00:00
jmmv
ff68701afc
Point to the share/examples/fstab/fstab.ramdisk file for some more information.
2005-12-24 13:02:53 +00:00
yamt
0616e4b566
linkup: reparent() only when lost+found is created successfully.
2005-12-23 12:58:11 +00:00
yamt
a71fb9d9ab
add vm.inactivepct.
2005-12-21 12:21:06 +00:00
jmc
06b42f5e66
Redo previous rework to generate yacc/lex output again and remove generated
...
copies from the import as they don't compile clean across all archs.
2005-12-16 16:25:07 +00:00
jmc
32415dbb57
Don't yacc/lex here as dist includes generated copies already and depending
...
on timestamps it's possible for gcc2 on vax to get confused on which .h
to use.
2005-12-15 14:27:21 +00:00
dsl
24c43e28bb
Use PRIu64 to print ino_t (maybe there should be a PRIino_t somewhere....)
2005-12-13 10:56:16 +00:00
yamt
a83111c7d8
add vm.idlezero. noted by Hubert Feyrer.
2005-12-13 10:07:21 +00:00
wiz
fe79b0c9bd
Grammar improvement.
2005-12-12 22:29:37 +00:00
elad
a9505be892
Add and document a "query" keyword to veriexecctl. Usage:
...
/sbin/veriexecctl query /path/to/file
will print out filename, device, inode, evaluation status, entry flags,
fingerprint, and fingerprinting algorithm.
2005-12-12 21:47:58 +00:00
elad
f39afe3e47
Add and document a VERIEXEC_DELETE operation for Veriexec.
...
We can now delete an entry from the tables using
veriexecctl delete /path/to/file
or remove an entire table using
veriexecctl delete /mount_point
(any directory will work for the mount point it's on)
2005-12-10 02:10:00 +00:00
jmc
fa63539af8
Fix acorn builds
2005-12-07 04:38:32 +00:00
skrll
fa922b7d20
Remove lmcctl.
2005-12-06 09:39:50 +00:00
christos
38c03eb895
lmcctl has been superceded by lmcconfig.
2005-12-06 03:17:24 +00:00
christos
9fe740f63c
ndb is daddr_t which is 64 bits, by truncating it to j which is an int, it
...
can get negative causing segmentation faults. Check against this.
2005-12-05 23:59:43 +00:00
dbj
5a25538485
fix byteswap of log revision structure check, improve error printout
2005-11-29 08:47:22 +00:00
dbj
1aeda8c1bc
add newline termination on error message
2005-11-29 08:06:13 +00:00