Re: btrfsctl exit with 1 when succeed

2009-12-27 Thread TARUISI Hiroaki
Thank you, I don't think of a devices scan. After all, I wonder why. Return codes must be coherent so that we can know good from no-good by them. In this spec, it's very hard to make shell scripts with btrfsctl. If there isn't good reason, we need to fix it, I think. (2009/12/25 18:25), Goffredo

Re: btrfsctl exit with 1 when succeed

2009-12-25 Thread Goffredo Baroncelli
On Friday 25 December 2009, TARUISI Hiroaki wrote: > I also want to know why this conversion is needed. > This might be a typo, I think. > > Could someone tell us why? > Can we fix this conversion? Or shouldn't we fix it > considering back-compatibility? > It is even worse: the result code retur

Re: btrfsctl exit with 1 when succeed

2009-12-24 Thread TARUISI Hiroaki
I also want to know why this conversion is needed. This might be a typo, I think. Could someone tell us why? Can we fix this conversion? Or shouldn't we fix it considering back-compatibility? Regards, taruisi (2009/11/11 15:16), Gong, Zhipeng wrote: > We'd like to use btrfsctl in a shell script,