[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dragonfly-commits
Subject:    Re: cvs commit: src/sys/vfs/msdosfs msdosfs_denode.c
From:       walt <wa1ter () myrealbox ! com>
Date:       2007-07-30 22:18:14
Message-ID: 46ae63b6$0$795$415eb37d () crater_reader ! dragonflybsd ! org
[Download RAW message or body]

Matthew Dillon wrote:
> dillon      2007/07/30 07:44:56 PDT
> 
> DragonFly src repository
> 
>   Modified files:
>     sys/vfs/msdosfs      msdosfs_denode.c 
>   Log:
>   When an inode collision occurs a partially initialized vnode will be
>   destroyed.  Fix several NULL pointer dereferences in msdosfs that could
>   occur in this case...

Better.  No panic now, but there's still a bug in msdosfs.  When I try
to overwrite an existing file on an msdosfs I get several screens full
of "debug: mosdosfs: hashins collision, retrying".

The strange part:  If I use 'cp' to overwrite the file all is okay.
If I use 'mv' to overwrite the file then I get the collision error
messages above.

# touch /tmp/xyz
# touch /c/xyz  (/c/ is an mosdosfs, and this command works normally)
# mv /tmp/xyz  /c   (this causes the collision messages)

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic