repart: Allow Subvolumes= and DefaultSubvolume= when running offline
mkfs.btrfs has recently learned new options --subvol and --default-subvol so let's stop failing when Subvolumes= and DefaultSubvolume= are used offline and use the new --subvol and --default-subvol options instead to create subvolumes in the generated root filesystem without root privileges or loop devices.
This commit is contained in:
+4
-4
@@ -548,8 +548,8 @@
|
||||
<para>Note that this option only takes effect if the target filesystem supports subvolumes, such as
|
||||
<literal>btrfs</literal>.</para>
|
||||
|
||||
<para>Note that due to limitations of <literal>mkfs.btrfs</literal>, this option is only supported
|
||||
when running with <option>--offline=no</option>.</para>
|
||||
<para>Note that this option is only supported in combination with <option>--offline=yes</option>
|
||||
since btrfs-progs 6.11 or newer.</para>
|
||||
|
||||
<xi:include href="version-info.xml" xpointer="v255"/></listitem>
|
||||
</varlistentry>
|
||||
@@ -564,8 +564,8 @@
|
||||
<para>Note that this option only takes effect if the target filesystem supports subvolumes, such as
|
||||
<literal>btrfs</literal>.</para>
|
||||
|
||||
<para>Note that due to limitations of <literal>mkfs.btrfs</literal>, this option is only supported
|
||||
when running with <option>--offline=no</option>.</para>
|
||||
<para>Note that this option is only supported in combination with <option>--offline=yes</option>
|
||||
since btrfs-progs 6.11 or newer.</para>
|
||||
|
||||
<xi:include href="version-info.xml" xpointer="v256"/></listitem>
|
||||
</varlistentry>
|
||||
|
||||
Reference in New Issue
Block a user