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
[-- Attachment #1 --] Karsten Behrmann wrote: > Heya, > >> 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 detect >> changes. The changes are immediately visible, just not with tail -f. > > 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 filesystem > 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 file > 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. [-- Attachment #2 --] -----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fjhoes$lo9$1>
