From owner-freebsd-questions@FreeBSD.ORG Wed Oct 19 19:58:33 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4FF9D16A41F for ; Wed, 19 Oct 2005 19:58:33 +0000 (GMT) (envelope-from lars+lister.freebsd@adventuras.no) Received: from mail.adventuras.no (mail.adventuras.no [194.63.250.215]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A6AF43D5A for ; Wed, 19 Oct 2005 19:58:32 +0000 (GMT) (envelope-from lars+lister.freebsd@adventuras.no) Received: from mail.adventuras.no (seven [127.0.0.1]) by mail.adventuras.no (8.12.10/8.12.10) with ESMTP id j9JJw5Bb013417 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Wed, 19 Oct 2005 21:58:05 +0200 Received: (from apache@localhost) by mail.adventuras.no (8.12.10/8.12.10/Submit) id j9JJw5LG013415; Wed, 19 Oct 2005 21:58:05 +0200 Received: from 213.236.228.129 (SquirrelMail authenticated user lars) by mail.adventuras.no with HTTP; Wed, 19 Oct 2005 21:58:05 +0200 (CEST) Message-ID: <56992.213.236.228.129.1129751885.squirrel@mail.adventuras.no> Date: Wed, 19 Oct 2005 21:58:05 +0200 (CEST) From: "Lars Kristiansen" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.4-1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Adventuras-MailScanner-Information: Please contact the ISP for more information X-Adventuras: du kan filtrere etter AdvSpamScore over 5-10 X-Adventuras-SpamCheck: not spam, SpamAssassin (score=-5.899, required 6, autolearn=not spam, ALL_TRUSTED -3.30, BAYES_00 -2.60) X-MailScanner-From: lars+lister.freebsd@adventuras.no Subject: to keep mount options after making a snapshot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Oct 2005 19:58:33 -0000 Hi! On some of my filesystems I use options like noatime, nosuid, nodev and noexec. If remounting one can in some cases use '-o current' to keep the current options, or '-o fstab' to load them from fstab. These two options does not work for me when making snapshots. I can specify other mount options, but not 'current' or 'fstab'. So when making snapshots, the filesystem is remounted with default options, unless each wanted mount option is specified on the command line. The easy way I have found to get my fstab options back after making snapshots is by issuing 'mount -u -o fstab ' afterwards. That is a workaround, and it can work for me. But a question: is there a cleaner way, maybe to keep the current options? This is on a 5.4-RELEASE-p8 i386 -- Lars