Subject: Re: Permissions on swap
To: None <port-dreamcast@netbsd.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-dreamcast
Date: 09/24/2002 01:59:26
In article <20020923004522.6700.qmail@schnarff.com>
alex@schnarff.com wrote:
> 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
Maybe you have another line that exports some dirs under /mnt.
Each mount point can be exported only once in /etc/exports.
If you want to export multiple dirs under the same mount point,
you have to specify them in the one line like this:
>> /mnt/exports/foo /mnt/exports/bar -maproot=root -alldirs dreamcast
or you have to use -alldirs option.
Anyway, NetBSD can use regular files for swap so
you don't have to add any entries into etc/exports for swap.
Make a swap file at root by dd(1) and add following line to fstab:
>> /swap none none sw 0 0
It should just work.
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp