Em Sexta 31 Março 2006 04:14, Dean Montgomery escreveu: > I am working on a diskless client for schools. > > It seems that I have to delete the a file before I can use output redirects > or appends on the file. > > mount -t tmpfs tmpfs /tmpfs > mount -t nfs -o ro 192.168.0.1:/opt/i386/rootfs /rootfs > mount -t unionfs -o delete=whiteout,dirs=/tmpfs=rw:/rootfs=ro unionfs / > > echo "127.0.0.1 localhost diskless2" >> /etc/hosts > *** Permission denied > > rm -f /etc/hosts > echo "127.0.0.1 localhost diskless2" >> /etc/hosts > *** works fine. > > Do I always have to delete the file before writing to it?
Hi Dean, Try using dirs=.../rootfs=nfsro. NFS is known to have problems reporting the permissions (instead of saying 'media is read-only' it says 'permission denied') _______________________________________________ unionfs mailing list [email protected] http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs
