On 2013-06-10 4:29 PM, Alan McKinnon <[email protected]> wrote:
The simplest way around this is to add nfsmount to the default runlevel. This will work today as it reads /etc/fstab at startup to mount stuff and your fstab has no nfs shares in it. It reads /etc/mtab at shutdown to umount stuff and your QNAP share will be in that file.
Cool, I'll do that. I'll still try to remember to umount it manually because I don't like testing something that might cause my system to not safely/fully shutdown, but this way hopefully if I ever do forget, it will handle it for me.
I simulated it here and that's the result I got. But this is gentoo, and everything might change tomorrow so YMMV :-)
Lol, yeah, there are never any guarantees...
You could also write a scriptlet to do the umount and put it in /etc/conf.d/local - see /etc/init.d/local for details
I may look into that, but some reading tells me you are right and that adding nfsmount to the default runlevel should work.
Thanks a lot for your time Alan. Charles

