Commit Graph

233 Commits

Author SHA1 Message Date
Greg Lehey
301cc81ed3 Install the crunched binaries into /sbin, not /stand. This was
originally done to track down yet another case of lost init, and is
not strictly necessary, but it seems more logical to have binaries in
/sbin than in /stand.  Previously /sbin and /bin were symlinks to
/stand.  Now /bin and /stand are symlinks to /sbin.
1999-12-20 02:16:55 +00:00
Greg Lehey
bc702a4474 Add content. This was one of the files that somehow got checked in
empty.  An empty loader.rc will enable the kernel to boot, but it
won't find init (because the MFS file system hasn't been loaded).
1999-12-20 02:15:04 +00:00
Greg Lehey
35bce93fbf Accept a lot of programs from the first floppy.
Reenable build of ppp and ipfw.

Include pccardd.
1999-12-20 02:13:28 +00:00
Greg Lehey
b8b1ea6738 Define RELEASE_CRUNCH as a make variable. Previously it was defined
as a preprocessor variable only.  This broke the build of ppp.  This
problem still exists in the old-style directories.

Debugging-help-supplied-by: brian
1999-12-20 02:12:27 +00:00
Greg Lehey
4f8959ac97 Move even more programs to the second floppy as the kernel bloats. 1999-12-20 02:10:55 +00:00
Greg Lehey
a06031eb6c Install the crunched binaries into /sbin, not /stand. This was
originally done to track down yet another case of lost init, and is
not strictly necessary, but it seems more logical to have binaries in
/sbin than in /stand.  Previously /sbin and /bin were symlinks to
/stand.  Now /bin and /stand are symlinks to /sbin.
1999-12-20 02:10:16 +00:00
Greg Lehey
4b61b305c0 Handle building individual targets better. It's still broken; the
only way to be sure the build works correctly is to do a 'make all'.
But with these changes, it's easier to test individual targets.  In
particular, ensure that the vnode file systems are mounted before
writing to them.

Ensure that we don't get CVS directories on our floppies.

Use kgzip instead of kzip to compress the loader.  This saves a few
kB.

Remove some test cruft.
1999-12-20 02:07:42 +00:00
Jordan K. Hubbard
b99df5acb5 Correct slight stuff-up in previous patch. 1999-12-16 02:14:30 +00:00
Jordan K. Hubbard
bb0ea411a8 Update to use MD disk instead of MFS 1999-12-16 02:08:52 +00:00
John Polstra
740ab0e829 Something went wrong with an earlier commit and these files ended up
empty.  Fix that with help from grog.
1999-12-11 15:12:31 +00:00
Greg Lehey
0f33c9fb91 Add 'custom' directory with significantly restructured build (now
using make instead of custom scripts) and two floppies instead of
one.  The resultant floppy can do everything that the individual
floppies (dial, net, install, isp, router) could do, modulo some bit
rot that has occurred since PicoBSD last compiled.  It also includes
all the programs on the fixit floppy, which could thus also die.

/bin currently contains the following files:

-sh             dump            ln              ns              sps
[               ed              login           ping            stty
badsect         ex              ls              ps              swapon
cat             expr            mkdir           pwd             sync
chgrp           fdisk           mknod           pwd_mkdb        sysctl
chmod           find            more            rdump         syslogd
chown           fsck            mount           reboot          tar
chroot          ftp             mount_cd9660    restore         telnet
clri            getty           mount_msdos     rlogin                telnetd
cp              grep            mount_nfs       rm              test
date            gunzip          mount_std       rmdir         traceroute
dd              gzip            msg             route           umount
dev_mkdb        hostname        mt              routed          vi
df              ifconfig        mv              rrestore        view
dhclient        inetd           natd            rsh             vm
dhclient-script init            netstat         sed             w
disklabel       kget            newfs           sh              zcat
dmesg           kill            nfs             sleep

Structure is in place for using the same build for the other
directories, but I'm no longer sure we need this.  The current first
floppy will run fine by itself, but the size of a compressed kernel
has increased by nearly 50% since 3.2, and there's not much space for
anything useful on the remainder of the floppy.  The current method
creates a larger mfs and can read as many floppies as the user can
stand.  The footprint appears to be round 14 MB.
1999-12-10 21:52:18 +00:00
Greg Lehey
2bdf2cff05 Add 'custom' directory with significantly restructured build (now
using make instead of custom scripts) and two floppies instead of
one.  The resultant floppy can do everything that the individual
floppies (dial, net, install, isp, router) could do, modulo some bit
rot that has occurred since PicoBSD last compiled.  It also includes
all the programs on the fixit floppy, which could thus also die.

/bin currently contains the following files:

-sh             dump            ln              ns              sps
[               ed              login           ping            stty
badsect         ex              ls              ps              swapon
cat             expr            mkdir           pwd             sync
chgrp           fdisk           mknod           pwd_mkdb        sysctl
chmod           find            more            rdump		syslogd
chown           fsck            mount           reboot          tar
chroot          ftp             mount_cd9660    restore         telnet
clri            getty           mount_msdos     rlogin		telnetd
cp              grep            mount_nfs       rm              test
date            gunzip          mount_std       rmdir		traceroute
dd              gzip            msg             route           umount
dev_mkdb        hostname        mt              routed          vi
df              ifconfig        mv              rrestore        view
dhclient        inetd           natd            rsh             vm
dhclient-script init            netstat         sed             w
disklabel       kget            newfs           sh              zcat
dmesg           kill            nfs             sleep

Structure is in place for using the same build for the other
directories, but I'm no longer sure we need this.  The current first
floppy will run fine by itself, but the size of a compressed kernel
has increased by nearly 50% since 3.2, and there's not much space for
anything useful on the remainder of the floppy.  The current method
creates a larger mfs and can read as many floppies as the user can
stand.  The footprint appears to be round 14 MB.

Work-sponsored-by:    Sitara Networks Inc.
1999-12-10 21:43:10 +00:00
Pierre Beyssac
58387d7595 A (harmless) forgotten MFS_ROOT -> MD_ROOT. 1999-11-30 21:41:11 +00:00
Pierre Beyssac
b20d9ccb75 A forgotten "disk" -> "device". 1999-11-30 21:24:31 +00:00
Pierre Beyssac
e2285320a6 Make the following changes to PicoBSD kernel configurations:
- to account for recent changes in MFS:
		add pseudo-device md
		replace MFS_ROOT with MD_ROOT
	- replace deprecated "disk" with "device"
1999-11-28 21:33:44 +00:00
Roger Hardiman
f5d0153981 Update PicoBSD so it does not need to patch the passwd Makefile. 1999-10-30 09:19:30 +00:00
Doug White
96df778049 Change MFS sizes to 2400k since gzip will compact free space anyway.
Add 'install' to the internal floppy type list.
1999-10-20 04:48:35 +00:00
Doug White
eb5fe92141 Reverse the sense of the /mnt/boot/defaults dir check. This was causing
the bootloader to not load the loader.conf and thus the MFS image.  The result
was 'panic: no init'.
1999-10-17 22:42:57 +00:00
Doug White
5c52794973 Fix handling of the 'custom' directory symlink.
Properly abstract the PicoBSD build directory instead of depending too much
on pwd's and relative paths.

Submitted by:	 John Baldwin <jobaldwi@vt.edu>
1999-10-11 20:52:50 +00:00
Doug White
3eaa4cd425 Be explicit about kzip location to avoid accidentally calling KDE kzip. 1999-10-11 05:13:52 +00:00
Doug White
f691269881 Add documentation for the PicoBSD install floppy. 1999-10-08 05:20:06 +00:00
Doug White
88e4dbacdb Add a new floppy type, install. This type builds a disk that can
slice, partition, newfs, and install FreeBSD from a tarball on a remote server.
Handy for doing mass-installs for server farms.

Documentation following shortly.
1999-10-08 04:00:21 +00:00
Doug White
0a2478e155 Remove tee from stage1 call. You can't capture the return code from stage1
(easily) so it gives false 'success' indications.
1999-08-29 19:16:29 +00:00
Doug White
a17382473e MFS: Dialog-ify 'reuse custom directory' question. 1999-08-29 19:11:11 +00:00
Roger Hardiman
fc7998f35f Backout my last commit. Exit status is $? 1999-08-28 08:04:15 +00:00
Roger Hardiman
cdd87770ec Add file which was missed in last commits due to CVS problems 1999-08-28 06:24:16 +00:00
Roger Hardiman
6340ac2f2a Add file which was missing from previous commits 1999-08-28 06:22:07 +00:00
Peter Wemm
97d92980a9 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
Roger Hardiman
3795f47b11 'build' calls 'stage1'
The check for the exit status of the 'stage1' script was broken.
Change "X$?" != "X0" to "X?" != "X0"
1999-08-27 07:41:25 +00:00
Roger Hardiman
b32a0e48f8 Sync with -stable version 1999-08-26 18:36:36 +00:00
Roger Hardiman
06e96d9dea Comment out references to ssh to allow builds to complete. 1999-08-26 17:58:58 +00:00
Roger Hardiman
15c3245acb Update so it applies cleanly 1999-08-26 15:17:24 +00:00
Roger Hardiman
edeebf5897 Update patch so it applies cleanly 1999-08-26 15:13:00 +00:00
Roger Hardiman
e9509fb8fa Changed to get the page size using a sysctl rather than using DEFAULT_PAGE_SIZE
Suggested by: Alan Cox
1999-08-26 11:11:48 +00:00
Doug White
722eb6eda0 Add missing quote. 1999-08-25 01:12:55 +00:00
Doug White
11cef18f44 Fix patch so it applies without asking for a filename. 1999-08-24 23:28:26 +00:00
Doug White
5262c12c2b Add 'options MFS_ROOT' back in to kernel configs -- not going to get far
without that!
1999-08-23 18:49:52 +00:00
Luigi Rizzo
c464d06ff4 Add missing files from previous commits. 1999-08-23 11:04:23 +00:00
Luigi Rizzo
d4c9c82f8d Add missing file from previous commit 1999-08-23 11:02:08 +00:00
Luigi Rizzo
42fd4cf364 Remove some files probably forgotten from previous commit. 1999-08-23 10:23:32 +00:00
Luigi Rizzo
6b59f6afe4 Add missing files probably forgotten in previous commit 1999-08-23 10:19:15 +00:00
Luigi Rizzo
05e0775526 Add missing files probably forgotten in previous commit 1999-08-23 10:13:06 +00:00
Luigi Rizzo
124f628b5d Add missing file probably forgotten from previous commit 1999-08-23 10:05:20 +00:00
Luigi Rizzo
5349eb69a5 More cleanup: move device entries in Picobsd makefiles in a more
accessible place.
1999-08-23 08:52:05 +00:00
Luigi Rizzo
0b86462de0 Additional cleanup of the picobsd scripts.
Also bump Version to 0.445
1999-08-23 08:33:08 +00:00
Doug White
843fcabd9e Major PicoBSD update by luigi with some debugging help from myself.
. Now builds on -STABLE (-CURRENT is broken due to bugs)
. etc directory contents centralized instead of in each
  type directory (can exclude & override as desired)
. Removed extraneous language files (lang files for rc really necessary?)
. dialog-based build tool with support for custom floppy builds
. MFS image loads as a mfs_root module instead of compiled into kernel

THIS IS BROKEN ON CURRENT.  I'll MFC to -STABLE immediately following.
luigi tells me I have an OK from jkh on the MFC.

Submitted by:	luigi
1999-08-22 21:45:24 +00:00
Luigi Rizzo
6bbeddc1ea Enable printing of bridging statistics. 1999-08-17 03:30:34 +00:00
Luigi Rizzo
a18ff8bea7 Fix a problem in printing interface names. 1999-08-12 05:40:07 +00:00
Brian Feldman
c6080e5453 DEFAULT_PAGE_SIZE was removed, pgtok defined in headers, headers cleaned up.
Obtained from:	Jonathan Towne <jontow@sysctl.urban-a.net>
1999-07-08 06:22:04 +00:00
Dag-Erling Smørgrav
6b5ca0d83e Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
Roger Hardiman
105d5f266a MFS: No longer needed with PicoBSD 0.44 1999-06-15 12:51:57 +00:00
Roger Hardiman
3e69db1b49 MFS: No longer needed in PicoBSD 0.44 1999-06-15 12:40:32 +00:00
Roger Hardiman
f2488e30c5 MFS: No longer needed in PicoBSD 0.44 1999-06-15 11:45:25 +00:00
Roger Hardiman
27c2745d8a MFS: No longer needed in PicoBSD 0.44 1999-06-15 11:40:13 +00:00
Roger Hardiman
b8f659fe68 Last commit was incorrect. Remove the 'rp' PCI device 1999-06-14 18:16:51 +00:00
Roger Hardiman
45f63ade9b Comment out the PCI Comtrol Rocketport entries.
The PicoBSD 'isp' build fails when both the PCI and ISA versions of the
'rp' driver are included at the same time
1999-06-14 18:08:17 +00:00
Roger Hardiman
a48da6e82e Update to PicoBSD 0.44 from RELENG_3 1999-06-14 16:48:23 +00:00
Roger Hardiman
d7e03a941e Update to PicoBSD 0.44 (from RELENG_3) 1999-06-14 16:36:50 +00:00
Roger Hardiman
75663a1769 Update to PicoBSD 0.44 from RELENG_3 1999-06-14 15:45:56 +00:00
Roger Hardiman
a4d0e7358a Update to PicoBSD 0.44 from RELENG_ 1999-06-14 15:45:41 +00:00
Roger Hardiman
6d30ce34c5 Update PicoBSD kernel config files. Changes are
removal of bio, tty, net
  removal of quotes
  switches from isa? to nexus? or atkbdc?
  additional comments

  These bring the kernel config files in sync with those in
  RELENG_3
1999-05-24 17:27:30 +00:00
Andrzej Bialecki
934ebc48ce Deal with MAKEDEV's braindedness.
Submitted by:	Patrick Powell <papowell@astart4.astart.com>
Reviewed by:	abial
1999-05-05 08:37:46 +00:00
Andrzej Bialecki
a4cc706896 Simple_HTTPd on steroids - major rework of the original program, by
William Lloyd. New features include:

* many additional command line options
* "fetch" mode
* less bugs :-)
* better README.

Submitted by:	William Lloyd <wlloyd@lap.net>
Reviewed by:	abial
1999-05-05 07:22:34 +00:00
Tim Vanderhoek
61f74535f6 Change references from "passwordperiod" to "passwordtime", since
"passwordtime" is what passwd(1) has actually been using.  I suspect
passwordperiod was the original intent.  I can't figure-out which,
if either, BSDi uses.  If anyone knows...
1999-04-30 18:19:46 +00:00
Andrzej Bialecki
9509885927 Take boot1/boot2 from their new place, i.e. /boot/, not from
(currently nonexistent) /usr/mdec/.

Submitted by:	luigi
1999-03-09 21:15:08 +00:00
Andrzej Bialecki
5a1e113f67 Copy the 'reboot' script only for "dial" floppy. 1999-02-15 00:27:00 +00:00
Andrzej Bialecki
f8ee1a074a Merge from RELENG_3. 1999-02-12 20:36:13 +00:00
Dag-Erling Smørgrav
8a8c13bd0d Use ppbus instead of the lpt driver. 1999-02-10 02:26:04 +00:00
Andrzej Bialecki
cfc0e28a51 Add missing "quit". 1999-01-19 23:15:56 +00:00
Andrzej Bialecki
9dacf92623 Don't start (now) noneexistent snmpd. 1999-01-19 23:15:41 +00:00
Andrzej Bialecki
05693a30ce Remove generated copy of the file. 1999-01-19 23:14:30 +00:00
Andrzej Bialecki
d3ce4405b6 Add NOPAM hook. 1999-01-19 23:12:50 +00:00
Andrzej Bialecki
281c9803a2 Remove PROCFS - we don't use it. 1999-01-19 23:12:27 +00:00
Andrzej Bialecki
b37d50de2e Remove snmp for now - it has to either shrink, or we have to invent
something else...
1999-01-19 23:11:50 +00:00
Andrzej Bialecki
bc8fb49115 Add NOPAM hook to be able to use login(1) here... 1999-01-19 23:10:34 +00:00
Andrzej Bialecki
9f63a91c4c Sync more with reality... 1999-01-19 23:09:46 +00:00
Andrzej Bialecki
3f81b6e1f1 Emulate getpass behaviour when asking for user's password.
Add ability to use PAP/CHAP authentication in auto-generated ppp.conf.

Let users edit ppp arguments before the first run.
1999-01-19 23:09:15 +00:00
Andrzej Bialecki
0b8ce10c41 Add stty to emulate getpass in dialup script. 1999-01-19 23:07:17 +00:00
Andrzej Bialecki
0b0da843a9 Next round of fixes before 3.1-RELEASE. 1999-01-19 23:02:05 +00:00
Andrzej Bialecki
d27f3d61be Bump version number to 0.43 1999-01-19 23:01:25 +00:00
Andrzej Bialecki
d54d292d52 Fix copy & paste error.
Submitted by:	Reinier Bezuidenhout <rbezuide@oskar.nanoteq.co.za>
1999-01-18 10:17:38 +00:00
Daniel O'Callaghan
7621c7c32a Fix Makefile so it works.
Change date format to yyyy/mm/dd hh:mm:ss
Submitted by:	Peter Jeremy <peter.jeremy@alcatel.com.au>
1999-01-16 03:50:10 +00:00
Andrzej Bialecki
6b75c010a0 Use the new kget syntax. 1999-01-14 23:23:19 +00:00
Andrzej Bialecki
e8929da0c5 Add natd entry. 1999-01-14 23:23:02 +00:00
Andrzej Bialecki
f6e84454ab Change to new syscons devices. 1999-01-14 23:22:51 +00:00
Andrzej Bialecki
6cca71034d Use the new syntax for kget. 1999-01-14 23:21:04 +00:00
Andrzej Bialecki
1c8e558414 Fix to match new syntax for kget. 1999-01-14 23:19:47 +00:00
Andrzej Bialecki
d0efc0c9cd Change to the new syscons devices. 1999-01-14 23:15:39 +00:00
Andrzej Bialecki
b9068e0a34 Make transition to ELF kernel. Fix the userconfig_script handling. 1999-01-14 23:14:46 +00:00
Satoshi Asami
0e510aed5b Oops, I missed a few more /etc/nologin references yesterday. It appears
my check of the tree was incomplete.  Sorry guys.

Reported by:	Ben Smithurst <ben@scientia.demon.co.uk>
1999-01-12 14:09:23 +00:00
Andrzej Bialecki
b51e08ff33 Replace kget with version which obtains its info from newly added
sysctl machdep.uc_devlist, instead of /dev/kmem.
1999-01-08 21:09:42 +00:00
Andrzej Bialecki
cf99ccfbc0 Fix typo.
Submitted by:	Ilya V. Komarov <mur@lynx.ru>
1998-12-22 21:40:56 +00:00
Andrzej Bialecki
b75443c896 Fix errors in last commit. 1998-11-25 14:59:28 +00:00
Andrzej Bialecki
19f4762b5a New revision of UCI project document. Comments are welcome... 1998-11-25 11:08:54 +00:00
Andrzej Bialecki
122d2c5921 Update ssh version number. It's only informational, anyway.
Submitted by:	jkh
1998-11-15 23:30:26 +00:00
Andrzej Bialecki
10639dcf77 Use console instead of ttyv0 - it didn't work with serial console... 1998-11-15 23:26:32 +00:00
Andrzej Bialecki
a55946faaf Change USERCONFIG_BOOT -> INTRO_USERCONFIG 1998-11-14 20:10:23 +00:00
Dag-Erling Smørgrav
fb46af4f6c Back out previous commit. The bpfilter -> bpf transition will have to be a
flag day unless we can hack config(8) to smooth things over.
1998-11-03 22:01:22 +00:00
Dag-Erling Smørgrav
10b4ab477f Rename the 'bpfilter' pseudo-device to 'bpf'. The old syntax is still legal
and will stick around for a while.
1998-11-03 21:12:20 +00:00
Andrzej Bialecki
e0b7bc571a Changed my e-mail address. 1998-11-01 20:19:43 +00:00