Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Dec 2007 22:58:49 +0100
From:      Ivan Voras <ivoras@freebsd.org>
To:        freebsd-hackers@freebsd.org
Subject:   Re: unionfs & kqueue?
Message-ID:  <fjhoes$lo9$1@ger.gmane.org>
In-Reply-To: <20071209221433.216218d7@Karsten.Behrmanns.Kasten>
References:  <fjhi8o$trn$1@ger.gmane.org> <20071209221433.216218d7@Karsten.Behrmanns.Kasten>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigAF84FC1DCD719E3E98C7B006
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Karsten Behrmann wrote:
> Heya,
>=20
>> Does unionfs work with kqueue? When I run `tail -f` on a file residing=

>> on unionfs with cd9660 underneeth and md+ufs over it, it doesn't detec=
t
>> changes. The changes are immediately visible, just not with tail -f.
>=20
> Hmm. When you start the tail -f, does the file reside on the cd9660 or
> already on the md?

The file resides entirely in the upper layer, in the md.

> See if tail -F does a better job.

Will do.

> My guess would be that, since you cannot modify a file on any filesyste=
m
> except the top one, unionfs must change semantics of open so that even
> opening for writing or appending silently creates a new copy of the fil=
e
> on the top filesystem (if the file didn't reside there already).

Yes, AFAIK it does that.

> As tail -f still has the lower-layer file open,
> it never notices that there's a new file by the name.

Not in my case - there's no such lower-layer file.



--------------enigAF84FC1DCD719E3E98C7B006
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHXGUaldnAQVacBcgRAvZ+AJ0XrHcUwUouBwAqPxKR1ab0cJ0n6QCdFvWJ
D1s0ND/+VMwImp9OPJbrya0=
=jbQt
-----END PGP SIGNATURE-----

--------------enigAF84FC1DCD719E3E98C7B006--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fjhoes$lo9$1>