Nuke abandoned configuration.

This commit is contained in:
Luigi Rizzo 2002-03-09 08:28:11 +00:00
parent a100324819
commit 93581d7445
42 changed files with 0 additions and 1602 deletions

View File

@ -1,46 +0,0 @@
#
# $Id: Makefile,v 1.2.2.1 1999/05/09 22:04:07 abial Exp $
#
DESTDIR?=/mnt
STAND_LINKS= bin sbin
USR_LINKS= bin sbin libexec
PL_LOCALE_LINKS= pl polish
MY_DEVS= std tun2 cuaa0 cuaa1 cuaa2 vty10 fd0 wd0s1h pty0 wd0 wd1 wd2 wd3 da0 da1 da2 da3 da4 da5 da6 bpf4
all: tree links files
tree:
mtree -deU -f mfs.mtree -p ${DESTDIR}
links: tree
(cd ${DESTDIR}; \
for i in ${STAND_LINKS}; \
do \
ln -s /stand $${i}; \
done; \
cd var/run; \
ln -s /dev/null log; \
cd ../../usr; \
for i in ${USR_LINKS}; \
do \
ln -s /stand $${i}; \
done; \
cd share/misc;\
ln -s /etc/termcap termcap; )
files: tree
(cd ${DESTDIR}; \
cp /sbin/dhclient-script stand/; \
cp -Rp /boot . ; )
# We don't do it under 'all' because it's needed only on non-DEVFS systems
devnodes: tree
(cd ${DESTDIR}/dev; \
ln -s /dev/MAKEDEV; \
./MAKEDEV ${MY_DEVS}; \
rm MAKEDEV)
clean:

View File

@ -1,74 +0,0 @@
#
# $Id: PICOBSD,v 1.8.2.2 1999/02/15 02:49:24 des Exp $
#
#Line starting with #PicoBSD contains PicoBSD build parameters
#marker def_sz init MFS_inodes floppy_inodes
#PicoBSD 2200 init 4096 4096
options MD_ROOT_SIZE=2200 # same as def_sz
hints "PICOBSD.hints"
machine "i386"
#cpu "I386_CPU"
#cpu "I486_CPU"
#cpu "I586_CPU"
cpu "I686_CPU"
ident PICOBSD
maxusers 10
options MATH_EMULATE #Support for x87 emulation
options INET #InterNETworking
options FFS #Berkeley Fast Filesystem
# options NFS #Network Filesystem
options MD_ROOT
options MSDOSFS #MSDOS Filesystem
# options "EXT2FS"
options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!]
options "NO_F00F_HACK"
device isa
device pci
device fdc
# ATA and ATAPI devices
device ata
device atadisk
# syscons is the default console driver, resembling an SCO console
device atkbdc 1
device atkbd
device vga
device sc 1
device npx
device sio
#device ppc
#controller ppbus
#device nlpt
#device plip
#device ppi
# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.
device de
device fxp
#device ed
#device ep
#device ie
device loop
device ether
# device tun 2
device vn
device pty 16
device md
#device gzip # Exec gzipped a.out's
device bpf 4
options COMPAT_OLDISA #Use ISA shims and glue for old drivers

View File

@ -1,30 +0,0 @@
# $FreeBSD$
hint.fd.0.at="fdc0"
hint.fd.0.drive="0"
hint.ata.0.port="0x1F0"
hint.ata.0.irq="14"
hint.ata.1.at="isa"
hint.ata.1.port="0x170"
hint.ata.1.irq="15"
hint.atkbd.0.at="isa"
hint.atkbd.0.irq="1"
hint.vga.0.at="isa"
hint.sc.0.at="isa"
hint.npx.0.at="isa"
hint.npx.0.port="0x0F0"
hint.npx.0.irq="13"
hint.sio.0.at="isa"
hint.sio.0.port="0x3F8"
hint.sio.0.flags="0x10"
hint.sio.0.irq="4"
hint.sio.1.at="isa"
hint.sio.1.port="0x2F8"
hint.sio.1.irq="3"
hint.sio.2.at="isa"
hint.sio.2.disabled="1"
hint.sio.2.port="0x3E8"
hint.sio.2.irq="5"
hint.sio.3.at="isa"
hint.sio.3.disabled="1"
hint.sio.3.port="0x2E8"
hint.sio.3.irq="9"

View File

@ -1,44 +0,0 @@
#
# $Id: Makefile,v 1.3 1999/01/19 23:12:50 abial Exp $
#
SRC?=/usr/src
all: crunch
crunch:
# @if [ ! -f /usr/src/usr.bin/passwd/.picobsd.patched ]; then \
# cat passwd.diff|(cd /usr/src/usr.bin/passwd; patch -p0); \
# touch /usr/src/usr.bin/passwd/.picobsd.patched; \
# fi
@cat crunch.conf|sed -e "s@/usr/src@${SRC}@" >crunch1.conf
@crunchgen ./crunch1.conf
@${MAKE} -f crunch1.mk -DNOPAM all \
"CFLAGS=${CFLAGS} -DNOPAM -DRELEASE_CRUNCH -DNOSECURE -DNOCRYPT" #2>&1 >/dev/null
clean:
# @if [ -f /usr/src/usr.bin/passwd/.picobsd.patched ]; then \
# cat passwd.diff|(cd /usr/src/usr.bin/passwd; patch -R -p0); \
# rm /usr/src/usr.bin/passwd/.picobsd.patched; \
# fi
rm -f *.o *.stub *.lo *_stub.c *.mk \
crunch.cache \
crunch.mk \
crunch.c \
crunch1* \
crunch \
.tmp_* \
*.gz
install:
cp crunch1 ${MFS_MOUNTPOINT}/stand/crunch
chmod 555 ${MFS_MOUNTPOINT}/stand/crunch
for i in `crunchgen -l crunch1.conf` ; \
do \
ln ${MFS_MOUNTPOINT}/stand/crunch ${MFS_MOUNTPOINT}/stand/$${i}; \
done
rm ${MFS_MOUNTPOINT}/stand/crunch
# Install the MIB files
#cp mibs/*.txt ${MFS_MOUNTPOINT}/usr/local/share/snmp/mibs/
.include <bsd.prog.mk>

View File

@ -1,66 +0,0 @@
#
# $Id: crunch.conf,v 1.5.2.2 1999/05/07 10:03:06 abial Exp $
#
# NOTE: the string "/usr/src" will be automatically replaced with the
# correct value set in 'build' script - you should change it there
# Default build options
buildopts -DNOPAM -DRELEASE_CRUNCH -DNOSECURE -DNOCRYPT -DNONETGRAPH -DNOIPSEC
# other sources
srcdirs /usr/src/bin
srcdirs /usr/src/sbin/i386
srcdirs /usr/src/sbin
srcdirs /usr/src/usr.bin
srcdirs /usr/src/gnu/usr.bin
srcdirs /usr/src/usr.sbin
srcdirs /usr/src/libexec
# sources for ns & vm
srcdirs ../../tinyware
progs sh test awk cat chflags chmod chown cp cpio date dd
# progs sh test awk cat chflags chmod chown cp cpio date dd dev_mkdb
progs df dhclient disklabel echo fdisk fetch getty grep minigzip
progs hostname ifconfig init ln login ls mkdir mknod msg
progs more mount newfs pwd mount_std pwd_mkdb
# progs mount mount_ext2fs mount_cd9660 mount_nfs msg newfs ns passwd pwd pwd_mkdb mount_std
# progs reboot rm route stty sysctl syslogd tr umount
progs reboot rm route stty sysctl tr umount
# progs vm w
#progs sh test echo hostname ln login getty stty
#progs msg kget reboot
#progs init ifconfig df sps cat
## progs cp rm mknod chmod chown mkdir ls syslogd
#progs cp rm mknod chmod chown mkdir ls
#progs sysctl route pwd_mkdb dev_mkdb
#progs mount umount
#progs kill mount_std grep tr awk newfs fetch
#progs pwd more
##progs passwd date
#progs date fdisk disklabel
#progs mount_cd9660 mount_nfs ping traceroute
#progs tar gzip cpio dhclient
#ln mount_cd9660 cd9660
# ln mount_nfs nfs
ln test [
ln sh -sh
ln mount_std procfs
ln mount_std mount_procfs
ln msg dmesg
#ln ns netstat
ln minigzip gunzip
ln minigzip zcat
ln minigzip gzip
ln chown chgrp
# libs -lncurses -lmytinfo -lipx -lz -lpcap -lalias -lwrap
#libs -lncurses -lmytinfo -lipx -lz -lpcap
# libs -lmytinfo -lz -lpcap -lipx
libs -lmytinfo -lz -lpcap -lipx
# libs -ledit -lutil -lmd -lcrypt -lmp -lgmp -lm -lkvm
libs -ledit -lutil -lcrypt -lm
libs -lgnuregex -lftpio
#libs -lradius # used by ppp

View File

@ -1 +0,0 @@
CVS/*

View File

@ -1,87 +0,0 @@
#
# Floppy formats:
#
# To make a filesystem on a floppy:
# fdformat [-f <size>] fd<drive>[.<size>]
# disklabel -B -r -w fd<drive>[.<size>] fd<size>
# newfs <opts> fd<drive>[.<size>]
#
# with <opts>:
# -t 2 - two heads
# -u 9|15|18 - sectors per track
# (using the default value of 1/4096 is not much useful for floppies)
# -l 1 - interleave 1 (for most floppies)
# -i 65536 - bytes of data per i-node
# (the default -i value will render you with a floppy wasting way
# too much space in i-node areas)
#
fd360:\
:ty=floppy:se#512:nt#2:rm#300:ns#9:nc#40:\
:pa#720:oa#0:ba#4096:fa#512:\
:pb#720:ob#0:bb#4096:fb#512:\
:pc#720:oc#0:bc#4096:fc#512:
fd720:\
:ty=floppy:se#512:nt#2:rm#300:ns#9:nc#80:\
:pa#1440:oa#0:ba#4096:fa#512:\
:pb#1440:ob#0:bb#4096:fb#512:\
:pc#1440:oc#0:bc#4096:fc#512:
fd1200|floppy5|5in|5.25in High Density Floppy:\
:ty=floppy:se#512:nt#2:rm#360:ns#15:nc#80:\
:pa#2400:oa#0:ba#4096:fa#512:\
:pb#2400:ob#0:bb#4096:fb#512:\
:pc#2400:oc#0:bc#4096:fc#512:
fd1440|floppy|floppy3|3in|3.5in High Density Floppy:\
:ty=floppy:se#512:nt#2:rm#300:ns#18:nc#80:\
:pa#2880:oa#0:ba#4096:fa#512:\
:pb#2880:ob#0:bb#4096:fb#512:\
:pc#2880:oc#0:bc#4096:fc#512:
fd1024|floppy0|3.5in Special Density Floppy:\
:ty=floppy:se#512:nt#2:rm#300:ns#16:nc#64:\
:pa#2048:oa#0:ba#4096:fa#512:\
:pb#2048:ob#0:bb#4096:fb#512:\
:pc#2048:oc#0:bc#4096:fc#512:
# a == root
# b == swap
# c == d == whole disk
# e == /var
# f == scratch
# h == /usr
cp3100new|Connor Peripherals 100MB IDE, with a different configuration:\
:dt=ST506:ty=winchester:se#512:nt#8:ns#33:nc#766: \
:pa#15840:oa#0:ta=4.2BSD:ba#4096:fa#512: \
:pb#24288:ob#15840:tb=swap: \
:pc#202224:oc#0: \
:pd#202224:od#0: \
:pe#15840:oe#40128:te=4.2BSD:be#4096:fe#512: \
:pg#15840:og#55968:tg=4.2BSD:bg#4096:fg#512: \
:ph#130416:oh#71808:th=4.2BSD:bh#4096:fh#512:
sony650|Sony 650 MB MOD|\
:ty=removable:dt=SCSI:se#512:nt#1:ns#31:nc#18600:ts#1:rm#4800:\
:pc#576600:oc#0:\
:pa#576600:oa#0:ta=4.2BSD:ba#8192:fa#1024:
mta3230|mo230|IBM MTA-3230 230 Meg 3.5inch Magneto-Optical:\
:ty=removeable:dt=SCSI:rm#3600:\
:se#512:nt#64:ns#32:nc#216:sc#2048:su#444384:\
:pa#444384:oa#0:ba#4096:fa#0:ta=4.2BSD:\
:pc#444384:oc#0:
minimum:ty=mfs:se#512:nt#1:rm#300:\
:ns#2880:nc#1:\
:pa#2880:oa#0:ba#4096:fa#512:\
:pc#2880:oc#0:bc#4096:fc#512:
zip100|zip 100:\
:ty=removable:se#512:nc#96:nt#64:ns#32:\
:pa#196608:oa#0:ba#4096:fa#512:\
:pb#196608:ob#0:bb#4096:fb#512:\
:pc#196608:oc#0:bc#4096:fc#512:

View File

@ -1,112 +0,0 @@
#!/bin/sh
#
# PicoBSD installer script for FreeBSD
#
# Doug White
# $FreeBSD$
#### CONFIGURATION
# URL to image tarball, fed to fetch(1)
image_url="ftp://YOUR.SERVER.HERE/pub/fbsdimage.tgz"
# Target disk driver to fdisk -e
target_disk="wd0"
#### END CONFIGURATION
# Immediately abort on error
set -e
# Do the install
echo "==> Partitioning disk"
fdisk -e ${target_disk}
echo "==> Disklabeling disk"
/etc/prepdisk ${target_disk}
echo "==> Creating filesystem"
newfs /dev/r${target_disk}s1a > /dev/null
echo "==> Mounting new filesystem"
mount /dev/${target_disk}s1a /mnt
echo "==> Installing disk image"
if [ "X${image_url}" = "X" ] ; then
echo "No URL specified!"
else
echo "=====> From: ${image_url}"
cd /mnt
fetch -a -o - ${image_url} | gzip -d | cpio -idmu --quiet
fi
# Some examples of post-install tweaking
# The install floppy always DHCPs an address. If you want to make that
# address permanent on the system, use this code bit.
#echo "==> Saving IP address"
#set `ifconfig fxp0 | grep inet`
#echo "ifconfig_fxp0=\"inet $2 netmask $4\"" >> /mnt/etc/rc.conf
#echo "=====> IP Address is $2"
# If you enable different apps based on environment, here's an example.
# For 10.2.X.X networks, enable AMD.
#echo "==> Checking if amd should be enabled"
#IFS=.
#set $2
#if [ "X$1" = "X10" -a "X$2" = "X1" ] ; then
# echo "=====> Enabling amd"
# echo "amd_enable=\"YES\"" >> /mnt/etc/rc.conf
#fi
#echo "==> Setting default router"
#echo "defaultrouter=\"10.1.1.3\"" >> /mnt/etc/rc.conf
# Grab the DNS servers from the local DHCP configuration.
#echo "==> Configuring name resolution"
#cp /etc/resolv.conf /mnt/etc
# Prompt a menu to install a single or multiprocessor kernel. On our
# main image, we have two kernels, kernel-SMP and kernel-NOSMP. This
# menu drops a symlink that the bootblocks follow to the proper kernel.
# The user can enter a name for a different kernel if desired.
#echo "==> Linking kernel"
#DOKERN=0
#cd /mnt
#chflags noschg kernel
#rm -f kernel
#
#while [ "X$DOKERN" = "X0" ] ; do
#
# DOKERN=1
#
# echo " Please specify which kernel to use:"
# echo " 1. Uniprocessor"
# echo " 2. Multiprocessor (OK for SMP equipped systems with one CPU)"
# echo " Or type the name of the kernel you wish to use"
# read -p "Select >" KERN
#
#
# if [ "X$KERN" = "X1" ] ; then
# ln -s kernel-NOSMP kernel
# echo "=====> Uniprocessor kernel selected"
# elif [ "X$KERN" = "X2" ] ; then
# ln -s kernel-SMP kernel
# echo "=====> SMP kernel selected"
# elif [ -f $KERN ] ; then
# ln -s $KERN kernel
# echo "=====> User supplied kernel $KERN selected"
# else
# echo "*** Unknown kernel $KERN"
# KERN=0
# fi
#
#done
echo "==> Install complete!"

View File

@ -1,5 +0,0 @@
# $FreeBSD$
#proc /proc procfs rw 0 0
#/dev/fd0c /start_floppy ufs rw 1 1
#/dev/wd0s1 /dos msdosfs rw 0 0
#/dev/wcd0c /cdrom cd9660 ro,noauto 0 0

View File

@ -1,40 +0,0 @@
# from: @(#)gettytab 5.14 (Berkeley) 3/27/91
#
default:\
:cb:ce:ck:lc:fd#1000:cl:im=\r\nPicoBSD (%h) (%t)\r\n\r\n:sp#1200:
P|Pc|Pc console:\
:ht:np:sp#115200:
#
# Fixed speed entries
2|std.9600|9600-baud:\
:np:sp#9600:
g|std.19200|19200-baud:\
:np:sp#19200:
std.38400|38400-baud:\
:np:sp#38400:
std.57600|57600-baud:\
:np:sp#57600:
std.115200|115200-baud:\
:np:sp#115200:
#
# Entry specifying explicit device settings. See termios(4) and
# /usr/include/termios.h, too. The entry forces the tty into
# CLOCAL mode (so no DCD is required), and uses Xon/Xoff flow control.
#
# cflags: CLOCAL | HUPCL | CREAD | CS8
# oflags: OPOST | ONLCR | OXTABS
# iflags: IXOFF | IXON | ICRNL | IGNPAR
# lflags: IEXTEN | ICANON | ISIG | ECHOCTL | ECHO | ECHOK | ECHOE | ECHOKE
#
# The `0' flags don't have input enabled. The `1' flags don't echo.
# (Echoing is done inside getty itself.)
#
local.9600|CLOCAL tty @ 9600 Bd:\
:c0#0x0000c300:c1#0x0000cb00:c2#0x0000cb00:\
:o0#0x00000007:o1#0x00000002:o2#0x00000007:\
:i0#0x00000704:i1#0x00000000:i2#0x00000704:\
:l0#0x000005cf:l1#0x00000000:l2#0x000005cf:\
:sp#9600:

View File

@ -1,19 +0,0 @@
wheel:*:0:root,user
daemon:*:1:daemon
kmem:*:2:root
sys:*:3:root
tty:*:4:root
operator:*:5:root
mail:*:6:
bin:*:7:
news:*:8:
man:*:9:
games:*:13:
staff:*:20:root,user
guest:*:31:root
uucp:*:66:
xten:*:67:xten
dialer:*:68:
network:*:69:
nogroup:*:65533:
nobody:*:65534:

View File

@ -1,3 +0,0 @@
# $Id: host.conf,v 1.1.1.1 1998/08/27 17:38:42 abial Exp $
hosts
bind

View File

@ -1,21 +0,0 @@
#
# Internet server configuration database
#
# @(#)inetd.conf 5.4 (Berkeley) 6/30/90
#
telnet stream tcp nowait root /usr/libexec/telnetd telnetd
#
# "Small servers" -- used to be standard on, but we're more conservative
# about things due to Internet security concerns. Only turn on what you
# need.
#
#daytime stream tcp nowait root internal
#daytime dgram udp wait root internal
#time stream tcp nowait root internal
#time dgram udp wait root internal
#echo stream tcp nowait root internal
#echo dgram udp wait root internal
#discard stream tcp nowait root internal
#discard dgram udp wait root internal
#chargen stream tcp nowait root internal
#chargen dgram udp wait root internal

View File

@ -1,120 +0,0 @@
# This file controls resource limits, accounting limits and
# default user environment settings.
#
# $Id: login.conf,v 1.2.2.1 1999/04/30 18:48:09 hoek Exp $
#
# Authentication methods
auth-defaults:\
:auth=passwd:
auth-root-defaults:\
:auth-login=passwd:\
:auth-rlogin=passwd:\
auth-ftp-defaults:\
:auth=passwd:
# Example defaults
# These settings are used by login(1) by default for classless users
# Note that entries like "cputime" set both "cputime-cur" and "cputime-max"
default:\
:cputime=infinity:\
:datasize-cur=22M:\
:stacksize-cur=8M:\
:memorylocked-cur=10M:\
:memoryuse-cur=30M:\
:filesize=infinity:\
:coredumpsize=infinity:\
:maxproc-cur=64:\
:openfiles-cur=64:\
:priority=0:\
:requirehome@:\
:umask=022:\
:tc=auth-defaults:
#
# standard - standard user defaults
#
standard:\
:copyright=/etc/COPYRIGHT:\
:welcome=/etc/motd:\
:setenv=MAIL=/var/mail/$,BLOCKSIZE=K,EDITOR=/usr/bin/ee:\
:path=~/bin /bin /usr/bin:\
:nologin=/var/run/nologin:\
:cputime=1h30m:\
:datasize=8M:\
:stacksize=2M:\
:memorylocked=4M:\
:memoryuse=8M:\
:filesize=8M:\
:coredumpsize=8M:\
:openfiles=24:\
:maxproc=32:\
:priority=0:\
:requirehome:\
:passwordtime=90d:\
:umask=002:\
:ignoretime@:\
:tc=default:
#
# Staff users - few restrictions and allow login anytime
#
staff:\
:ignorenologin:\
:ignoretime:\
:requirehome@:\
:accounted@:\
:path=~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
:umask=022:\
:tc=standard:
#
# root - fallback for root logins
#
root:\
:path=~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
:cputime=infinity:\
:datasize=infinity:\
:stacksize=infinity:\
:memorylocked=infinity:\
:memoryuse=infinity:\
:filesize=infinity:\
:coredumpsize=infinity:\
:openfiles=infinity:\
:maxproc=infinity:\
:memoryuse-cur=32M:\
:maxproc-cur=64:\
:openfiles-cur=1024:\
:priority=0:\
:requirehome@:\
:umask=022:\
:tc=auth-root-defaults:\
#
# Settings used by /etc/rc
#
daemon:\
:coredumpsize@:\
:coredumpsize-cur=0:\
:datasize=infinity:\
:datasize-cur@:\
:maxproc=512:\
:maxproc-cur@:\
:memoryuse-cur=64M:\
:memorylocked-cur=64M:\
:openfiles=1024:\
:openfiles-cur@:\
:stacksize=16M:\
:stacksize-cur@:\
:tc=default:
#
# Polish Users Accounts. Setup proper environment variables.
#
polish:Polish Users Accounts:\
:lang=pl_pl.ISO-8859-2:\
:tc=default:

View File

@ -1,7 +0,0 @@
root:$1$xOOaGnKU$U9QdsCI40XXcCUMBN.7Az.:0:0::0:0:Charlie &:/root:/bin/sh
toor:*:0:0::0:0:Bourne-again Superuser:/root:
daemon:*:1:1::0:0:Owner of many system processes:/root:/nonexistent
operator:*:2:20::0:0:System &:/usr/guest/operator:/bin/csh
bin:*:3:7::0:0:Binaries Commands and Source,,,:/:/nonexistent
nobody:*:65534:65534::0:0:Unprivileged user:/nonexistent:/nonexistent
user:$1$T9q8Coad$WatJttamwr2UAdbfKbWxj.:1002:1002:polish:0:0:user:/home/user:/bin/sh

View File

@ -1,34 +0,0 @@
#!/bin/sh
# $Id: mfs.rc.en,v 1.1.1.1 1998/08/27 17:38:42 abial Exp $
### WARNING !!!!!! #####
# We remove this file during execution (see EOF).
# Awful things happen if its size is > 1024B
stty status '^T'
trap : 2
trap : 3
HOME=/; export HOME
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin
export PATH
trap "echo 'Reboot interrupted'; exit 1" 3
### Special setup for one floppy PICOBSD ###
echo ""
echo "-------------------------------------------"
echo " Please wait. The system is coming up..."
echo "-------------------------------------------"
echo ""
echo "Reading /etc from startup floppy..."
mount -o rdonly /dev/fd0a /start_floppy
cd /start_floppy/etc
cp -Rp . /etc/
cd /etc
pwd_mkdb -p ./master.passwd
umount /start_floppy
echo "Ok. (Now you can remove floppy if you like)"
echo ""
. rc
exit 0

View File

@ -1,52 +0,0 @@
#!/bin/sh
#
# Prepares disk based on kernel disk information. Assumes fdisk -e was
# run beforehand.
#
# 'swap' is the size of the swap partition in 512 byte blocks (def: 256MB)
# dev=target_disk
target_disk=$1
dmesg | grep "${target_disk}.*sectors" | tr -d '(:)' | awk '
{
v = $3
c = $5
h = $7
s = $9
ss = c * h * s - s
sw = 522240
ap = ss - sw
print "#",$0 > "_"
print "g c"c" h"h" s"s > "_"
print "p 1 165",s,ss > "_"
print "a 1" > "_"
print "#",$0 > "__"
print "type: ESDI" > "__"
print "disk:", $1 > "__"
print "label:" > "__"
print "flags:" > "__"
print "bytes/sector: 512" > "__"
print "sectors/track:", s > "__"
print "tracks/cylinder:", h > "__"
print "sectors/cylinder:", s * h > "__"
print "cylinders:", c > "__"
print "sectors/unit:", ss > "__"
print "rpm: 3600" > "__"
print "interleave: 1" > "__"
print "trackskew: 0" > "__"
print "cylinderskew: 0" > "__"
print "headswitch: 0 # milliseconds" > "__"
print "track-to-track seek: 0 # milliseconds" > "__"
print "drivedata: 0 " > "__"
print "8 partitions:" > "__"
print "# size offset fstype [fsize bsize bps/cpg]" > "__"
print "a:",ap,"0 4.2BSD 512 4096 " > "__"
print "b:",sw,ap,"swap " > "__"
print "c:",ss,"0 unused 0 0" > "__"
}
'
disklabel -BrR ${target_disk} __

View File

@ -1,3 +0,0 @@
# System-wide .profile file for sh(1).
BLOCKSIZE=K; export BLOCKSIZE
PATH=/stand:.; export PATH

View File

@ -1,7 +0,0 @@
#
# Internet (IP) protocols
ip 0 IP # internet protocol, pseudo protocol number
icmp 1 ICMP # internet control message protocol
igmp 2 IGMP # Internet Group Management
tcp 6 TCP # transmission control protocol
udp 17 UDP # user datagram protocol

View File

@ -1,64 +0,0 @@
#!/bin/sh
# $Id: rc.en,v 1.5 1999/01/19 23:15:41 abial Exp $
############################################
### Special setup for one floppy PICOBSD ###
### THIS IS NOT THE NORMAL /etc/rc !!!!! ###
############################################
mount -a -t nonfs
if [ -f /etc/rc.conf ]; then
. /etc/rc.conf
fi
rm -f /var/run/*
if [ "x$swapfile" != "xNO" -a -w "$swapfile" -a -b /dev/vn0b ]; then
echo "Adding $swapfile as additional swap."
vnconfig /dev/vn0b $swapfile && swapon /dev/vn0b
fi
# configure serial devices
if [ -f /etc/rc.serial ]; then
. /etc/rc.serial
fi
# start up the initial network configuration.
if [ -f /etc/rc.network ]; then
. /etc/rc.network
network_pass1
fi
mount -a -t nfs
chmod 666 /dev/tty[pqrsPQRS]*
# clean up left-over files
(cd /var/run && { cp /dev/null utmp; chmod 644 utmp; })
if [ -n "$network_pass1_done" ]; then
network_pass2
fi
if [ -n "$network_pass2_done" ]; then
network_pass3
fi
if [ "X${inetd_enable}" = X"YES" ]; then
echo "Starting inetd."; inetd ${inetd_flags}
fi
dev_mkdb
echo ''
if [ "x$swapfile" = "xNO" ]; then
echo "WARNING: no swap partition!"
echo "Don't run too many programs at the same time..."
fi
# Launch the installer
. /etc/doinstall
echo ''
echo ''
echo '+----------- PicoBSD @VER@ (NET) ---------------+'
echo '| |'
echo '| Log in as "root" (password "setup"). |'
echo '| |'
echo '| This version of PicoBSD is fully under |'
echo '| BSD license. For more details see |'
echo '| http://www.freebsd.org/~picobsd, or contact |'
echo '| the author. |'
echo '| |'
echo '| abial@freebsd.org |'
echo '| |'
echo '+----------------------------------------------+'
exit 0

View File

@ -1,26 +0,0 @@
#!/bin/sh
# $Id: rc.conf.en,v 1.1.1.1 1998/08/27 17:38:42 abial Exp $
swapfile="NO" # Set to name of swapfile if aux swapfile desired.
### Network configuration sub-section ######################
### Basic network options: ###
hostname="pico.mydomain.edu" # Set this!
firewall="NO" # firewall type (see /etc/rc.firewall) or NO
tcp_extensions="NO" # Allow RFC1323 & RFC1644 extensions (or NO).
network_interfaces="lo0 fxp0" # List of network interfaces (lo0 is loopback).
ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration.
ifconfig_fxp0="" # Force call to start_if.fxp0
#ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" # Sample alias entry.
### Network daemons options: ###
inetd_enable="NO" # Run the network daemon dispatcher (or NO)
inetd_flags="" # Optional flags to inetd
snmpd_enable="NO" # Run the SNMP daemon (or NO)
snmpd_flags="-C -c /etc/snmpd.conf" # Optional flags to snmpd
### Network routing options: ###
defaultrouter="NO" # Set to default gateway (or NO).
static_routes="" # Set to static route list (or leave empty).
gateway_enable="NO" # Set to YES if this host will be a gateway.
arpproxy_all="" # replaces obsolete kernel option ARP_PROXYALL.
### Allow local configuration override at the very end here ##
if [ -f /etc/rc.conf.local ]; then
. /etc/rc.conf.local
fi

View File

@ -1,79 +0,0 @@
#!/bin/sh -
# $Id: rc.network.en,v 1.1.1.1 1998/08/27 17:38:42 abial Exp $
network_pass1() {
echo -n 'Doing initial network setup:'
# Set the host name if it is not already set
if [ -z "`hostname -s`" ] ; then
hostname $hostname
echo ' hostname'
fi
# Set up all the network interfaces, calling startup scripts if needed
for ifn in ${network_interfaces}; do
if [ -e /etc/start_if.${ifn} ]; then
. /etc/start_if.${ifn}
fi
# Do the primary ifconfig if specified
eval ifconfig_args=\$ifconfig_${ifn}
if [ -n "${ifconfig_args}" ] ; then
ifconfig ${ifn} ${ifconfig_args}
fi
# Check to see if aliases need to be added
alias=0
while :
do
eval ifconfig_args=\$ifconfig_${ifn}_alias${alias}
if [ -n "${ifconfig_args}" ]; then
ifconfig ${ifn} ${ifconfig_args} alias
alias=`expr ${alias} + 1`
else
break;
fi
done
ifconfig ${ifn}
done
# Load the filters if required
if [ -n "$firewall_enable" -a -f /etc/rc.firewall -a \
"x$firewall_enable" = "xYES" ] ; then
. /etc/rc.firewall
echo "Firewall rules loaded."
else
echo "Warning: kernel has firewall functionality, but firewall rules weren't loaded."
echo " All ip services are ENABLED by default."
fi
# Configure routing
if [ "x$defaultrouter" != "xNO" ] ; then
static_routes="default ${static_routes}"
route_default="default ${defaultrouter}"
fi
# Set up any static routes. This should be done before router discovery.
if [ "x${static_routes}" != "x" ]; then
for i in ${static_routes}; do
eval route_args=\$route_${i}
route add ${route_args}
done
fi
echo -n 'Additional routing options:'
if [ -n "$tcp_extensions" -a "x$tcp_extensions" != "xYES" ] ; then
echo -n ' tcp_extensions=NO'
sysctl -w net.inet.tcp.rfc1323=0 >/dev/null 2>&1
sysctl -w net.inet.tcp.rfc1644=0 >/dev/null 2>&1
fi
if [ "X$gateway_enable" = X"YES" ]; then
echo -n ' IP_gateway=YES'
sysctl -w net.inet.ip.forwarding=1 >/dev/null 2>&1
fi
if [ "X$arpproxy_all" = X"YES" ]; then
echo -n ' turning on ARP_PROXY_ALL: '
sysctl -w net.link.ether.inet.proxyall=1 2>&1
fi
echo '.'
network_pass1_done=YES # Let future generations know we made it.
}
network_pass2() {
network_pass2_done=YES
}
network_pass3() {
network_pass3_done=YES
}

View File

@ -1,127 +0,0 @@
#!/bin/sh
# $Id: rc.serial,v 1.1.1.1 1998/08/27 17:38:42 abial Exp $
# Change some defaults for serial devices.
# Standard defaults are:
# dtrwait 300 drainwait 0
# initial cflag from <sys/ttydefaults.h> = cread cs8 hupcl
# initial iflag, lflag and oflag all 0
# speed 9600
# special chars from <sys/ttydefaults.h>
# nothing locked
# except for serial consoles the initial iflag, lflag and oflag are from
# <sys/ttydefaults.h> and clocal is locked on.
default() {
# Reset everything changed by the other functions to initial defaults.
ci=$1; shift # call in device identifier
co=$1; shift # call out device identifier
for i in $*
do
comcontrol /dev/tty$ci$i dtrwait 300 drainwait 0
stty </dev/ttyi$ci$i -clocal crtscts hupcl 9600 reprint ^R
stty </dev/ttyl$ci$i -clocal -crtscts -hupcl 0
stty </dev/cuai$co$i -clocal crtscts hupcl 9600 reprint ^R
stty </dev/cual$co$i -clocal -crtscts -hupcl 0
done
}
maybe() {
# Special settings.
ci=$1; shift
co=$1; shift
for i in $*
do
# Don't use ^R; it breaks bash's ^R when typed ahead.
stty </dev/ttyi$ci$i reprint undef
stty </dev/cuai$co$i reprint undef
# Lock clocal off on dialin device for security.
stty </dev/ttyl$ci$i clocal
# Lock the speeds to use old binaries that don't support them.
# Any legal speed works to lock the initial speed.
stty </dev/ttyl$ci$i 300
stty </dev/cual$co$i 300
done
}
modem() {
# Modem that supports CTS and perhaps RTS handshaking.
ci=$1; shift
co=$1; shift
for i in $*
do
# may depend on modem
comcontrol /dev/tty$ci$i dtrwait 100 drainwait 180
# Lock crtscts on.
# Speed reasonable for V42bis.
stty </dev/ttyi$ci$i crtscts 57600
stty </dev/ttyl$ci$i crtscts
stty </dev/cuai$co$i crtscts 57600
stty </dev/cual$co$i crtscts
done
}
mouse() {
# Mouse on either callin or callout port.
ci=$1; shift
co=$1; shift
for i in $*
do
# Lock clocal on, hupcl off.
# Standard speed for Microsoft mouse.
stty </dev/ttyi$ci$i clocal -hupcl 1200
stty </dev/ttyl$ci$i clocal hupcl
stty </dev/cuai$co$i clocal -hupcl 1200
stty </dev/cual$co$i clocal hupcl
done
}
terminal() {
# Terminal that supports CTS and perhaps RTS handshaking
# with the cable or terminal arranged so that DCD is on
# at least while the terminal is on.
# Also works for bidirectional communications to another pc
# provided at most one side runs getty.
# Same as modem() except we want a faster speed and no dtrwait.
ci=$1; shift
co=$1; shift
modem $ci $co $*
for i in $*
do
comcontrol /dev/tty$ci$i dtrwait 0
stty </dev/ttyi$ci$i 115200
stty </dev/cuai$co$i 115200
done
}
# Don't use anything from this file unless you have some buggy programs
# that require it.
# Edit the functions and the examples to suit your system.
# $1 is the call in device identifier, $2 is the call out device identifier
# and the remainder of the line lists the device numbers.
# Initialize assorted 8250-16550 (sio) ports.
# maybe d a 0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v
# mouse d a 2
# modem d a 1
# terminal d a 0
# Initialize all ports on a Cyclades-8yo.
# modem c c 00 01 02 03 04 05 06 07
# Initialize all ports on a Cyclades-16ye.
# modem c c 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f
# Initialize all ports on a Digiboard 8.
# modem D D 00 01 02 03 04 05 06 07

View File

@ -1,50 +0,0 @@
# @(#)remote 5.2 (Berkeley) 6/30/90
#
# remote -- remote host description file
# see tip(1), remote(5)
#
# dv device to use for the tty
# el EOL marks (default is NULL)
# du make a call flag (dial up)
# pn phone numbers (@ =>'s search phones file; possibly taken from
# PHONES environment variable)
# at ACU type
# ie input EOF marks (default is NULL)
# oe output EOF string (default is NULL)
# cu call unit (default is dv)
# br baud rate (defaults to 300)
# fs frame size (default is BUFSIZ) -- used in buffering writes on
# receive operations
# tc to continue a capability
# Systems definitions
netcom|Netcom Unix Access:\
:pn=\@:tc=unix1200:
omen|Omen BBS:\
:pn=\@:tc=dos1200:
# UNIX system definitions
unix1200|1200 Baud dial-out to a UNIX system:\
:el=^U^C^R^O^D^S^Q:ie=%$:oe=^D:tc=dial1200:
unix300|300 Baud dial-out to a UNIX system:\
:el=^U^C^R^O^D^S^Q:ie=%$:oe=^D:tc=dial300:
# DOS system definitions
dos1200|1200 Baud dial-out to a DOS system:\
:el=^U^C^R^O^D^S^Q:ie=%$:oe=^Z:pa=none:tc=dial1200:
# General dialer definitions used below
#
# COURIER switch settings:
# switch: 1 2 3 4 5 6 7 8 9 10
# setting: D U D U D D U D U U
# Rackmount: U U D U D U D D U D
#
dial2400|2400 Baud Hayes attributes:\
:dv=/dev/cuaa0:br#2400:cu=/dev/cuaa0:at=hayes:du:
dial1200|1200 Baud Hayes attributes:\
:dv=/dev/cuaa0:br#1200:cu=/dev/cuaa0:at=hayes:du:
# Hardwired line
cuaa0b|cua0b:dv=/dev/cuaa0:br#2400
cuaa0c|cua0c:dv=/dev/cuaa0:br#9600

View File

@ -1,3 +0,0 @@
# $Id: resolv.conf.en,v 1.1.1.1 1998/08/27 17:38:42 abial Exp $
domain mydomain.edu
nameserver 192.33.4.12

View File

@ -1,94 +0,0 @@
echo 4/ddp
echo 7/tcp
echo 7/udp
discard 9/tcp
discard 9/udp
systat 11/tcp
systat 11/udp
daytime 13/tcp
daytime 13/udp
qotd 17/tcp
qotd 17/udp
chargen 19/tcp
chargen 19/udp
ftp-data 20/tcp
ftp-data 20/udp
ftp 21/tcp
ftp 21/udp
ssh 22/tcp
ssh 22/udp
telnet 23/tcp
telnet 23/udp
smtp 25/tcp
smtp 25/udp
time 37/tcp
time 37/udp
domain 53/tcp
domain 53/udp
tacacs-ds 65/tcp
tacacs-ds 65/udp
bootps 67/tcp
bootps 67/udp
bootpc 68/tcp
bootpc 68/udp
tftp 69/tcp
tftp 69/udp
gopher 70/tcp
gopher 70/udp
finger 79/tcp
finger 79/udp
http 80/tcp
http 80/udp
pop2 109/tcp
pop2 109/udp
pop3 110/tcp
pop3 110/udp
uucp-path 117/tcp
uucp-path 117/udp
nntp 119/tcp
nntp 119/udp
netbios-ns 137/tcp
netbios-ns 137/udp
netbios-dgm 138/tcp
netbios-dgm 138/udp
netbios-ssn 139/tcp
netbios-ssn 139/udp
imap 143/tcp
imap 143/udp
snmp 161/tcp
snmp 161/udp
snmptrap 162/tcp
snmptrap 162/udp
bgp 179/tcp
bgp 179/udp
irc 194/tcp
irc 194/udp
ipx 213/tcp
ipx 213/udp
imap3 220/tcp
imap3 220/udp
ldap 389/tcp
ldap 389/udp
netware-ip 396/tcp
netware-ip 396/udp
https 443/tcp
https 443/udp
exec 512/tcp
biff 512/udp
login 513/tcp
who 513/udp
cmd 514/tcp
syslog 514/udp
printer 515/tcp
printer 515/udp
talk 517/tcp
talk 517/udp
ntalk 518/tcp
ntalk 518/udp
timed 525/tcp
timed 525/udp
uucp 540/tcp
uucp 540/udp
uucp-rlogin 541/tcp
uucp-rlogin 541/udp
natd 8668/divert # Network Address Translation

View File

@ -1,6 +0,0 @@
# List of acceptable shells for chpass(1).
# Ftpd will not allow users to connect who are not using
# one of these shells.
/bin/sh
/bin/csh

View File

@ -1 +0,0 @@
/stand/dhclient

View File

@ -1,123 +0,0 @@
# Copyright (c) 1980, 1985, 1989 The Regents of the University of California.
# All rights reserved.
# @(#)termcap.src 5.88 (Berkeley) 4/30/91
#
#
# for syscons
# common entry without semigraphics
cons25w|ansiw|ansi80x25-raw:\
:al=\E[L:am:bs:NP:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:co#80:\
:dc=\E[P:dl=\E[M:do=\E[B:bt=\E[Z:ho=\E[H:ic=\E[@:li#25:cb=\E[1K:\
:ms:nd=\E[C:pt:rs=\E[x\E[m\Ec:so=\E[7m:se=\E[m:up=\E[A:\
:pa#64:Co#8:Sf=\E[3%dm:Sb=\E[4%dm:op=\E[37;40m:\
:k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:\
:k9=\E[U:k;=\E[V:F1=\E[W:F2=\E[X:K2=\E[E:nw=\E[E:ec=\E[%dX:\
:kb=^H:kh=\E[H:ku=\E[A:kd=\E[B:kl=\E[D:kr=\E[C:le=^H:eo:sf=\E[S:sr=\E[T:\
:kN=\E[G:kP=\E[I:@7=\E[F:kI=\E[L:kD=\E[K:kB=\E[Z:\
:IC=\E[%d@:DC=\E[%dP:SF=\E[%dS:SR=\E[%dT:AL=\E[%dL:DL=\E[%dM:\
:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:cv=\E[%i%dd:ch=\E[%i%d`:bw:\
:mb=\E[5m:md=\E[1m:mh=\E[30;1m:mr=\E[7m:me=\E[m:bl=^G:ut:it#8:
cons25|ansis|ansi80x25:\
:ac=l\332m\300k\277j\331u\264t\303v\301w\302q\304x\263n\305`^Da\260f\370g\361~\371.^Y-^Xh\261I^U0\333y\363z\362:\
:tc=cons25w:
cons25-m|ansis-mono|ansi80x25-mono:\
:pa@:Co@:Sf@:Sb@:op@:us=\E[4m:ue=\E[m:md@:mh@:tc=cons25:
cons50|ansil|ansi80x50:\
:li#50:tc=cons25:
cons50-m|ansil-mono|ansi80x50-mono:\
:li#50:tc=cons25-m:
# 80x25 ISO 8859-1 FreeBSD console
cons25l1|cons25-iso8859-1:\
:ac=l\215m\216k\214j\213u\226t\225v\227w\230q\222x\231n\217o\220s\224p\221r\223`\201a\202f\207g\210~\237.^Y-^X+\253,\273I\247y\232z\233:\
:tc=cons25w:
cons25l1-m|cons25-iso8859-1-mono:\
:pa@:Co@:Sf@:Sb@:op@:us=\E[4m:ue=\E[m:md@:mh@:tc=cons25l1:
# 80x50 ISO 8859-1 FreeBSD console
cons50l1|cons50-iso8859-1:\
:li#50:tc=cons25l1:
cons50l1-m|cons50-iso8859-1-mono:\
:li#50:tc=cons25l1-m:
dosansi|ANSI.SYS standard crt|ansi:\
:am:bs:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:co#80:\
:do=\E[B:li#25:mi:nd=\E[C:\
:se=\E[m:so=\E[7m:up=\E[A:us=\E[4m:ue=\E[m:\
:md=\E[1m:mh=\E[m:mb=\E[5m:me=\E[m:\
:kh=\EG:kb=^h:ku=\EH:kd=\EP:kl=\EK:kr=\EM:\
:k1=\E;:k2=\E<:k3=\E=:k4=\E>:k5=\E?:\
:k6=\E@:k7=\EA:k8=\EB:k9=\EC:k0=\ED:
# Note: this entry describes the "native"
# capabilities of the PC monochrome display, without ANY emulation; most
# communications packages (but NOT PC/IX connect) do some kind of emulation.
pc|ibmpc|ibm pc PC/IX:\
:li#24:co#80:am:bs:bw:eo:\
:cd=\E[J:ce=\E[K:cl=\Ec:cm=\E[%i%2;%2H:do=\E[B:ho=\E[;H:\
:nd=\E[C:up=\E[A:so=\E[7m:se=\E[0m:us=\E[4m:ue=\E[0m:
pc3mono|IBM PC 386BSD Console with monochrome monitor:\
:so=\E[0;1r\E[m:tc=pc3:
pc3|ibmpc3|IBM PC 386BSD Console:\
:Co#8:\
:DO=\E[%dB:\
:F1=\E[W:\
:F2=\E[X:\
:K1=\E[H:\
:K2=\E[I:\
:K3=\E[E:\
:K4=\E[F:\
:K5=\E[G:\
:LE=\E[%dD:\
:RI=\E[%dC:\
:Sb=\E[1;%dx:\
:Sf=\E[2;%dx:\
:UP=\E[%dA:\
:ac=l\332m\300k\277j\331u\264t\303v\301w\302q\304x\263n\305`^Da\260f\370g\361~\371.^Y-^Xh\261I^U0\333y\363z\362:\
:am:\
:bl=^G:\
:bs:\
:cb=\E[1K:\
:cd=\E[J:\
:ce=\E[K:\
:cl=\E[H\E[J:\
:cm=\E[%i%d;%dH:\
:co#80:\
:cr=^M:\
:do=\E[B:\
:ho=\E[H:\
:is=\E[m:\
:it#8:\
:k;=\E[V:\
:k1=\E[M:\
:k2=\E[N:\
:k3=\E[O:\
:k4=\E[P:\
:k5=\E[Q:\
:k6=\E[R:\
:k7=\E[S:\
:k8=\E[T:\
:k9=\E[U:\
:kD=\177:\
:@7=\E[F:\
:kN=\E[G:\
:kP=\E[I:\
:kb=\177:\
:kd=\E[B:\
:kh=\E[H:\
:kl=\E[D:\
:kr=\E[C:\
:ku=\E[A:\
:le=^H:\
:li#25:\
:ms:\
:nd=\E[C:\
:op=\E[x:\
:pa#64:\
:rs=\E[m:\
:se=\E[m:\
:sf=\E[S:\
:so=\E[7;1r\E[7m:\
:sr=\E[T:\
:ta=^I:\
:te=\E[m:\
:ti=\E[m:\
:up=\E[A:\
:ut:

View File

@ -1,32 +0,0 @@
#
# @(#)ttys 5.1 (Berkeley) 4/17/89
#
# name getty type status comments
#
# This entry needed for asking password when init goes to single-user mode
# If you want to be asked for password, change "secure" to "insecure" here
#console none unknown off secure
vga none cons25 off secure
#
ttyv0 "/usr/libexec/getty Pc" cons25 on secure
# Virtual terminals
ttyv1 "/usr/libexec/getty Pc" cons25 on secure
ttyv2 "/usr/libexec/getty Pc" cons25 on secure
#ttyv3 "/usr/libexec/getty Pc" cons25 on secure
#ttyv4 "/usr/libexec/getty Pc" cons25 on secure
#ttyv5 "/usr/libexec/getty Pc" cons25 on secure
#ttyv6 "/usr/libexec/getty Pc" cons25 on secure
#ttyv7 "/usr/libexec/getty Pc" cons25 on secure
#ttyv8 "/usr/libexec/getty Pc" cons25 on secure
#ttyv9 "/usr/libexec/getty Pc" cons25 on secure
# Pseudo terminals
ttyp0 none network secure
ttyp1 none network secure
ttyp2 none network secure
ttyp3 none network
ttyp4 none network
ttyp5 none network
ttyp6 none network
ttyp7 none network
ttyp8 none network
ttyp9 none network

View File

@ -1,41 +0,0 @@
1998.07.12, Warsaw, Poland
PicoBSD @VER@ (NET)
-----------------
What is PicoBSD?
----------------
It's a one floppy version of FreeBSD (please see http://www.freebsd.org),
configured mainly for networking applications. It can be used as a router or
firewall, or kind of a fixit floppy (or all of them).
You can find more information on the home page of this project at:
http://www.freebsd.org/~picobsd/
What are minimal requirements?
------------------------------
* 386SX CPU or better (there is an FPU emulator in kernel)
* 10MB RAM - the more the better. If you have an HDD, you can make a
swap partition or swap file (using vnode driver and vnconfig). Then you
probably will be able to run with ca. 6MB only. But RAM is cheap...
* Modem sitting on COM1-COM4 (default is to use COM2), if you want to have
a PPP connection.
* Network card: compatible with NE2000, PCI Intel, 3Com 3c509 or with DEC
chipsets (ed, ep, fxp and de drivers). The kernel supports two of each
ISA (i.e. +6 total) plus two PPP connections (tun interfaces). So you can
easily build something like router with as many as 8 outlets :-)
For detailed description and list of supported hardware see the original
documentation, or:
http://www.freebsd.org/~picobsd/picobsd.html
I'll be glad hearing from you about your experiences with PicoBSD. Thanks.
Have fun!
Andrzej Bialecki <abial@freebsd.org>

View File

@ -1,56 +0,0 @@
1998.07.12, Warszawa
PicoBSD @VER@ (wersja NET)
------------------------
Co to jest PicoBSD?
-------------------
Jest to jednodyskietkowa wersja FreeBSD skonfigurowana glownie pod katem
zastosowania jako klient/serwer uslug sieciowych (takich jak routing,
firewall, NFS). W celu zapoznania sie z pelnym systemem zajrzyj na
http://www.freebsd.org. Oficjalna strona tego projektu znajduje sie na
http://www.freebsd.org/~picobsd.
Jakie sa minimalne wymagania?
-----------------------------
* Procesor 386SX lub lepszy (jadro posiada emulator FPU)
* 10MB pamieci - jest to absolutnie nieprzekraczalne minimum. Oczywiscie im
wiecej, tym lepiej - ograniczenie jest glownie spowodowane brakiem swapu. Po
zapoznaniu sie z systemem mozesz sobie skonfigurowac tzw. swap-file na dysku
twardym, np. na partycji DOS-owej. Wowczas prawdopodobnie wystarczy 6MB
pamieci.
* Modem, skonfigurowany na COM1-COM4 (standardowo system wykorzystuje COM2),
jesli bedzie wykorzystywany dostep przez PPP.
* Karta sieciowa: kompatybilna z NE2000, niektore typy 3Com, lub wersje PCI z
chipsetem DEC21040 (drivery ed, ep, fxp i de). Jadro jest skonfigurowane
tak, zeby moc obsluzyc po dwie karty ed, ep, i de (czyli w sumie siedem)
oraz dwa polaczenia PPP rownoczesnie. Mozna wiec zbudowac router z 9
interfejsami... :-)
Jakie sa roznice w stosunku do poprzedniej wersji?
--------------------------------------------------
* Poszerzony zestaw sterownikow w jadrze systemu
* dodana obsluga CD-ROM
* agent SNMP (pelna wersja ucd-snmp, pozwalajaca na monitorowanie procesow i
zdalne uruchamianie skryptow)
* brak ssh, ftp i edytora ee (oznacza to, ze musisz edytowac pliki
konfiguracyjne montujac dyskietke na normalnym systemie)
* dodany inetd, telnetd, routed, tftpd, bootpd, ps, kill, netstat,
ping, traceroute
* brak vnconfig i vn(4): w przypadku routera powinien on miec tyle pamieci
RAM, zeby nie potrzebowac swapu, lub miec normalny swap.
* dodana obsluga hasel (passwd(1))
* dodana obsluga NFS (klient)
* sa dwaj uzytkownicy: root (haslo 'setup') i user (haslo 'PicoBSD'). Ze
wzgledu na skomplikowana sprawe z prawami dostepu, user praktycznie moze
jedynie zrobic te rzeczy, ktore nie wymagaja praw roota (czyli np. telnet).
* dodany skrypt 'update', ktory powoduje uaktualnienie zawartosci katalogu
/etc na dyskietce w stosunku do tego, co znajduje sie na MFS.
Milej zabawy!
Andrzej Bialecki <abial@freebsd.org>

View File

@ -1,18 +0,0 @@
Usage: bios_drive:interface(unit,partition)kernel_name options
bios_drive 0, 1, ...
interface fd, wd or sd
unit 0, 1, ...
partition a, c, ...
kernel_name name of kernel, or ? for list of files in root directory
options -a (ask name) -C (cdrom) -c (userconfig) -D (dual consoles)
-d (debug early) -g (gdb) -h (serial console) -P (probe kbd)
-r (default root) -s (single user) -v (verbose)
Examples:
1:sd(0,a)mykernel boot `mykernel' on the first SCSI drive when one IDE
drive is present
1:wd(2,a) boot from the second (secondary master) IDE drive
1:sd(0,a)? list the files in the root directory on the specified
drive/unit/partition, and set the default bios_drive,
interface, unit and partition
-cv boot with the defaults, then run UserConfig to modify
hardware parameters (c), and print verbose messages (v)

View File

@ -1,16 +0,0 @@
Opcje: dysk_bios:kontroler(dysk,partycja)nazwa_kernela opcje
dysk_bios 0, 1, ...
kontroler fd (dyskietka), wd (dysk IDE) lub sd (dysk SCSI)
dysk 0, 1, ... (numer dysku w kontrolerze)
partycja a, c, e, f ... (wedlug nazewnictwa BSD)
nazwa_kernela nazwa pliku kernela, lub ? zeby dostac liste plikow
opcje -a (pytaj o rootdev) -C (cdrom) -c (userconf.) -D (podwojna konsola)
-d (uruchom debugger) -g (gdb) -h (konsola szeregowa)
-P (probkuj klawiature) -r (domyslny rootdev) -s (tryb single user)
-v (verbose - szczegolowe komunikaty)
Np: 1:sd(0,a)mykernel startuj `mykernel' z 1 dysku SCSI gdy jest tez 1 dysk
IDE, i jednoczesnie ustaw go jako domyslny dysk_bios,
kontroler, dysk i partycje
-cv startuj z parametrami domyslnymi, potem uruchom
konfiguracje param. sprzetowych (-c), i podawaj
szczegolowe komunikaty w trakcie bootowania (-v).

View File

@ -1,5 +0,0 @@
# $Id: hosts.en,v 1.1.1.1 1998/08/27 17:38:43 abial Exp $
# This file should contain the addresses and aliases
# for local hosts that share this file.
127.0.0.1 localhost localhost.mydomain.edu
127.0.0.1 pico.mydomain.edu

View File

@ -1,5 +0,0 @@
# $Id: hosts.pl,v 1.1.1.1 1998/08/27 17:38:43 abial Exp $
# This file should contain the addresses and aliases
# for local hosts that share this file.
127.0.0.1 localhost localhost.mydomain.org.pl
127.0.0.1 pico.mydomain.org.pl

View File

@ -1,12 +0,0 @@
==================================================
)\_)\
PicoBSD @VER@ (NET) (o,o)
__ \~/
Welcome to PicoBSD! -->====\
~~ d d
You can find a short description of the picoBSD
system in file /README. You can view it using
"more /README".
For more info contact the author (abial@freebsd.org).

View File

@ -1,12 +0,0 @@
=======================================================
)\_)\
PicoBSD @VER@ (NET) (o,o)
__ \~/
Witamy w PicoBSD! -->====\
~~ d d
W glownym katalogu w pliku README znajdziesz picoBSD
krotki opis systemu. Mozesz go obejrzec przy pomocy
"more /README".
Wiecej informacji znajdziesz u autora (abial@freebsd.org).

View File

@ -1,3 +0,0 @@
# $Id: resolv.conf.pl,v 1.1.1.1 1998/08/27 17:38:43 abial Exp $
domain mydomain.org.pl
nameserver 148.81.16.51

View File

@ -1,58 +0,0 @@
#
# $Id: mfs.mtree,v 1.1.1.1 1998/08/27 17:38:44 abial Exp $
#
/set type=dir uname=root gname=wheel mode=0755
.
dev
..
dos
..
etc
..
home
user
..
..
mnt
..
mnt1
..
mnt2
..
proc
..
root
..
stand
..
start_floppy
..
tftpboot
..
tmp mode=01777
..
usr
local
share
snmp
mibs
..
..
..
..
share
misc
..
..
..
var
db
..
run
..
spool
lock
..
..
..
..