[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFC MR: Update btrfs mount options



Hi Pascal

Thank you for your feedback, I sincerely appreciate it.

Pascal Hambourg <pascal@plouf.fr.eu.org> writes:

> On 15/05/2025 at 20:43, Nicholas D Steeves wrote:
>> 
>>   1. Can the fstab tab mount line generating script handle both the =  and :
>>   symbols? Ie, can partman-btrfs have "compress=zstd:1" in the list of
>>   mount options?
>
> I do not know if cdebconf supports "=" and ":" in item names (used to 
> display option descriptions).

I've since confirmed that the effect of "-o compress=zstd:1" is
correctly achieved both in the fstab and FS of the resulting
installation, but I haven't yet tested if it interacts with adding a
description.

> Also note that AFAIK partman does not currently support mutually 
> exclusive options, so "compress" and "compress=zstd:1" would be treated 
> as independent and non-conflicting options. Same with "discard", 
> "nodiscard, "discard=sync" and "discard=async".
>
>>   2. How do I actually enable/preselect a mount option by default?
>
> AFAIK partman does not currently supports this.

Thanks for confirming; I feel a little bit better about the hours of
fruitless research!

>>   3. Should we hide dangerous options like "nobarrier" by making them
>>   exclusive to expert mode? How?
>
> AFAIK partman does not currently supports this. What about a 
> "(DANGEROUS!)" comment in the option description ?

That's a good idea.  I used up all my free time working on other items
so didn't find an example syntax.  Would it be

option ("Human description")
option "(Human Description)"

I'll test both as I wait to hear back from you or others.

Thank you,
Nicholas

Attachment: signature.asc
Description: PGP signature


Reply to: