This simple patch makes btrfs filesystem label command actually work.
On tmp branch, commit d1dc6a9, btrfs filesystem label functionality
was introduced. However the commit lacks one component that lets
btrfs accept filesystem label command.
Test case
/mason/btrfs-progs-unstable.git;a=commit;h=d1dc6a9cff7e2fe4f335ca783a4b033457b3e184
-BJ
From: Goffredo Baroncelli kreij...@inwind.it To: BJ Quinn
b...@placs.net Cc: linux-btrfs@vger.kernel.org Sent: Tuesday, May 10,
2011 1:18:04 PM Subject: Re: btrfs filesystem label command
Hi,
I
that this may help you
Regards
G.Baroncelli
On 05/09/2011 11:36 PM, BJ Quinn wrote:
Hi,
Sorry to ask what's probably a painfully obvious question, but I'd like to
use your btrfs filesystem label command. For the life of me, I can't quite
figure out what the process would be to download the btrfs
On 2010-12-05, at 12:47, Goffredo Baroncelli kreij...@inwind.it wrote:
Hi all,
this patch adds the command btrfs filesystem label to change (or show) the
label of a filesystem.
This patch is a subset of the one written previously by Morey Roof. I
included the user space part only. So it is
Da: jeromepou...@gmail.com
Data: 06/12/2010 1.48
A: kreij...@inwind.itkreij...@inwind.it
Cc: chris.ma...@oracle.comchris.ma...@oracle.com, linux-bt...@vger.
kernel.orglinux-btrfs@vger.kernel.org, Felix Blankefelixbla...@gmail.
com
Ogg: Re: [PATCH 5/5][REPOST][BTRFS-PROGS] Add the quot;btrfs
On Thursday, 16 September, 2010, Mike Fedyk wrote:
On Mon, Sep 13, 2010 at 12:24 PM, Goffredo Baroncelli
kreij...@gmail.com wrote:
[...]
+
+ if(ret != 0)
+ {
+ fprintf(stderr, FATAL: the filesystem has to be
unmounted\n);
+ return -2;
+ }
Worked like it should for me :)
Thanks a lot for your work.
I hope this patch will be merged soon.
Like G.Baroncelli says: It's such an essential feature.
Regards,
Felix
Goffredo Baroncelli schrieb:
Hi all,
this patch adds the command btrfs filesystem label to change (or show) the
label
On Mon, Sep 13, 2010 at 12:24 PM, Goffredo Baroncelli
kreij...@gmail.com wrote:
+int get_label(char *btrfs_dev)
+{
+
+ int ret;
+ ret = check_mounted(btrfs_dev);
+ if (ret 0)
+ {
+ fprintf(stderr, FATAL: error checking %s mount status\n,
btrfs_dev);
Hi,
How can one char equal two chars?
input[i] == '\\'
If the first char is the C escape sequence for string literals. :)
- Chris.
--
Chris Ball c...@laptop.org http://printf.net/
One Laptop Per Child
--
To unsubscribe from this list: send the line unsubscribe linux-btrfs in
Hi all,
this patch adds the command btrfs filesystem label to change (or show) the
label of a filesystem.
This patch is a subset of the one written previously by Morey Roof. I
included the user space part only. So it is possible only to change/show a
label of a *single device* and *unounted*
10 matches
Mail list logo