Re: crypted btrfs in a file

2019-09-04 Thread Austin S. Hemmelgarn
On 2019-09-04 08:46, Jorge Fernandez Monteagudo wrote: Hi Austin! What you want here is mkfs.btrfs with the `-r` and `--shrink` options. So, for your specific example, replace the genisoimage command from your first example with this and update the file names appropriately: # mkfs.btrfs -r

RE: crypted btrfs in a file

2019-09-04 Thread Jorge Fernandez Monteagudo
Hi Austin!   >What you want here is mkfs.btrfs with the `-r` and `--shrink` options. > >So, for your specific example, replace the genisoimage command from your >first example with this and update the file names appropriately: > ># mkfs.btrfs -r --shrink btrfs.img > >Note that you don't need and

Re: crypted btrfs in a file

2019-09-04 Thread Austin S. Hemmelgarn
On 2019-09-04 02:23, Jorge Fernandez Monteagudo wrote: Hi all! Is it possible to get a crypted btrfs in a file? Currently I'm doing this to get a crypted ISO filesystem in a file: # genisoimage -R -J -iso-level 4 -o iso.img # fallocate iso-crypted.img -l $(stat --printf="%

crypted btrfs in a file

2019-09-03 Thread Jorge Fernandez Monteagudo
Hi all! Is it possible to get a crypted btrfs in a file? Currently I'm doing this to get a crypted ISO filesystem in a file: # genisoimage -R -J -iso-level 4 -o iso.img # fallocate iso-crypted.img -l $(stat --printf="%s" iso.img) # cryptsetup -d create test iso-crypted.img # d