Subject: Permissions on swap
To: None <port-dreamcast@netbsd.org>
From: Alex Kirk <alex@schnarff.com>
List: port-dreamcast
Date: 09/23/2002 00:45:22
I finally got around to following Josh's instructions, with his kernel and 
world files, and was pleased to see it worked nicely -- for the most part. 
For some reason, I can't get it to mount swap, at all. 

/var/log/daemon complains about my /etc/exports: 

Sep 22 16:27:51 homegate mountd[20475]: Can't change attributes for 
/mnt/exports/dcswap (dreamcast).
Sep 22 16:27:51 homegate mountd[20475]: Bad exports list entry (dreamcast) 
in line /mnt/exports/dcswap -maproot 

which is as follows: 

/home/alex/dreamcast/dc -maproot=root dreamcast
/mnt/exports/dcswap -maproot=root -alldirs dreamcast 

When I try to boot the Dreamcast with this /etc/fstab: 

192.168.2.69:/home/alex/dreamcast/dc / nfs rw,auto 0 0
192.168.2.69:/mnt/exports/dcswap/swap none swap sw,nfsmntpt=/swap 0 0
/kern /kern kernfs rw
/proc /proc procfs rw 0 0
/dev/gdrom0c /mnt/gdrom cd9660 ro,noauto 0 0 

the Dreamcast complains that it can't mount /mnt/exports/dcswap/swap because 
permission is denied. 

Seeing as how I've chmod -R 777 /mnt/exports/dcswap, I can't understand that 
at all. What's the deal? 

Alex Kirk