Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 May 2007 19:00:56 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Roman Divacky <rdivacky@freebsd.org>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: [ANN] unionfs patchset-19-20070504 release, it is now MPSAFE and transparent mode as default
Message-ID:  <20070506160056.GE83173@deviant.kiev.zoral.com.ua>
In-Reply-To: <20070506093034.GA42976@freebsd.org>
References:  <E1HkcCT-0004uW-76@cs1.cs.huji.ac.il> <20070506093034.GA42976@freebsd.org>

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

[-- Attachment #1 --]
[Cc: list trimmed to something reasonable]

On Sun, May 06, 2007 at 11:30:34AM +0200, Roman Divacky wrote:
> > Hi,
> > 	So far I've tested it under -current, in my diskless env. where
> > /etc & /compat/linux are unionfs'ed with a mfs, and so all seems OK.
> 
> there's an XXX in the linuxulator code saying:
> 
> XXX Untested vs. mount -o union; probably does the wrong thing.
> 
> can you confirm that it works ok with unionfs from daichi?

There are to quite different union-kind things in kernel. One is the -o union
option for the mount, see mount(2). Second is unionfs proper.

The first thing (-o union) requires support in namei and related syscalls,
like getdirentries. It is implemented for native freebsd getdirentries (both
current and 4-compat variants), but, AFAIR, is _not_ implemented in
compat syscalls implementations for sysv, linux, xenix etc. And, in fact,
making that compat syscalls behave is somewhat tricky due to cookies and
differences between supposed output formats for ABIs.

Unionfs shall have no real difference in behaviour what used from processes
using compat ABIs.

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFGPfu3C3+MBN1Mb4gRAm+jAKDuQWSR5M7tn9tsQH+Ipnmc+7YiJQCeLZPD
lbP9FNL9oNRLrTWDmrNbkMM=
=lJlE
-----END PGP SIGNATURE-----
help

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