[Unionfs] Unionfs append/redirect problem
Dean Montgomery
dmonty at sd73.bc.ca
Fri Mar 31 02:14:08 EST 2006
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
More information about the unionfs
mailing list