Re: [PATCH] btrfs-progs: print errno string when /dev/btrfs-control open fails

2013-03-14 Thread Anand Jain
I think the common pattern here is that error details follow the message, like + "skipping device registration: %s\n", I'll fix it here, if you don't mind. Pls do. Thanks David. -Anand -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the bo

Re: [PATCH] btrfs-progs: print errno string when /dev/btrfs-control open fails

2013-03-14 Thread David Sterba
On Thu, Mar 14, 2013 at 11:17:19AM +0800, Anand Jain wrote: > fprintf(stderr, "failed to open /dev/btrfs-control " > - "skipping device registration\n"); > + "%s, skipping device registration\n", >

[PATCH] btrfs-progs: print errno string when /dev/btrfs-control open fails

2013-03-13 Thread Anand Jain
Of recently and intermittently I am seeing open fail for /dev/btrfs-control (btrfs is loaded), and there are no dmesg errors, this may not be a complete help in digging this issue but something which is necessary. Thanks Signed-off-by: Anand Jain --- utils.c | 3 ++- 1 file changed, 2

Re: Still Problems with /dev/btrfs-control

2010-01-09 Thread Johannes Hirte
Am Samstag 09 Januar 2010 12:05:34 schrieb Goffredo Baroncelli: > Hi Michael > > On Saturday 09 January 2010, Dipl.-Ing. Michael Niederle wrote: > > Thanks for the quick reply! > > > > But I still have problems with btrfsctl: > > > stat /dev/btrfs-control &g

Re: Still Problems with /dev/btrfs-control

2010-01-09 Thread Goffredo Baroncelli
Hi Michael On Saturday 09 January 2010, Dipl.-Ing. Michael Niederle wrote: > Thanks for the quick reply! > > But I still have problems with btrfsctl: > > stat /dev/btrfs-control > File: `/dev/btrfs-control' > Size: 0 Blocks: 0 IO Block:

Still Problems with /dev/btrfs-control

2010-01-09 Thread Dipl.-Ing. Michael Niederle
Thanks for the quick reply! But I still have problems with btrfsctl: > stat /dev/btrfs-control File: `/dev/btrfs-control' Size: 0 Blocks: 0 IO Block: 4096 block special file Device: ch/12d Inode: 659848 Links: 1 Device type: a,3e Access: (0644/

Re: /dev/btrfs-control

2010-01-08 Thread Kay Sievers
On Fri, Jan 8, 2010 at 17:37, Michael Niederle wrote: > Some btrfs-tools make use of "/dev/btrfs-control". > > How should I create this node? Is this a block or a character device (I > suppose > it should be a character device), which major and minor numbers should be

/dev/btrfs-control

2010-01-08 Thread Michael Niederle
Some btrfs-tools make use of "/dev/btrfs-control". How should I create this node? Is this a block or a character device (I suppose it should be a character device), which major and minor numbers should be assigned? I do not use udev, so I have to create all device nodes "by hand