kern/101332: mv * dir on fat (dos|win fs) kills freebsd

Igor Popov igorpopov at newmail.ru
Thu Aug 3 21:10:16 UTC 2006


>Number:         101332
>Category:       kern
>Synopsis:       mv * dir on fat (dos|win fs) kills freebsd
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 03 21:10:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Igor Popov
>Release:        tested on 6.0 and 6.1
>Organization:
>Environment:
FreeBSD moon.wbt.ru 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3 #0: Mon Jul 10 16:47:52 EEST 2006     toor at moon.wbt.ru:/usr/obj/usr/src/sys/SUPERKERNEL  i386

>Description:
$ grep /mnt/dos /etc/fstab
/dev/ad0s2              /mnt/dos        msdos   rw,-Dcp866,-Lru_RU.KOI8-R  0 0
$pwd
/mnt/dos/tmp
$ ls -al
total 12
drwxr-xr-x  1 igor  igor  4096  4 авг 00:01 .
drwxr-xr-x  1 igor  igor  4096  1 янв  1980 ..
-rwxr-xr-x  1 igor  igor     0  4 авг 00:01 1
-rwxr-xr-x  1 igor  igor     0  4 авг 00:01 2
-rwxr-xr-x  1 igor  igor     0  4 авг 00:01 3
drwxr-xr-x  1 igor  igor  4096  4 авг 00:01 dir

$ mv * dir
the last command cause kernel panic and reboot
 
>How-To-Repeat:
$ mv * dir on FAT
>Fix:
none
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list