kern/52110: FS corruption when using unionfs

Dmitry Sivachenko mitya at cavia.pp.ru
Mon May 12 05:30:19 PDT 2003


>Number:         52110
>Category:       kern
>Synopsis:       FS corruption when using unionfs
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 12 05:30:13 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Sivachenko
>Release:        FreeBSD 5.1-BETA i386
>Organization:
>Environment:
System: FreeBSD tear.demos.su 5.1-BETA FreeBSD 5.1-BETA #0: Mon May 12 15:23:41 MSD 2003 mitya at tear.demos.su:/usr/obj/usr/src/sys/TEAR i386


	
>Description:

See how-to-repeat.

>How-To-Repeat:

{tear}/home/mitya# mount_unionfs -b /usr/ports /mnt
{tear}/home/mitya# rmdir /mnt/misc

Thus, non-empty directory was removed.  Bug #1.

{tear}/home/mitya# umount /mnt
{tear}/home/mitya# ls -laW /mnt
ls: misc: Bad file descriptor
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
total 2
drwxr-xr-x  2 root  wheel  512 12 ÍÁÊ 16:24 .
w---------  0 root  wheel    0  1 ÑÎ×  1970 ..
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Whiteout DOT-DOT directory appeared.  Filesystem corruption.


>Fix:

	


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list