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?
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?
2. How do I actually enable/preselect a mount option by default?
3. Should we hide dangerous options like "nobarrier" by making them
exclusive to expert mode? How?
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).
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.
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 ?
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)"
On 16/05/2025 at 23:52, Nicholas D Steeves wrote:
Mount option descriptions should be added as partman-basicfilesystems/text/<option> debconf templates, so that they
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)"
can be translated. FWIW, `noatime` and `nodiratime` already have
description templates.
Pascal Hambourg <pascal@plouf.fr.eu.org> writes:
Mount option descriptions should be added as
partman-basicfilesystems/text/<option> debconf templates, so that they
can be translated. FWIW, `noatime` and `nodiratime` already have
description templates.
Do you mean partman-basicfilesystems/debian/partman-basicfilesystems.templates which
has this:
Template: partman-basicfilesystems/text/noatime
Type: text
# :sl2:
# Note to translators: Please keep your translations of this string below
# a 65 columns limit (which means 65 characters in single-byte languages)
_Description: noatime - do not update inode access times at each access
?
I didn't think that was correct, because this looks like the translation template that generates the po files (and mount option annotations) for `partman-basicfilesystems` and not for partman-btrfs.
It would be best if partman-btrfs can override partman-basicfilesystems's definitions with a mechanism like `partman-btrfs/debian/partman-btrfs.templates`.
The problem is that some of the basicfilesystems annotations don't make
sense in a btrfs context. For example, "noatime", which tends to be essential for btrfs, because btrfs COWs the file rather than updating a
real inode.
Will creating a `partman-btrfs/debian/partman-btrfs.templates` just work
or does partman-basicfilesystems need work to have support added?
If it needs to have support added, is implementing this for trixie a
hard NACK?
If it needs to have support added, is implementing this for trixie a
hard NACK?
I am not the one who can answer to this.
On 18/05/2025 at 00:23, Nicholas D Steeves wrote:
Pascal Hambourg <pascal@plouf.fr.eu.org> writes:
Mount option descriptions should be added as
partman-basicfilesystems/text/<option> debconf templates, so that they
can be translated. FWIW, `noatime` and `nodiratime` already have
description templates.
Do you mean
partman-basicfilesystems/debian/partman-basicfilesystems.templates which
has this:
Template: partman-basicfilesystems/text/noatime
Type: text
# :sl2:
# Note to translators: Please keep your translations of this string below
# a 65 columns limit (which means 65 characters in single-byte languages)
_Description: noatime - do not update inode access times at each access >>
?
Yes.
I didn't think that was correct, because this looks like the translation
template that generates the po files (and mount option annotations) for
`partman-basicfilesystems` and not for partman-btrfs.
Currently mount options descriptions for all filesystems are defined in partman-basicfilesystem templates. Btrfs-specific mount option
descriptions could be added to partman-btrfs templates, but then it
could be troublesome if such option is later implemented in another filesystem.
It would be best if partman-btrfs can override partman-basicfilesystems's
definitions with a mechanism like `partman-btrfs/debian/partman-btrfs.templates`.
I don't know how cdebconf would deal with multiple definitions of the
same item. Maybe use the first or latest definition ? In either case it would depend on udebs installation order, so unreliable.
Alternatively, select_mountoptions could be updated to look for filesystem-specific descriptions first and fallback to partman-basicfilesystems generic ones.
The problem is that some of the basicfilesystems annotations don't make
sense in a btrfs context. For example, "noatime", which tends to be
essential for btrfs, because btrfs COWs the file rather than updating a
real inode.
IIUC btrfs(5), atime update causes COW only in specific conditions such
as snapshotted or deduplicated files. (Disclaimer: my knwoledge of btrfs internals is very limited)
Anyway "*atime" are generic mount options and I am not sure that d-i is
the right place to advertise such implementation details.
Hi,
Am 18. Mai 2025 09:31:17 MESZ schrieb Pascal Hambourg <pascal@plouf.fr.eu.org>:
On 18/05/2025 at 00:23, Nicholas D Steeves wrote:
If it needs to have support added, is implementing this for trixie a
hard NACK?
I am not the one who can answer to this.
IMO this sounds rather experimental, and such work should happen during development cycle and not in freeze period.
Will creating a `partman-btrfs/debian/partman-btrfs.templates` just work
or does partman-basicfilesystems need work to have support added?
As I wrote above with a caveat, btrfs-specific mount option descriptions could be defined in partman-btrfs templates.
Hi,
Am 18. Mai 2025 09:31:17 MESZ schrieb Pascal Hambourg <pascal@plouf.fr.eu.org>:
On 18/05/2025 at 00:23, Nicholas D Steeves wrote:
If it needs to have support added, is implementing this for trixie a
hard NACK?
I am not the one who can answer to this.
IMO this sounds rather experimental, and such work should happen during development cycle and not in freeze period.
Hi Holger,
Holger Wansing <hwansing@mailbox.org> writes:
Hi,
Am 18. Mai 2025 09:31:17 MESZ schrieb Pascal Hambourg <pascal@plouf.fr.eu.org>:
On 18/05/2025 at 00:23, Nicholas D Steeves wrote:
If it needs to have support added, is implementing this for trixie a
hard NACK?
I am not the one who can answer to this.
IMO this sounds rather experimental, and such work should happen during development cycle and not in freeze period.
What is the subject of "IMO this sounds rather experimental"? Are you >referring to the following?
It would be best if partman-btrfs can override partman-basicfilesystems's definitions with a mechanism like `partman-btrfs/debian/partman-btrfs.templates`.
The problem is that some of the basicfilesystems annotations don't make
sense in a btrfs context. For example, "noatime", which tends to be essential for btrfs, because btrfs COWs the file rather than updating a
real inode.
Will creating a `partman-btrfs/debian/partman-btrfs.templates` just work >>> or does partman-basicfilesystems need work to have support added?
As I wrote above with a caveat, btrfs-specific mount option descriptions
could be defined in partman-btrfs templates.
Thus I've submitted an MR that does things in the KISS way using >partman-basicfilesystems. I'm also ok with this work going into a point >release when users of older hardware report regressions such as
increased power usage due to continuous TRIM (Fedora is still working on >this).
I've added one user-requested feature (compress=lzo), and the remainder
of my work is pretty much annotated warnings for mount options that
users cargo-cult from reddit and various HOWTOs. I would also be happy
to write more involved release notes if necessary.
Or are you referring to translator work? If most translators are burned
out and don't see the value of my proposed changes at this time then
I'll understand and accept this. P.S. I can try a French translation if
it would help! :)
Am 18. Mai 2025 15:21:12 MESZ schrieb Nicholas D Steeves <sten@debian.org>:
Holger Wansing <hwansing@mailbox.org> writes:
Am 18. Mai 2025 09:31:17 MESZ schrieb Pascal Hambourg <pascal@plouf.fr.eu.org>:
On 18/05/2025 at 00:23, Nicholas D Steeves wrote:
IMO this sounds rather experimental, and such work should happen during development cycle and not in freeze period.
What is the subject of "IMO this sounds rather experimental"? Are you >>referring to the following?
Sorry for bad quoting style.
I dropped the relevant mail part sadly.
That is:
Nicholas D Steeves <sten@debian.org> wrote:
It would be best if partman-btrfs can override partman-basicfilesystems's
definitions with a mechanism like `partman-btrfs/debian/partman-btrfs.templates`.
The problem is that some of the basicfilesystems annotations don't make
sense in a btrfs context. For example, "noatime", which tends to be
essential for btrfs, because btrfs COWs the file rather than updating a
real inode.
And the above sounds like changing the basic way of how the mount options thing
is working. And this looks "experimental" to me.
Just my two cents
Thus I've submitted an MR that does things in the KISS way using >>partman-basicfilesystems. I'm also ok with this work going into a point >>release when users of older hardware report regressions such as
increased power usage due to continuous TRIM (Fedora is still working on >>this).
Or are you referring to translator work? If most translators are burned >>out and don't see the value of my proposed changes at this time then
I'll understand and accept this. P.S. I can try a French translation if
it would help! :)
What about all the other languages?
Note, that the installer is all in all translated into 78 languages.
Adding new translation material at this stage is ... - I have no energy to repeat this over and over again.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 485 |
Nodes: | 16 (2 / 14) |
Uptime: | 95:18:10 |
Calls: | 9,642 |
Files: | 13,701 |
Messages: | 6,163,425 |