From owner-freebsd-hackers@FreeBSD.ORG Sun Dec 9 22:02:23 2007 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5B5516A418 for ; Sun, 9 Dec 2007 22:02:23 +0000 (UTC) (envelope-from freebsd-hackers@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 6843B13C447 for ; Sun, 9 Dec 2007 22:02:23 +0000 (UTC) (envelope-from freebsd-hackers@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1J1UCY-0003G0-U7 for freebsd-hackers@freebsd.org; Sun, 09 Dec 2007 22:00:42 +0000 Received: from 78-0-75-192.adsl.net.t-com.hr ([78.0.75.192]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 09 Dec 2007 22:00:42 +0000 Received: from ivoras by 78-0-75-192.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 09 Dec 2007 22:00:42 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-hackers@freebsd.org From: Ivan Voras Date: Sun, 09 Dec 2007 22:58:49 +0100 Lines: 54 Message-ID: References: <20071209221433.216218d7@Karsten.Behrmanns.Kasten> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigAF84FC1DCD719E3E98C7B006" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 78-0-75-192.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) In-Reply-To: <20071209221433.216218d7@Karsten.Behrmanns.Kasten> X-Enigmail-Version: 0.95.5 Sender: news Subject: Re: unionfs & kqueue? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Dec 2007 22:02:23 -0000 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--