Commit Graph

4224 Commits

Author SHA1 Message Date
snj 52d8744177 Fix two spelling errors and a typo. From Chris Tribo in PR misc/32715. 2006-02-03 08:28:39 +00:00
christos 1098ee8a76 expose a_num. 2006-02-02 23:42:00 +00:00
christos ae7a5ee5fc - pass lint
- check errors
- use EXIT_FOO consistently
- use the fattr.h functions, don't duplicate the code
2006-02-02 23:41:43 +00:00
elad 81ed970f39 - make use of the recently added mode_bits for security.setid_core.mode;
- document setid_core variables.
2006-02-02 18:00:07 +00:00
reinoud 0400433f3f Note the support for harddisc partitions and vnd devices and notify users
of the problems that could arise with mapping images of UDF file systems
when using vnd with respect to the sector size.
2006-02-02 16:45:06 +00:00
xtraeme c53b38d234 KNF 2006-02-02 16:25:46 +00:00
reinoud 85b5a27e76 Crosslink mount(8) with mount_udf(8) 2006-02-02 16:24:09 +00:00
elad 202872db03 add support for parsing file mode bits.
when printed, you'll see something like "0600 (rw-------)", like the
ls output. when reading input you can either specify octal mode (0600)
or chmod-like (u=rw).

ideas from atatat@ and kjk@; okay and lots of help from atatat@.
2006-02-02 16:23:25 +00:00
reinoud 21a48c8e8b Remove false notion about harddisc partition and vnd support since it has
been added since.
2006-02-02 16:11:25 +00:00
xtraeme 3d5d61e01c Fix NetBSD tag. 2006-02-02 15:48:24 +00:00
reinoud 09457a8a6e Initial import of a UDF file system implementation for NetBSD.
Finally the logic glue and the set distribution lists modifications.
2006-02-02 15:26:32 +00:00
reinoud c2f693f4f5 Initial import of a UDF file system implementation for NetBSD.
Add UDF file system mounter.
2006-02-02 15:21:29 +00:00
wiz cc07c6e988 Use default option order (AaBbCc...). 2006-01-29 22:11:10 +00:00
dsl c28e0ae4af Byteswap the constant MBR_{BS_}MAGIC throughout, should genetate better code.
Except that non all architectures have that optimisation :-(
2006-01-29 12:55:16 +00:00
dsl 79bd2ddb02 Update/rewrite to match reality and in a muchmore succinct format. 2006-01-29 00:04:26 +00:00
is d155cb6cd4 Print the INET netmask if it is non-contiguous. 2006-01-26 11:35:09 +00:00
christos 81a178c561 PR/32632: Yves-Emmanuel JUTARD: Improvment suggestion in 'route' display.
Add a new -S flag that prints a space for missing flags.
2006-01-25 16:29:10 +00:00
christos b7f3395036 PR/32629: Yves-Emmanuel JUTARD: Type errors in sbin/route/route.c, another
u_char/char conflict.
2006-01-25 16:19:50 +00:00
christos 86b43a935f PR/32628: Yves-Emmanuel JUTARD: Missing cast in sbin/ifconfig/ifconfig.c,
strcasecmp needs char * not u_int8_t *.
2006-01-25 16:08:49 +00:00
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