Re: [PATCH 0/5] Mkfs: Rework --rootdir to a more generic behavior

2017-09-06 Thread Austin S. Hemmelgarn
On 2017-09-06 14:31, Goffredo Baroncelli wrote: On 09/06/2017 08:02 PM, Austin S. Hemmelgarn wrote: On 2017-09-06 13:48, Goffredo Baroncelli wrote: On 09/06/2017 07:16 PM, Austin S. Hemmelgarn wrote: [...] Sorry but I don't understand. If you reach the step a3; you have: - the final disk, and

Re: [PATCH 0/5] Mkfs: Rework --rootdir to a more generic behavior

2017-09-06 Thread Goffredo Baroncelli
On 09/06/2017 05:20 AM, Qu Wenruo wrote: >> >> BTW I compiled successfully the patches, and these seems to work. >> >> PS: I tried to cross-compile mkfs.btrfs ton arm, but mkfs.btrfs was unable >> to work: >> >> $ uname -a >> Linux bananapi 4.4.66-bananian #2 SMP Sat May 6 19:26:50 UTC 2017 armv7l

Re: [PATCH 0/5] Mkfs: Rework --rootdir to a more generic behavior

2017-09-06 Thread Goffredo Baroncelli
On 09/06/2017 08:02 PM, Austin S. Hemmelgarn wrote: > On 2017-09-06 13:48, Goffredo Baroncelli wrote: >> On 09/06/2017 07:16 PM, Austin S. Hemmelgarn wrote: [...] Sorry but I don't understand. If you reach the step a3; you have: - the final disk, and an environment fully working. So I am

Re: [PATCH 0/5] Mkfs: Rework --rootdir to a more generic behavior

2017-09-06 Thread Austin S. Hemmelgarn
On 2017-09-06 13:48, Goffredo Baroncelli wrote: On 09/06/2017 07:16 PM, Austin S. Hemmelgarn wrote: On 2017-09-06 12:43, Goffredo Baroncelli wrote: On 09/06/2017 01:31 PM, Austin S. Hemmelgarn wrote: On 2017-09-05 15:05, Goffredo Baroncelli wrote: On 09/05/2017 10:19 AM, Qu Wenruo wrote: O

Re: [PATCH 0/5] Mkfs: Rework --rootdir to a more generic behavior

2017-09-06 Thread Goffredo Baroncelli
On 09/06/2017 07:16 PM, Austin S. Hemmelgarn wrote: > On 2017-09-06 12:43, Goffredo Baroncelli wrote: >> On 09/06/2017 01:31 PM, Austin S. Hemmelgarn wrote: >>> On 2017-09-05 15:05, Goffredo Baroncelli wrote: On 09/05/2017 10:19 AM, Qu Wenruo wrote: > > > On 2017年09月05日 02:08, Davi

Re: [PATCH 0/5] Mkfs: Rework --rootdir to a more generic behavior

2017-09-06 Thread Austin S. Hemmelgarn
On 2017-09-06 12:43, Goffredo Baroncelli wrote: On 09/06/2017 01:31 PM, Austin S. Hemmelgarn wrote: On 2017-09-05 15:05, Goffredo Baroncelli wrote: On 09/05/2017 10:19 AM, Qu Wenruo wrote: On 2017年09月05日 02:08, David Sterba wrote: On Mon, Sep 04, 2017 at 03:41:05PM +0900, Qu Wenruo wrote:

Re: [PATCH 0/5] Mkfs: Rework --rootdir to a more generic behavior

2017-09-06 Thread Goffredo Baroncelli
On 09/06/2017 01:31 PM, Austin S. Hemmelgarn wrote: > On 2017-09-05 15:05, Goffredo Baroncelli wrote: >> On 09/05/2017 10:19 AM, Qu Wenruo wrote: >>> >>> >>> On 2017年09月05日 02:08, David Sterba wrote: On Mon, Sep 04, 2017 at 03:41:05PM +0900, Qu Wenruo wrote: > mkfs.btrfs --rootdir provides

Re: [PATCH 0/5] Mkfs: Rework --rootdir to a more generic behavior

2017-09-06 Thread Austin S. Hemmelgarn
On 2017-09-05 15:05, Goffredo Baroncelli wrote: On 09/05/2017 10:19 AM, Qu Wenruo wrote: On 2017年09月05日 02:08, David Sterba wrote: On Mon, Sep 04, 2017 at 03:41:05PM +0900, Qu Wenruo wrote: mkfs.btrfs --rootdir provides user a method to generate btrfs with pre-written content while without t

Re: [PATCH 0/5] Mkfs: Rework --rootdir to a more generic behavior

2017-09-05 Thread Qu Wenruo
On 2017年09月06日 03:05, Goffredo Baroncelli wrote: On 09/05/2017 10:19 AM, Qu Wenruo wrote: On 2017年09月05日 02:08, David Sterba wrote: On Mon, Sep 04, 2017 at 03:41:05PM +0900, Qu Wenruo wrote: mkfs.btrfs --rootdir provides user a method to generate btrfs with pre-written content while withou

Re: [PATCH 0/5] Mkfs: Rework --rootdir to a more generic behavior

2017-09-05 Thread Goffredo Baroncelli
On 09/05/2017 10:19 AM, Qu Wenruo wrote: > > > On 2017年09月05日 02:08, David Sterba wrote: >> On Mon, Sep 04, 2017 at 03:41:05PM +0900, Qu Wenruo wrote: >>> mkfs.btrfs --rootdir provides user a method to generate btrfs with >>> pre-written content while without the need of root privilege. >>> >>> H

Re: [PATCH 0/5] Mkfs: Rework --rootdir to a more generic behavior

2017-09-05 Thread Qu Wenruo
On 2017年09月05日 02:08, David Sterba wrote: On Mon, Sep 04, 2017 at 03:41:05PM +0900, Qu Wenruo wrote: mkfs.btrfs --rootdir provides user a method to generate btrfs with pre-written content while without the need of root privilege. However the code is quite old and doesn't get much review or te

Re: [PATCH 0/5] Mkfs: Rework --rootdir to a more generic behavior

2017-09-04 Thread David Sterba
On Mon, Sep 04, 2017 at 03:41:05PM +0900, Qu Wenruo wrote: > mkfs.btrfs --rootdir provides user a method to generate btrfs with > pre-written content while without the need of root privilege. > > However the code is quite old and doesn't get much review or test. > This makes some strange behavior,