Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Sep 1996 22:53:32 +0200
From:      Poul-Henning Kamp <phk@critter.tfs.com>
To:        Jim Lowe <james@allmalt.cs.uwm.edu>
Cc:        current@FreeBSD.org
Subject:   Re: Diskless/NFS root 
Message-ID:  <1171.843080012@critter.tfs.com>
In-Reply-To: Your message of "Wed, 18 Sep 1996 15:21:28 CDT." <199609182021.PAA31868@allmalt.cs.uwm.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <199609182021.PAA31868@allmalt.cs.uwm.edu>, Jim Lowe writes:
>Is anyone running FreeBSD-current in a diskless configuration?  I am
>having some trouble getting the nfs swap stuff working correctly under
>current.

yes I do:

# cat /etc/bootptab:
hyst:ht=ethernet:ha=0080ad10e84b:ip=10.0.0.3:
# cat /tftpboot/freebsd.10.0.0.3:
netmask         255.255.255.0
rootfs          10.0.0.1:/c/diskless_root
swapfs          10.0.0.1:/c/diskless_swap
swapsize	16384
# ls -l /c/diskl*
/c/diskless_root:
total 6375
drwxr-xr-x   2 bin   bin        512 Jul  7 14:41 bin
drwx------   3 root  wheel    10240 Sep 18 21:24 dev
drwxr-xr-x   9 root  wheel     1536 Sep 14 22:55 etc
...
/c/diskless_swap:
total 16392
-rw-------  1 root  wheel  16777216 Jul 22 20:36 swap.10.0.0.3
# cat /etc/exports
...
/c              -alldirs -maproot=0:10 10.0.0.3 10.0.0.2
...


>Also, does the devfs work well enough for a diskless configuration?

yes.  You need to mount it as one of the first things in /sbin/init
or earlier.

--
Poul-Henning Kamp           | phk@FreeBSD.ORG       FreeBSD Core-team.
http://www.freebsd.org/~phk | phk@login.dknet.dk    Private mailbox.
whois: [PHK]                | phk@ref.tfs.com       TRW Financial Systems, Inc.
Future will arrive by its own means, progress not so.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1171.843080012>