[Btrfs-devel] Mknod: Operation not permitted

Chris Mason chris.mason at oracle.com
Wed Jul 11 07:25:29 PDT 2007


On Fri, 29 Jun 2007 11:30:46 -0400
Josef Bacik <jwhiter at redhat.com> wrote:

> On Fri, Jun 29, 2007 at 04:44:10PM +0200, Frank Groeneveld wrote:
> > When trying to move my root to a btrfs filesystem, I found a missing
> > feature (or a bug). It's not possible to create device files. To
> > reproduce, run this on a btrfs filesystem:
> > 
> > mknod test c 1 1
> > 
> > result:
> > mknod: `test': Operation not permitted
> > 
> >
> 
> Hello,
> 
> Please try this patch, it should work for you, I promise it compiled
> and pretended to work for me :).

Almost ;)  Apparently I failed to actually save the inode rdev field on
disk, so this patch won't quite work when the inode goes out of ram.

But, I've put in a change that does work for me, and I'll push it out
shortly.

-chris



More information about the Btrfs-devel mailing list