Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 May 2011 04:30:39 -0400
From:      Jason Hellenthal <jhell@DataIX.net>
To:        Andre Albsmeier <Andre.Albsmeier@siemens.com>
Cc:        "freebsd-rc@freebsd.org" <freebsd-rc@freebsd.org>
Subject:   Re: New knob for ignoring readonly fss in 340.noid and 310.locate?
Message-ID:  <20110502083039.GC6066@DataIX.net>
In-Reply-To: <20110502052739.GB20839@curry.mchp.siemens.de>
References:  <20110430102521.GA11716@curry.mchp.siemens.de> <20110430213157.GC5660@DataIX.net> <20110501081930.GA14448@curry.mchp.siemens.de> <20110502025942.GA31396@DataIX.net> <20110502052739.GB20839@curry.mchp.siemens.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--k4f25fnPtRuIRUb3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable


Andre,

Give this a shot.

http://patches.jhell.googlecode.com/hg/340.noid.patch

Apply with ( patch -p1 -E < /path/to/340.noid.patch )

Then either copy the resulting script to where it needs to go and remove
the old 340.noid or run one of mergemaster or etcupdate.

This effectively pushes it to periodic/security/310.chknoid which makes
a lot more sense than beeing in weekly as a non-security measure.

Introduces:
daily_status_security_chknoid_enable=3D"YES"
daily_status_security_chknoid_dirs=3D""

By default it populates its directory list with zfs,ufs mountpoints and
will not cross mountpoints as per '-x' options to find(1).

On Mon, May 02, 2011 at 07:27:39AM +0200, Andre Albsmeier wrote:
>On Mon, 02-May-2011 at 04:59:42 +0200, Jason Hellenthal wrote:
>>=20
>> Andre,
>>=20
>>=20
>> On Sun, May 01, 2011 at 10:19:30AM +0200, Andre Albsmeier wrote:
>> >On Sat, 30-Apr-2011 at 23:31:57 +0200, Jason Hellenthal wrote:
>> >>=20
>> >> By default snapshots directories are hidden and treated as a virtual
>> >
>> >Is it possible to hide snapshots directories in UFS?
>> >
>>=20
>> Snapshot directories on UFS are treated differently than they are in
>> ZFS. UFS snapshot directories live as the base of the filesystem and are
>> not auto-mounted perse when you cd(1) into them so therefore there isn't=
 a
>> need to hide them because they cannot be traversed.
>
>They are mounted and they have to be mounted (at least here). If
>they weren't mounted, people couldn't access them. That's why
>they are also being traversed by 310.locate and 340.noid. To
>summarise:
>
>- I use UFS.
>- My snapshots must be mounted.
>- They are being traversed by 310.locate and 340.noid.
>- I don't want the latter.
>
>To accomplish this, I can play around with (directory name dependent)
>exclusion lists for 310.locate and 340.noid. I could also implement
>a rdonly knob.
>
>	-Andre

--=20

 Regards, (jhell)
 Jason Hellenthal


--k4f25fnPtRuIRUb3
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (FreeBSD)
Comment: http://bit.ly/0x89D8547E

iQEcBAEBAgAGBQJNvmuvAAoJEJBXh4mJ2FR+7BIH/0EEL3p7PizcEQkizixpSugv
Bf7NnVoDN/DDoCb0LxqoaLd2FdymXGslpCDO4D40Y8Arvgu8wVN2eIeA58Am+3mx
LOHYgE48Ub49bx5jiaMBmHPUoLBL5ELGSRnXYTKL4eGNVHyFfBcWT4pgZhAO2ouN
r5PZULrBzXHfegy/OHayP95o8J6+0WkYidQSSkRSTSAyldVGsQeQctVWZXs6ECYq
kBe8llKT8ZpcT196PSrvS9OWI2pDzt7+p4qzba5khUQRCKQA8YFY4PBDc9KFNsdT
KRLUvb0PHwD8yuRY/A7+46ouJoM0Ks+9mGApwYOAW41p0RoCUCH4zUVW/STcOPU=
=wsEP
-----END PGP SIGNATURE-----

--k4f25fnPtRuIRUb3--



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