From: Tanstaafl <tanstaafl@libertytrek.org>
To: gentoo-user@lists.gentoo.org
Subject: SOLVED - Re: [gentoo-user] NFS mount not properly unmounting during shutdown/reboot
Date: Tue, 11 Jun 2013 07:46:12 -0400 [thread overview]
Message-ID: <51B70E04.3070301@libertytrek.org> (raw)
In-Reply-To: <51B63740.8070606@gmail.com>
On 2013-06-10 4:29 PM, Alan McKinnon <alan.mckinnon@gmail.com> 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
next prev parent reply other threads:[~2013-06-11 11:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-09 20:23 [gentoo-user] NFS mount not properly unmounting during shutdown/reboot Tanstaafl
2013-06-10 10:34 ` Tanstaafl
2013-06-10 10:38 ` Alan McKinnon
2013-06-10 14:36 ` Tanstaafl
2013-06-10 20:29 ` Alan McKinnon
2013-06-11 11:46 ` Tanstaafl [this message]
2013-06-11 12:38 ` Thanasis
2013-06-11 13:03 ` Alan McKinnon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51B70E04.3070301@libertytrek.org \
--to=tanstaafl@libertytrek.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox