From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 237221381F3 for ; Tue, 11 Jun 2013 11:46:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E3D68E08C2; Tue, 11 Jun 2013 11:46:36 +0000 (UTC) Received: from homiemail-a93.g.dreamhost.com (caibbdcaaaaf.dreamhost.com [208.113.200.5]) by pigeon.gentoo.org (Postfix) with ESMTP id 77C8EE0788 for ; Tue, 11 Jun 2013 11:46:35 +0000 (UTC) Received: from homiemail-a93.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a93.g.dreamhost.com (Postfix) with ESMTP id C0F148405B for ; Tue, 11 Jun 2013 04:46:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=libertytrek.org; h= message-id:date:from:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; s= libertytrek.org; bh=jZAY75BW96a8zFTR4EPBspTlWKY=; b=arbbgiY+qHbO uuHr/TYEY/LzJkWgUu4iTaraolyfQfdls/SeExvHon+tX/VpF5DRY5fs2CzzDiWy b7Jsn5SAPQB2mwoDA2nSUJvkX65dgnMvKL3E81px8Ly0a41BNgturuWhW1+T58pB ve+XLs1Fz3B7Z3lbGky5s+LhtR9/6Ik= Received: from [192.168.1.110] (unknown [159.63.145.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: tanstaafl@libertytrek.org) by homiemail-a93.g.dreamhost.com (Postfix) with ESMTPSA id 944B884058 for ; Tue, 11 Jun 2013 04:46:34 -0700 (PDT) Message-ID: <51B70E04.3070301@libertytrek.org> Date: Tue, 11 Jun 2013 07:46:12 -0400 From: Tanstaafl User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: SOLVED - Re: [gentoo-user] NFS mount not properly unmounting during shutdown/reboot References: <51B4E458.4050804@libertytrek.org> <51B5ABD3.7020001@libertytrek.org> <51B5AC9C.1090801@gmail.com> <51B5E452.3040602@libertytrek.org> <51B63740.8070606@gmail.com> In-Reply-To: <51B63740.8070606@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 13ac2a57-d54c-4fbb-b956-80f809d5ee53 X-Archives-Hash: 9af18db5d50764818ac6eb1a78326507 On 2013-06-10 4:29 PM, Alan McKinnon 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