Commit Graph

3035 Commits

Author SHA1 Message Date
wiz
84cb70148f Correct program name in comments. 2003-03-10 09:23:50 +00:00
wiz
d686d8626e Sort sections; "file system" instead of filesystem; mdoc improvements;
new sentenence, new line.
2003-03-10 09:23:23 +00:00
fvdl
74cc14e0d0 Quell formwat warning for LP64 for the diskinfo printf. 2003-03-07 00:42:04 +00:00
thorpej
5fbe4e61de hw.physpages -> hw.physmem64, hw.userpages -> hw.usermem64 2003-03-06 20:36:51 +00:00
wiz
049950fd97 New sentence, new line. 2003-03-03 06:50:18 +00:00
thorpej
3cdf0a27ee Document net.inet.tcp.init_win_local. 2003-03-01 04:43:42 +00:00
matt
25b98a109b Eliminate a -Wshadow warning 2003-02-28 05:50:33 +00:00
perseant
eab869e1c0 Make BRIDGE_IPF an option, and document it. Add it (commented) to GENERIC.
Let brconfig tell whether the bridge is using the ipfilter hook, or not.
2003-02-27 19:22:36 +00:00
thorpej
b4271997ce Document hw.physpages and hw.userpages. 2003-02-27 01:42:10 +00:00
wiz
990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
wiz
a9f7f104b6 Split .Nm with other macro arguments on two lines. 2003-02-25 07:53:39 +00:00
simonb
668973e677 Use the PRId64 format to print a daddr_t. 2003-02-23 05:21:18 +00:00
perseant
0cfa2c5369 Discourage the creation of new LFSv1 filesystems. 2003-02-23 04:53:17 +00:00
perseant
8685c52d63 Make the "-O" (start filesystem offset) flag to newfs_lfs work correctly,
and update fsck_lfs and dumplfs to deal with it.  Note that while the argument
to -O is given in disk sectors, it must be a multiple of the fragment size,
and although it can be lower than the label or superblock, it can't intersect
either.
2003-02-23 04:32:05 +00:00
lukem
6ddd712ab0 (cross)builds on current ok 2003-02-23 00:27:51 +00:00
lukem
82aaf00052 minor cosmetic tweak 2003-02-23 00:26:02 +00:00
martin
416cebb2dc This program deals with on-disk structures.
s/daddr_t/int32_t/g for now (UFS2 will need other changes as well).
2003-02-21 23:55:38 +00:00
fvdl
bb8bd280d4 Only check relevant fields when comparing the superblock to an alternate
superblock. Avoids false positives should fsck_ffs be run on a filesystem
that was created after the UFS2 code has been merged.

This commit is mostly a forward compatibility patch that can be pulled
up in to the 1.6 branch.

From Kirk Mckusick in FreeBSD (setup.c rev. 1.30). Original commit message:
========
When checking the alternate superblock, we used to copy any fields
that might have changed, then did a byte-by-byte comparison with
the alternate. If any unused fields got used, they had to be added
to the exception list. Such changes caused too many false alarms.
So, I have changed the comparison algorithm to compare a selected
set of fields that are not expected to change. This new algorithm
causes far fewer false hits and still does a good job of detecting
problems when they have really occurred. In particular, this change
should ease the transition to kernels supporting UFS2 which make
some significant changes to the superblock.

Sponsored by:	DARPA, NAI Labs
========
2003-02-21 15:15:49 +00:00
jtk
ec57cc7eb3 Preliminary version of resize_ffs, based on der Mouse's fsresize tool.
I didn't have time to clean it up completely before my legal status
w.r.t. open source projects goes into limbo for a while.  Other
developers are encouraged to play with the tool and get it into
release-worthy shape.

TODO list (see TODO file)

* verify it builds on -current, put it into release lists/etc. and src/sbin/Makefile
  (built & tested on 1.6.1)
* make it ask questions before doing any work (confirm)
* create regression test suite (see discussions on tech-kern and
  developers) and fix any bugs
* verify conversion to ANSI C didn't break anything
* port to UFS2
2003-02-21 04:08:54 +00:00
jdolecek
55faf5989f add mount_smbfs(8) 2003-02-18 20:35:28 +00:00
jdolecek
e0ef9a798d add 'noatime' to list of supported mount options
fixes PR bin/20411 by KOIE Hidetaka
2003-02-18 13:16:48 +00:00
perseant
b397c875ae Add code to UBCify LFS. This is still behind "#ifdef LFS_UBC" for now
(there are still some details to work out) but expect that to go
away soon.  To support these basic changes (creation of lfs_putpages,
lfs_gop_write, mods to lfs_balloc) several other changes were made, to
wit:

* Create a writer daemon kernel thread whose purpose is to handle page
  writes for the pagedaemon, but which also takes over some of the
  functions of lfs_check().  This thread is started the first time an
  LFS is mounted.

* Add a "flags" parameter to GOP_SIZE.  Current values are
  GOP_SIZE_READ, meaning that the call should return the size of the
  in-core version of the file, and GOP_SIZE_WRITE, meaning that it
  should return the on-disk size.  One of GOP_SIZE_READ or
  GOP_SIZE_WRITE must be specified.

* Instead of using malloc(...M_WAITOK) for everything, reserve enough
  resources to get by and use malloc(...M_NOWAIT), using the reserves if
  necessary.  Use the pool subsystem for structures small enough that
  this is feasible.  This also obsoletes LFS_THROTTLE.

And a few that are not strictly necessary:

* Moves the LFS inode extensions off onto a separately allocated
  structure; getting closer to LFS as an LKM.  "Welcome to 1.6O."

* Unified GOP_ALLOC between FFS and LFS.

* Update LFS copyright headers to correct values.

* Actually cast to unsigned in lfs_shellsort, like the comment says.

* Keep track of which segments were empty before the previous
  checkpoint; any segments that pass two checkpoints both dirty and
  empty can be summarily cleaned.  Do this.  Right now lfs_segclean
  still works, but this should be turned into an effectless
  compatibility syscall.
2003-02-17 23:48:08 +00:00
perseant
6b857c229e Add ipf packet-filtering option to if_bridge. The option is controlled at
compile-time by BRIDGE_IPF, and at runtime by brconfig with the {ipf,-ipf}
option on a per-bridge basis.

As a side-effect, add PFIL_HOOKS processing to if_bridge.
2003-02-15 00:46:30 +00:00
grant
c39c2e62d5 'NetBSD.org' and some mdoc fixes. 2003-02-14 16:21:47 +00:00
atatat
1784bd0a07 If no other name is specified, and machdep.booted_kernel is present
and names a file, use that as a the default kernel, otherwise fall
back to /netbsd.

Makes lkms work *much* better when you're testing kernels that are not
named /netbsd.
2003-02-09 23:29:32 +00:00
wiz
82ece76c41 Drop trailing space (in last). 2003-02-09 21:56:19 +00:00
perry
d259c39de5 Slightly clarify/improve the documentation for the -B (boot selector)
option
2003-02-09 20:46:29 +00:00
enami
166444b3a9 No need to print same error message twice in the same line. 2003-02-06 23:25:02 +00:00
enami
8d849f483a Check lseek error correctly (i.e., use == -1 rather than < 0). 2003-02-06 23:00:08 +00:00
perry
8a49ec08e4 "Utilize" has exactly the same meaning as "use," but it is more
difficult to read and understand. Most manuals of English style
therefore say that you should use "use".
2003-02-04 23:07:28 +00:00
enami
c27806c8fd Fix typo I've introduced while cleaning up for commit. 2003-02-04 08:43:16 +00:00
enami
3053f5ec9b - Fix daddr_t print format inside ifdef DIAGNOSTIC.
- Start scan cache entry just filled, rather than starting from top.
2003-02-04 08:24:20 +00:00
enami
c886a0529a Convert `nblksread' to in terms of device block size. This restores
originally intended behaviour (see tech-userlevel archive around 1999 March).
2003-02-04 08:11:50 +00:00
enami
799974edb6 Cosmetic changes. 2003-02-04 08:06:42 +00:00
hannken
c089bab65b Merge "struct cheader" and "struct cdesc" into an union.
No more alignment problems if the alignment of these two differs.

Approved by: Manuel Bouyer <bouyer@netbsd.org>
2003-02-03 23:08:37 +00:00
kleink
71d7654509 Add sysconf(3) knobs for recent additions. 2003-02-02 20:33:05 +00:00
kleink
b971350427 Add several missing items, and be less rageous about memory locking. 2003-02-01 00:42:03 +00:00
thomas
5d2b072ae0 Define Atari keyboard type. 2003-01-31 23:32:21 +00:00
mrg
cf9ff87a3a make this build on alpha after daddr_t->64bit 2003-01-28 05:17:12 +00:00
fvdl
a3ff3a3038 Bump daddr_t to 64 bits. Replace it with int32_t in all places where
it was used on-disk, so that on-disk formats remain the same.
Remove ufs_daddr_t and ufs_lbn_t for the time being.
2003-01-24 21:55:02 +00:00
hubertf
8221d7ffdd Mention that the mount point for a remote swap file must exist as a directory.
Sanity checked by salo.
2003-01-24 19:48:52 +00:00
dsl
2ac00e9169 display machdep.diskinfo for i386 and x86_84
(agreed by christos)
2003-01-22 17:12:41 +00:00
atatat
dd0a8acd21 The next release will be 2.0, not 1.7. 2003-01-19 21:25:36 +00:00
tsutsui
b33c28a7f5 libutil (which was added for MNT_GETARGS) is no longer needed. 2003-01-19 12:37:41 +00:00
jdolecek
f9e0089642 fix typo on mount_ext2fs line 2003-01-19 10:52:25 +00:00
jdolecek
4a97217e59 do not link all mount programs into single image; the total size difference
isn't really that huge now that these are compiled as dynamic
2003-01-19 10:49:11 +00:00
kleink
b3df6303a9 Rename `sigset' locals to avoid symbol shadowing warning. 2003-01-16 09:38:37 +00:00
jmmv
dd4a382f46 Print missing newline in two bootselector-related messages. Approved by wiz. 2003-01-10 23:37:34 +00:00
wiz
1035faff1d writable, not writeable. 2003-01-06 20:30:28 +00:00
wiz
821c09da13 Bump date for revert. Use proper mdoc in some places. Avoid \fI and \fP.
Begin new sentences on new lines.
2003-01-06 11:37:19 +00:00