Talk:HOWTO Encrypt Your Home Directory Using CFS
From Gentoo Linux Wiki
I'm still trying to figure out how the hell to get the computer to shut down without hanging. On most any type of unmount command manually entered before shutdown, I get the error message "/var/cfs busy". Using cdetach doesn't help stop the hanging. However, I have found that logging in as root and halting or rebooting does not result in a shutdown hang. A clue to what is going on.
Note- this never happened with my FreeBSD implementation of the system.
Rob.
OK, I figured it out. The lines export -ua unexports all filesystems and the line umount -f /var/cfs forces the unmounting of cfs.
Rob.
Wrong. The above worked once, but not twice. I'll eventually figure it out.
Rob.
Added working instructions for using Freenet with CFS. May be off-topic for this howto, but it does make a great example of how CFS can give some relief to the paranoid, haha.
Rob.
Have to deal with programs putting config directories/files, many empty into /home/rob. Again, this behavior was not evidenced with FreeBSD. It only required directories in /home/foo for .ssh and .qmail.
July 11, 2005 No, I havent forgotten about this howtoo, but then I have seen no discussion. Perhaps it is perfect LOL. As soon as some "troubles" are finished I will come back to this, perhaps in a month or less. Rob.
I found an occasional exit. Sometimes I will be prompted for the root password. Then a CONTROL-D will shut the laptop down gracefully.
July 24 2005 - LebenOjanen - I was wondering if perhaps '-oport=' was supposed to be '-o port=' ? Also, neither of the two methods to mount work for me, bad superblock errors are all I get. Though, restarting local after the system boots seems to work. Odd.. Any thoughts? -
October 5 2005 - Tony
I found a better solution for the mess with setting $HOME to /var/cfs/<user>. Simply issue a mount -o bind /var/cfs/<user> /home/<user>. This will remount the encrypted home over your normal home - looks more transparent to me.
-
April 2008 - Jean-Michel Yes these is pretty old, but still the first hit on google !
I must add ',udp' to the mount options (without it I had an error message : "RPC error : succes") so on my box it's now: mount -o port=3049,udp,intr,nfsvers=2 localhost:/var/lib/cfs/.cfsfs /var/cfs
[edit] Another howto
A HOWTO in Norwegian if anyone is interested http://www.linuxguiden.no/index.php/CFS ...
