Commit Graph

3131 Commits

Author SHA1 Message Date
grog
4e1ef42a33 Correct default location of history file.
Observed by:	Chris Bolt <chris-lists@bolt.cx>
2002-06-23 01:32:00 +00:00
mckusick
9180c9b8da Get rid of paranoia that zeros the boot block area as this has
bad effect on existing bootstraps.

Submitted by:	Jake Burkholder <jake@locore.ca>
Sponsored by:	DARPA & NAI Labs.
2002-06-22 22:44:09 +00:00
obrien
9d1e509caa This commit was generated by cvs2svn to compensate for changes in r98567,
which included commits to RCS files with non-trunk default branches.
2002-06-21 15:56:16 +00:00
obrien
b025a2f79b Sync with NetBSD.
* don't whine about non-regular files. It is perfectly normal to keep a
  CVS or RCS directory in /etc/rc.d.
* manpage tweak
2002-06-21 15:56:16 +00:00
obrien
703cf44919 Reduce the -I's as we don't need them all. 2002-06-21 15:52:05 +00:00
bde
3cb15a0773 Don't say that an umounted filesystem is required for -n. An unmounted
filesystem is no more or less required for -n than for any other option.
The previous commit clarified the actual requirement.
2002-06-21 09:57:34 +00:00
mckusick
88d85c15ef This commit adds basic support for the UFS2 filesystem. The UFS2
filesystem expands the inode to 256 bytes to make space for 64-bit
block pointers. It also adds a file-creation time field, an ability
to use jumbo blocks per inode to allow extent like pointer density,
and space for extended attributes (up to twice the filesystem block
size worth of attributes, e.g., on a 16K filesystem, there is space
for 32K of attributes). UFS2 fully supports and runs existing UFS1
filesystems. New filesystems built using newfs can be built in either
UFS1 or UFS2 format using the -O option. In this commit UFS1 is
the default format, so if you want to build UFS2 format filesystems,
you must specify -O 2. This default will be changed to UFS2 when
UFS2 proves itself to be stable. In this commit the boot code for
reading UFS2 filesystems is not compiled (see /sys/boot/common/ufsread.c)
as there is insufficient space in the boot block. Once the size of the
boot block is increased, this code can be defined.

Things to note: the definition of SBSIZE has changed to SBLOCKSIZE.
The header file <ufs/ufs/dinode.h> must be included before
<ufs/ffs/fs.h> so as to get the definitions of ufs2_daddr_t and
ufs_lbn_t.

Still TODO:
Verify that the first level bootstraps work for all the architectures.
Convert the utility ffsinfo to understand UFS2 and test growfs.
Add support for the extended attribute storage. Update soft updates
to ensure integrity of extended attribute storage. Switch the
current extended attribute interfaces to use the extended attribute
storage. Add the extent like functionality (framework is there,
but is currently never used).

Sponsored by: DARPA & NAI Labs.
Reviewed by:	Poul-Henning Kamp <phk@freebsd.org>
2002-06-21 06:18:05 +00:00
mux
62289e8461 nmount'ify unionfs further by using separate options instead
of passing a flags mount options.  This removes the include of
sys/fs/unionfs/union.h in mount_unionfs as it should be.

Reviewed by:	phk
2002-06-15 22:48:14 +00:00
mux
a9b7ee8dc7 Convert UDF to nmount.
Reviewed by:	scottl
2002-06-15 22:40:13 +00:00
ume
5d49110708 Add eui64 option which fills interface index (lowermost 64bit of
an IPv6 address) automatically.
This should obsolete prefix(8).

Obtained from:	NetBSD
MFC after:	2 weeks
2002-06-15 15:35:24 +00:00
gordon
0af5b0e962 Hook rcorder and rc.d into the build.
Submitted by:	Mike Makonnen
2002-06-13 22:26:15 +00:00
obrien
7571375fe0 FreeBSDize the NetBSD Makefile so that this compiles. 2002-06-13 17:09:30 +00:00
keramida
1d011d9d67 ANSIfy a few prototypes, thus fixing a few warnings.
Reviewed by:	grog
2002-06-09 02:20:58 +00:00
ume
e752ebdffb Don't have -prefixlen 128 on host routes.
Obtained from:	KAME
2002-06-08 19:49:22 +00:00
mdodd
355983613b Use a larger data type to prevent counters wrapping so quickly.
Silence a warning.
2002-06-07 05:29:13 +00:00
mdodd
8293541622 Sync this up with changes made in v1.8 of sys/netatm/atm_if.h 2002-06-07 05:25:10 +00:00
gordon
e5b172f462 Remove the old nextboot from Whistler. AFAIK this hasn't been useable in
quite a while and only works on i386.
2002-06-06 20:20:58 +00:00
phk
efb6005b12 s/daddr_t/ufs_daddr_t/g
This should fix the issues which cropped up after daddr_t grew up.

Sponsored by:	DARPA & NAI Labs.
2002-06-06 19:59:46 +00:00
gordon
6fef03564b Unhook the old nextboot(8) from the build. If no one yells too loudly, this
will be accompanied by a cvs rm of the actual nextboot sources.

Approved by:	jake (mentor)
2002-06-06 19:26:15 +00:00
keramida
366cc96db9 Add 'utility' in a place that it was missing.
PR:		docs/38814
Submitted by:	Chris Pepper <pepper@rockefeller.edu>
MFC after:	10 days
2002-06-05 23:39:56 +00:00
iedowse
306d84207e Oops, unbreak parsing of the `type' field in getasciilabel(). I had
changed a `goto' to a `continue' in revision 1.52, but it continued
the wrong loop.

Noticed by:	bde
2002-06-05 08:11:28 +00:00
gordon
739d7b5c19 Fix spelling nit in error message. 2002-06-05 01:06:33 +00:00
marcel
4ecb10ebe3 Fix breakage caused by allocating the I/O buffer. There was a
sizeof(buf) lurking around that I missed.

PR: 38811
Submitted by: Adrian Colley <aecolley@spamcop.net>
2002-06-02 19:20:37 +00:00
wollman
b865e88662 Avoid construction which results in label at end of block. 2002-05-30 21:41:42 +00:00
wollman
ddfe2f4871 Fix syntax errors (labels with no statement). 2002-05-30 21:38:58 +00:00
ru
c2bdcecceb mdoc(7) police: nits. 2002-05-30 12:20:49 +00:00
ru
23be08df4b mdoc(7) police: tidy up the markup and some wording. 2002-05-30 09:41:33 +00:00
alfred
166dc2c9af correct comment (replace i386 with __i386__) 2002-05-30 07:12:12 +00:00
kuriyama
61c2113b0f Fix typos (s/IP6FILREWALL_VERBOSE/IPV6FIREWALL_VERBOSE/, s/netinet/netinet6/).
MFC after:	1 week
2002-05-30 07:01:58 +00:00
iedowse
a337baf222 Fix some serious brain damage in the default block/frag/cpg parameters
that are used if none at all are specified for a partition. Don't
keep replaying the last field if we run out of fields when processing
a line. Use a 8:1 frag:block ratio for both defaults.

More work here is required. I think disklabel should not attempt
to choose default filesystem parameters, and instead let newfs pick
any defaults if required.

PR:		i386/38703
Reported by:	Martin Kraemer <Martin.Kraemer@Fujitsu-Siemens.com>
2002-05-30 01:44:35 +00:00
iedowse
078e6c4721 Split out the code for parsing the partition specification lines
into a separate function to avoid some over-long lines.
2002-05-30 01:19:25 +00:00
ru
ecebc4ce82 mdoc(7) police: markup nits. 2002-05-29 16:55:50 +00:00
ru
cd93838899 mdoc(7) police: nits. 2002-05-29 16:53:27 +00:00
ru
468da1a22d mdoc(7) police: nits. 2002-05-29 16:47:55 +00:00
ru
929b4f7410 mdoc(7) police: nits. 2002-05-29 16:19:26 +00:00
ru
48bc02848a mdoc(7) police: tidy up the markup. 2002-05-29 16:14:00 +00:00
gordon
e13f727e6b Correct the file that reboot -k creates so that it works with the new
nextboot functionality.

Reviewed by:	jake (mentor)
2002-05-28 21:15:49 +00:00
marcel
36a7d4b914 Work around a memory fault on ia64 caused by having the 1MB buffer on
the stack in DoFile(). This needs some investigation. In the mean time
we do a one time malloc() for the buffer to have it on the heap instead.
2002-05-27 07:54:43 +00:00
ru
6e7ea044c1 Respect -q with "add" and "delete". Document who respects -q.
PR:		bin/38531
2002-05-25 12:51:34 +00:00
mux
ad5538a97f Convert mount_ext2fs(8) to nmount(2).
Reviewed by:	iedowse
2002-05-24 17:39:37 +00:00
alfred
67cc400f56 Don't err(3) (and exit prematurely) when a sysctl's object size has
changed, instead just warn(3)
2002-05-24 08:34:18 +00:00
gordon
abd4f3d6cc Add a nextboot script to make it easier to control the loader nextboot
support. Also, hook it up to the build.

Approved by:	jake (mentor)
2002-05-24 04:06:03 +00:00
mux
d9d0d52024 Convert mount_unionfs(8) to nmount. 2002-05-24 00:45:37 +00:00
mux
92d62e0eba Make mount_nullfs(8) use nmount(2) rather than mount(2) now
that nullfs has been converted to nmount.
2002-05-23 23:08:27 +00:00
ume
a491c6f95a Allow prefix/prefixlen syntax for IPv6 to have consistency
with IPv4.
2002-05-21 18:11:31 +00:00
ume
104c629954 Have RTF_HOST for /128 destionation. 2002-05-21 11:43:53 +00:00
benno
0e8bf3d65e Spread the word of PowerPC. 2002-05-21 04:25:24 +00:00
ume
d2bc88b0d8 Try to guess prefixlen for guessable cases.
- /0 if matches ::/128
- /64 if matches 2000::/3 and lowermost 64 bit is all 0
- /128 if matches 2000::/3 and lowermost 64 bit is non-zero 0

Obtained from:	KAME/NetBSD
2002-05-20 15:01:19 +00:00
peter
b834e5849a Turn nfsiod into a vfs loader and sysctl wrapper that controls the number
of nfsiod kernel threads being run.
2002-05-19 19:21:40 +00:00
rwatson
571c55cfc4 Remove IFS from 5.0-CURRENT. This facilitates introducing UFS2 as
IFS had its fingers deep in the belly of the UFS/FFS split.  IFS
will be reimplemented by the maintainer at a later date once the UFS
implementation is in place.

Requested by:	adrian (maintainer)
2002-05-19 00:09:30 +00:00