[Call for Test] a patch for kern/121385 - Unionfs cross mount issue

Daichi GOTO daichi at freebsd.org
Thu Dec 4 16:36:21 PST 2008

Thanks for your test,

Paul B. Mahol wrote:
> On 11/10/08, Daichi GOTO <daichi at ongs.co.jp> wrote:
>> Hi Unionfs users
>> About kern/121385 - Unionfs cross mount issue, by discussion at
>> EuroBSDCon2008,
>> unionfs does not allow user to do cross mount operation. If you have some
>> interest
>> this issue, please get this patch and try with current. I'll commit this
>> patch after 1 week later.
>>    PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/121385
>>    Patch:
>> http://people.freebsd.org/~daichi/unionfs/experiments/unionfs-cross-mount.diff
>> This issue was discussed at EuroBSDCon2008 FreeBSD developer summit.
>> Thanks for hrs and gnn :)
>> --
>>    Daichi GOTO, http://people.freebsd.org/~daichi
>> _______________________________________________
>> freebsd-current at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
> I tested CURRENT and was unable to reproduce panic.

You cannot get the same panic described on kern/121385 as follow:

   # mkdir -p /unionfs/disk1
   # mkdir -p /unionfs/disk2
   # mount -t unionfs /unionfs/disk1 /unionfs/disk2
   # mount -t unionfs /unionfs/disk2 /unionfs/disk1
   # touch /unionfs/disk1/foo
   <freeze or crash>

The r178483 (http://svn.freebsd.org/viewvc/base?view=revision&revision=178483)
avoids this panic. Try without r178483 and you will get a panic.

Some discussions with some developers, we are testing a new cross-mount
issue patch, after some more check, I'll open it. thanks :)

   Daichi GOTO, http://people.freebsd.org/~daichi

More information about the freebsd-fs mailing list