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? -- Dean Montgomery Network Support Tech./Programmer School District #73 _______________________________________________ unionfs mailing list [email protected] http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs
