Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jan 2006 04:02:57 +0100 (CET)
From:      "Lars Kristiansen" <lars@adventuras.no>
To:        =?iso-8859-1?Q?V=C3=A1clav_Haisman?= <V.Haisman@sh.cvut.cz>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: [6.0] Snapshot removes acls flag from fs.
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>

next in thread | previous in thread | raw e-mail | index | archive | help
>
>
> 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
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55637.80.111.250.79.1136602977.squirrel>