Diskless NetBSD HOW-TO (http://www.netbsd.org/docs/network/netboot/)

Palle Lyckegaard <[email protected]> Thu, 22 Oct 2020 20:04:25 +0000 (UTC)
Newsgroups gmane.os.netbsd.documentation,gmane.os.netbsd.ports.sparc64
Message-ID <[email protected]>
Hello.

Trying to get a sparc64/sun4u system to work as a diskless client (with 
an Armbian Linux as server-side part of the etup), I noticed some outdated
sections in the Diskless how-to.

The NFS subsection (http://www.netbsd.org/docs/network/netboot/nfs.html) 
indicates that "/export/client/swap" should be exported as a diretory, but 
this does not make sense since "/export/client/swap" is the actual swap 
file.

The files subsection 
(http://www.netbsd.org/docs/network/netboot/files.html) notes that 
/etc/fstab should contain a entry like

"nfsserver:/export/client/swap   none  swap  sw,nfsmntpt=/swap"

but according to diskless(8) the entry should be like

"/swap                           none swap sw 0 0"

which seems to work better.

Comments on this?

Regards
Palle Lyckegaard