From owner-freebsd-stable@FreeBSD.ORG Sat Jan 7 03:03:43 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D94B016A41F for ; Sat, 7 Jan 2006 03:03:43 +0000 (GMT) (envelope-from lars@adventuras.no) Received: from mail.adventuras.no (mail.adventuras.no [194.63.250.215]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E68F43D48 for ; Sat, 7 Jan 2006 03:03:42 +0000 (GMT) (envelope-from lars@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 k07330jt004527 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sat, 7 Jan 2006 04:03:00 +0100 Received: (from apache@localhost) by mail.adventuras.no (8.12.10/8.12.10/Submit) id k0732viK004525; Sat, 7 Jan 2006 04:02:57 +0100 Received: from 80.111.250.79 (SquirrelMail authenticated user lars) by mail.adventuras.no with HTTP; Sat, 7 Jan 2006 04:02:57 +0100 (CET) Message-ID: <55637.80.111.250.79.1136602977.squirrel@mail.adventuras.no> In-Reply-To: <43BF2079.30508@sh.cvut.cz> References: <43BE3D81.6090402@sh.cvut.cz> <20060106105712.GA46889@walton.maths.tcd.ie> <43BF2079.30508@sh.cvut.cz> Date: Sat, 7 Jan 2006 04:02:57 +0100 (CET) From: "Lars Kristiansen" To: =?iso-8859-1?Q?V=C3=A1clav_Haisman?= 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=-4.351, required 6, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.05, BAYES_00 -2.60) X-MailScanner-From: lars@adventuras.no Cc: freebsd-stable@freebsd.org Subject: Re: [6.0] Snapshot removes acls flag from fs. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jan 2006 03:03:44 -0000 > > > David Malone wrote: >> On Fri, Jan 06, 2006 at 10:50:57AM +0100, V??clav Haisman wrote: >> >>>When I make snapshot of fs it removes "acls" flag from mount. While the >>>command is "mount -u -o snapshot etc." I don't think it should remove >>>the flag because it is not specified besides the snapshot option. >> >> >> You probably want something like: >> >> mount -u -o cur,snapshot ... >> >> See the "current" and "fstab" options in the mount man page. An >> easier way to do this would be to use the mksnap_ffs command, which >> should preserve the old options. >> >> David. > Hmmm, I use the sysutils/snapshot port that allows to automates this > through periodic.conf... I guess I should rather complain to them then. And as a workaround you could remount immediately after taking a snapshot. Example command in crontab if you want to use the options from fstab: /usr/local/sbin/periodic-snapshot daily ; mount -a -u -o fstab -t nomfs -- Lars > > VH >