cvs commit: src/sys/fs/unionfs union.h union_subr.c union_vfsops.c union_vnops.c src/sbin/mount_unionfs Makefile mount_unionfs.8 mount_unionfs.c

Wes Peters wes at
Wed Feb 14 15:01:08 UTC 2007

On Feb 13, 2007, at 7:22 AM, Kevin Oberman wrote:

>> From: Craig Rodrigues <rodrigc at>
>> Date: Tue, 13 Feb 2007 05:56:43 +0000 (UTC)
>> Sender: owner-cvs-all at
>> rodrigc     2007-02-13 05:56:43 UTC
>>   FreeBSD src repository
>>   Modified files:        (Branch: RELENG_6)
>>     sys/fs/unionfs       union.h union_subr.c union_vfsops.c
>>                          union_vnops.c
>>     sbin/mount_unionfs   Makefile mount_unionfs.8 mount_unionfs.c
>>   Log:
>>   MFC: New unionfs implementation from Daichi GOTO and Masanori  
>>        which fixes many locking and crashing problems in the previous
>>        implementation.  kib@ helped a lot by eliminating a source
>>        of deadlocks encountered with unionfs with these commits:
>>          rev. 1.50 of src/sys/fs/deadfs/dead_vnops.c
>>          rev. 1.97 of src/sys/kern/vfs_lookup.c
>>   Submitted by:   daichi, Masanori OZAWA <ozawa ongs co jp>

> Thanks for MFCing this work and to the authors who put all the work  
> into
> actually making unionfs work as it should. As a regular user of  
> unionfs
> (at this moment /etc is a unionfs on the system from which I am  
> sending
> this), it's great that I can worry less about blowing off my foot if I
> am not VERY careful what operations I do with the unionfs filesystem.

Ditto.  We use unionfs extensively in our build system, and take down  
the unions and chroot's once a build is finished running (~2 hrs) and  
therefore crash the build box about every 5th build.  You can't  
imagine how much this is going to help...  ;^)

            Where am I, and what am I doing in this handbasket?
Wes Peters                                                      
wes at

More information about the cvs-src mailing list