How to redirect all writes into a specific directory?
In fact, I want to implement a system that include TFTF, DHCP, and NFS server and that can boot diskless clients by PXE. Currently, multiple clients can be boot from a read-only images stored on the NFS simultaneously and all writes cache on the RAM. But, I want the written data are stored on a directory which is specifically for a client instead of the RAM. There is a document, the aufs root file system on usb flash, which can redirect all writes to the RAM, I have read, but I don't have a good idea how to modify it for. Can anyone suggest that how to redirect all writes into a specific directory?
|