[PATCH] make btrfs filesystem label command actually work

2011-06-01 Thread Fajar A. Nugraha
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

Re: btrfs filesystem label command

2011-05-12 Thread Goffredo Baroncelli
/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

Re: btrfs filesystem label command

2011-05-10 Thread Goffredo Baroncelli
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

Re: [PATCH 5/5][REPOST][BTRFS-PROGS] Add the btrfs filesystem label command

2010-12-05 Thread Jérôme Poulin
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

R: Re: [PATCH 5/5][REPOST][BTRFS-PROGS] Add the btrfs filesystem label command

2010-12-05 Thread Goffredo Baroncelli kreij...@libero.it
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

Re: [PATCH] Add the btrfs filesystem label command

2010-09-16 Thread Goffredo Baroncelli
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; + }

Re: [PATCH] Add the btrfs filesystem label command

2010-09-15 Thread Felix Blanke
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

Re: [PATCH] Add the btrfs filesystem label command

2010-09-15 Thread Mike Fedyk
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);

Re: [PATCH] Add the btrfs filesystem label command

2010-09-15 Thread Chris Ball
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

[PATCH] Add the btrfs filesystem label command

2010-09-13 Thread Goffredo Baroncelli
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*