Package: debian-installer
Version: 13.1.0

Hello, I am trying to install Debian with a BTRFS file system (using 
debian-13.1.0-amd64-netinst.iso).

I need to change subvolume/file system attributes after the file system is 
created but before the base installation begins. Unfortunately, chattr and 
lsattr are not available in the installer. Would it be possible to add them to 
the installer's BusyBox?

Using mount options is not sufficient for this particular use case. As the 
BTRFS manual points out, subvolume options like nodatacow cannot be set via 
mount:

> Most mount options apply to the whole filesystem and only options in the 
> first mounted subvolume will take effect. This is due to lack of 
> implementation and may change in the future. This means that (for example) 
> you can’t set per-subvolume nodatacow, nodatasum, or compress using mount 
> options. This should eventually be fixed, but it has proved to be difficult 
> to implement correctly within the Linux VFS framework.

Including these two tools would be a significant help for users performing more 
advanced BTRFS installations. I am happy to provide a patch if pointed to the 
right repository.

Reply via email to