Commit Graph

124 Commits

Author SHA1 Message Date
Peter Wemm
f8bb2e0ffd Build /sbin/gpt on amd64 for good luck as well. 2003-07-24 01:42:49 +00:00
Gordon Tetlow
d928e581a9 Move mount_portalfs, mount_smbfs, and mount_nwfs from sbin to usr.sbin.
They don't have alot of reason to be in sbin and contribute to library
bloat in the dynamic case. If you are using any of these filesystem
type to hold your /usr, please seek professional help.

The actual code was repo-copied by joe.
2003-07-02 16:16:49 +00:00
Poul-Henning Kamp
e76c239428 Compile sunlabel on all archs. 2003-06-17 09:12:42 +00:00
Peter Wemm
d6c1abfdfe Add fdisk for $MACHINE_ARCH == amd64 2003-05-17 20:40:42 +00:00
Poul-Henning Kamp
4917b55e50 Compile bsdlabel on all platforms.
Install a link to the disklabel(8) name on i386 and alpha platforms.

Leave old disklabel(8) sources intact but disconnected from the build
for now.
2003-05-05 21:28:08 +00:00
Kirk McKusick
d35ae777f2 Add the mksnap_ffs command to the sbin directory. This setuid root
program allows users in the operator group to take filesystem
snapshots. Its first use will be in support of `dump -L'.

Approved by:	Technical Review Board <trb@FreeBSD.org>
Sponsored by:   DARPA & NAI Labs.
2003-03-02 01:50:33 +00:00
David E. O'Brien
4f53948a1a Don't try to build devd when NO_CXX is set. 2003-02-21 02:16:35 +00:00
Jake Burkholder
a89bc4fcac Build sunlabel on sparc64. 2003-01-31 07:40:25 +00:00
Poul-Henning Kamp
23e8074bd0 IA64 still needs to be able to run on MBR+BSD combination, so put disklabel
back.

Pointed out by:	peter
2003-01-26 18:33:54 +00:00
Poul-Henning Kamp
1c55bb01f3 Make disklabel(8) MD for i386/pc98 and alpha only. 2003-01-26 12:19:36 +00:00
Scott Long
96c270b81c Hook raidctl up to the build.
Submitted by:	tjr
2002-10-23 04:50:34 +00:00
Warner Losh
5c6e14dbe5 Add devd to the build. 2002-10-20 22:16:52 +00:00
Poul-Henning Kamp
d220f5beb9 Complete the Geom Based Disk Encryption: Add the OAM utility.
Sponsored by:	DARPA and NAI Labs
2002-10-20 11:16:13 +00:00
Peter Wemm
84176931be Turn nfsiod back on. It is basically now just a sysctl wrapper that also
arranges a kldload of the nfs client file system code if necessary.
2002-07-24 22:14:27 +00:00
Peter Wemm
c037322687 Connect up gpt and mca subdirs for ia64 2002-07-20 19:32:33 +00:00
Dima Dorfman
a1dc209638 Introduce the DEVFS "rule" subsystem. DEVFS rules permit the
administrator to define certain properties of new devfs nodes before
they become visible to the userland.  Both static (e.g., /dev/speaker)
and dynamic (e.g., /dev/bpf*, some removable devices) nodes are
supported.  Each DEVFS mount may have a different ruleset assigned to
it, permitting different policies to be implemented for things like
jails.

Approved by:	phk
2002-07-17 01:46:48 +00:00
Gordon Tetlow
f960342bca Unhook sbin/nfsd and sbin/mountd from the build. They will be moving to
/usr/sbin shortly.

Reviewed by:	jake (mentor)
2002-07-07 22:14:40 +00:00
Kirk McKusick
1c85e6a35d 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
Gordon Tetlow
dde7cef3d2 Hook rcorder and rc.d into the build.
Submitted by:	Mike Makonnen
2002-06-13 22:26:15 +00:00
Gordon Tetlow
045e9d6c14 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
Robert Watson
8b1febe499 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
Scott Long
df263cbd02 Add a filesystem driver for the Universal Disk Format. For more info,
see http://people.freebsd.org/~scottl/udf

 MFC after:	when asmodai gets the backport done
 Prodded by:	phk asmodai des
2002-04-14 16:36:49 +00:00
Poul-Henning Kamp
158f391356 GC kget(1), userconfig is long dead. 2002-04-09 10:55:14 +00:00
Marcel Moolenaar
da64ea48d2 Move savecore back to the MI list so that it compiles for other
archs than alpha and i386.
2002-04-02 10:58:30 +00:00
Ruslan Ermilov
7a43a96ab0 Replaced hacks in sbin/Makefile,v 1.99 and usr.sbin/Makefile,v 1.217
with the NO_IPFILTER make.conf(5) knob.

(So that we can "make the-rest-of-the-world" again.)
2002-03-21 09:15:39 +00:00
David E. O'Brien
5461a012fd Remove ipnat until the committer can actually test his changes. 2002-03-20 02:09:50 +00:00
Peter Wemm
dbfec43cd3 Move savecore build enable to MD section of Makefile, currently enabled
for i386 and alpha.  Although it builds on sparc64, it does not yet work.
A similar hack as what is used on the sparc64 MD macros can be used to
make ia64 build too, but there doesn't seem to be much point.
2002-03-19 12:07:27 +00:00
Sheldon Hearn
23eb26fa51 Kernel support for smbfs is only built on the i386 at the moment, so
limit the building and installation of the userland utilities to that
architecture for now.

Reported by:	bmah
2001-12-14 23:11:45 +00:00
Sheldon Hearn
85519b003a Add bmake glue for src/contrib/smbfs and connect userland smbfs
support to the build.

The MFC reminder below is subject to <re@FreeBSD.org> approval
prior to 4.5-RELEASE.

Reviewed by:	bp, fjoe
MFC:	1 week
2001-12-14 11:41:22 +00:00
Peter Wemm
5007fa38dd Repocopy pc98 fdisk out of its hidden subdir. Reconnect it to the build. 2001-11-04 17:38:23 +00:00
Peter Wemm
f24c53d3ef Move i386/{fdisk,cxconfig,nextboot} to src/sbin. Eliminate the i386
subdir.  Add fdisk to ia64 SUBDIR list.  Add all the previous occupants
of the i386 subdir to the i386 SUBDIR list.
2001-11-03 07:30:14 +00:00
Ruslan Ermilov
907d70d6de Sort SUBDIR. 2001-10-25 07:55:43 +00:00
Jonathan Lemon
093a27108a Hook up conscontrol to the build. 2001-10-23 20:37:07 +00:00
Darren Reed
d70e094301 include ipfs in subdirs
PR:		27063
2001-10-20 04:27:45 +00:00
Peter Wemm
9119623471 Userland part of nfs client/server split and cleanup. 2001-09-18 23:34:44 +00:00
David E. O'Brien
863f7db9bb Fix disordering. 2001-07-09 11:06:47 +00:00
David E. O'Brien
4879cc0787 Add fsck_msdosfs 2001-07-09 11:06:21 +00:00
Peter Pentchev
1e1e0f9858 Connect the new kldconfig(8) utility to the build. 2001-06-29 16:58:21 +00:00
Dima Dorfman
2e6781fd61 Hook mdmfs into the build. 2001-06-18 23:47:18 +00:00
Ruslan Ermilov
4ccd754686 - VFS_SET(msdos) -> VFS_SET(msdosfs)
- msdos.ko -> msdosfs.ko
- mount_msdos(8) -> mount_msdosfs(8)
- "msdos" -> "msdosfs" compatibility glue in mount(8)
2001-06-01 10:57:26 +00:00
Ruslan Ermilov
6ad10804f7 Rename (after a repo-copy) some mount(8) programs:
mount_fdesc -> mount_fdescfs
mount_null -> mount_nullfs
mount_portal -> mount_portalfs
mount_umap -> mount_umapfs
mount_union -> mount_unionfs
2001-05-23 14:58:19 +00:00
Søren Schmidt
29ad98da92 Activate atacontrol 2001-03-19 07:59:38 +00:00
Poul-Henning Kamp
83baa1a055 Add mdconfig into the build. 2000-12-28 20:59:35 +00:00
Thomas-Henning von Kamptz
3d5000784d added growfs(8) including ffsinfo(8) to the freebsd base system
Reviewed by:	 grog
2000-12-09 15:27:35 +00:00
Adrian Chadd
5332f2e5d8 Pre-IFS commit. Commit IFS-aware fsck and mount utilities.
mount_ifs: repocopy of sbin/mount, with most of the intelligence ripped out
           and "ufs" replaced with "ifs" in the right places. It will only
           mount a single filesystem, rather than the -t <type> magic that
           our real mount does.

fsck_ifs:  repocopy of sbin/fsck_ffs, but the directory structure stuff
           (pass2 and some refcount checks) has been #ifdef'ed out.

src/sbin/Makefile: Build these two utilities

There is probably cruft code left in both which can be removed at a later
date, especially in mount_ifs, but I trust that people will not try
mount_ifs -a ..

Note: there are no man pages installed for these two commands as I haven't
actually written them yet.
2000-10-14 02:44:56 +00:00
Adrian Chadd
d9f97000b4 Reviewed by: rwatson, bp
Approved by:	rwatson
Obtained from:	NetbSD source tree

Second part of the fsck wrappers commit. This commit enables the new fsck
code (removing the fsck/* code and replacing it with the netbsd fsck
wrapper code), and enabling some FFS-based utilities to compile.

Details:

* quotacheck, fsdb required modification to use the fsck_ffs/ code rather
  than fsck/ . This might change later since quotacheck requires preen.c
  which should exist in fsck/ rather than fsck_ffs/

* src/Makefile has fsck_ffs added to it so it it built as part of the tree
  now

* share/doc/smm/03.fsck/ uses the SMM.doc/ stuff from fsck_ffs, not fsck.

I've tested this, and it shouldn't require any changes on your machine.
The fsck wrapper reads /etc/fsck and is command-line-compatible enough
to not require rc changes (well, most changes unless you want to do
anything nifty by specifying the fs types explicityly, read the man page
if you want further details on what it can do.)

This now allows us to support multiple filesystem types during bootup.
2000-10-09 10:22:56 +00:00
KATO Takenori
1c206c591f Activate the pc98 directory. 2000-03-18 16:49:22 +00:00
Yoshinobu Inoue
210d0432a3 Add ip6fw.
Yes it is almost code freeze, but as the result of many thought, now I
think this should be added before 4.0...

make world check, kernel build check is done.

Reviewed by: green
Obtained from: KAME project
2000-01-29 13:54:44 +00:00
Peter Wemm
e330fda4f8 Move sbin/i386/{mount_msdos,comcontrol} back to sbin, they are not
i386 specific.

Submitted by:	bde
2000-01-14 16:37:03 +00:00
Yoshinobu Inoue
7d56d3747c Getaddrinfo(), getnameinfo(), and etc support in libc/net.
Several udp and raw apps IPv6 support.

Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
1999-12-28 02:37:14 +00:00