-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 5/21/14, 11:14 PM, Roman Mamedov wrote:
> On Wed, 21 May 2014 21:14:07 -0500
> Eric Sandeen wrote:
>
(Random aside: why does btrfs support online fs relabeling, anyway?)
-Eric
>>>
>>> Online you mean when mounted ?
>>
>> Yep - I'm
On 21/05/14 00:33, David Sterba wrote:
On Tue, May 20, 2014 at 02:36:48PM +0800, Anand Jain wrote:
From: Anand Jain
generally if you use
echo "test" > /sys/fs/btrfs//label
it would introduce return char at the end and it can not
be part of the label. The correct command is
echo -n "tes
On Wed, 21 May 2014 21:14:07 -0500
Eric Sandeen wrote:
> >> (Random aside: why does btrfs support online fs relabeling, anyway?)
> >>
> >> -Eric
> >
> > Online you mean when mounted ?
>
> Yep - I'm just not sure who would ever want to do that.
>
> Aren't labels primarly used for mounting, du
On 5/21/14, 9:05 PM, Anand Jain wrote:
>
>>
>> (Random aside: why does btrfs support online fs relabeling, anyway?)
>>
>> -Eric
>
> Online you mean when mounted ?
Yep - I'm just not sure who would ever want to do that.
Aren't labels primarly used for mounting, during the mount process?
So ch
(Random aside: why does btrfs support online fs relabeling, anyway?)
-Eric
Online you mean when mounted ?
But I had an opinion that should we support label store from the sysfs
interface when the (sysfs) interface can't communicate the module's
specific errors back to the user.?
Th
On 5/20/14, 11:33 AM, David Sterba wrote:
> On Tue, May 20, 2014 at 02:36:48PM +0800, Anand Jain wrote:
>> From: Anand Jain
>>
>> generally if you use
>> echo "test" > /sys/fs/btrfs//label
>> it would introduce return char at the end and it can not
>> be part of the label. The correct command is
On 5/20/14, 1:36 AM, Anand Jain wrote:
> From: Anand Jain
>
> generally if you use
> echo "test" > /sys/fs/btrfs//label
> it would introduce return char at the end and it can not
> be part of the label. The correct command is
> echo -n "test" > /sys/fs/btrfs//label
>
> This patch will check
On Tue, May 20, 2014 at 02:36:48PM +0800, Anand Jain wrote:
> From: Anand Jain
>
> generally if you use
> echo "test" > /sys/fs/btrfs//label
> it would introduce return char at the end and it can not
> be part of the label. The correct command is
> echo -n "test" > /sys/fs/btrfs//label
>
> T
From: Anand Jain
generally if you use
echo "test" > /sys/fs/btrfs//label
it would introduce return char at the end and it can not
be part of the label. The correct command is
echo -n "test" > /sys/fs/btrfs//label
This patch will check for this user error
Signed-off-by: Anand Jain
---
v2: