xfs
[Top] [All Lists]

Re: xfs mknod bug?

To: Steve Lord <lord@xxxxxxx>
Subject: Re: xfs mknod bug?
From: Steve Lord <lord@xxxxxxx>
Date: 14 Dec 2001 18:17:21 -0600
Cc: Jim Buzbee <James.Buzbee@xxxxxxxxxxxx>, XFS List <linux-xfs@xxxxxxxxxxx>, mkp@xxxxxxx
In-reply-to: <1008365363.21647.16.camel@xxxxxxxxxxxxxxxxxxxx>
References: <3C1A15C8.CADCBE52@xxxxxxxxxxxx> <1008365363.21647.16.camel@xxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
On Fri, 2001-12-14 at 15:29, Steve Lord wrote:
> On Fri, 2001-12-14 at 09:07, Jim Buzbee wrote:
> > 
> > I'm running an xfs patched 2.4.8 kernel on an x86 platform and am having
> > repeatable problems with the mknod command on an xfs partition.  Here's
> > an example :
> > 
> > # mknod test c 1 2
> > # sync
> > # sync
> > # sync
> > # ls -al test
> > crw-r--r--   1 root     root       1,   2 Dec 14 14:57 test
> > 
> > I then reset the system by cycling power.  Upon reboot :
> > 
> > # ls -al test
> > crw-r--r--   1 root     root       0,   0 Dec 14  2001 test
> > 
> > If I do a "clean" reboot and unmount the partition normally, I do not
> > get this behavior.  Is this a known issue? 
> 
> 
> It looks like this is still an issue, I tried it on 2.4.16 and I
> got a device back, but with different major minor numbers!
> 
> 
> > crw-r--r--    1 root     root      64,   0 Dec 14 15:01 test
> 
> I think I know where to look.
> 
> Steve
>

OK, try the attached patch, it fixes it here, looks like this bug is in
Irix too.

Steve

-- 

Steve Lord                                      voice: +1-651-683-3511
Principal Engineer, Filesystem Software         email: lord@xxxxxxx

Attachment: recovery.patch
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>