!oNSIfazDqEcwhcOjSL:matrix.org

disko

362 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko93 Servers

Load older messages


SenderMessageTime
17 Jun 2024
@hexa:lossy.networkhexaI think it affects the ordering?00:00:43
@hexa:lossy.networkhexahttps://github.com/nix-community/disko/blob/master/docs/table-to-gpt.md00:01:38
@maralorn:maralorn.demaralornYeah, the question is whether the ordering matters. I assume that since disko mounts by label the order is completely irrelevant for mounting and only needed for partitioning. So theoretically it doesn’t even have to be deterministic.09:01:10
@maralorn:maralorn.demaralornI mean if it is important to me that swap definitely is after efi I can annotate it, but if I don’t care I can just use whatever disko comes up with, don’t I?09:02:19
@lassulus:lassul.uslassulusyes09:30:24
@lassulus:lassul.uslassulusit sometimes matters for the ef02 partition if you do legacy booting on gpt09:30:39
@lassulus:lassul.uslassulusbut on my machines even that didn't matter09:30:49
@maralorn:maralorn.demaralornHow does disko disambiguate if two partitions have the same priority? I assume it’s then basically depending on the order Nix does attrsToList?22:18:16
@lassulus:lassul.uslassulusProbably alphabetical22:45:12
21 Jun 2024
@thedragon44:matrix.orgTheDragon joined the room.12:57:42
@linus:schreibt.jetzt@linus:schreibt.jetzt left the room.14:06:32
22 Jun 2024
@niko:puppygock.gaynyanbinary 🏳️‍⚧️ joined the room.01:25:42
@maralorn:maralorn.demaralorn lassulus: What made you decide to use partlabels for partition discovery? Isn’t that a bit dangerous because of possible naming collisions? 07:48:16
@lassulus:lassul.uslassulusfs labels are dependant on the filesystem. partition numbering is different for each backend and less flexible when updating the table07:49:26
@lassulus:lassul.uslassulusbut yeah, there is risk of conflicts if you apply the same config to different disks07:50:19
@lassulus:lassul.uslassulusbut with partlabels, the device can also be specified by an environment variable. this was not possible with the old numbering07:50:54
@maralorn:maralorn.demaralornSo, you are saying there is a risk, but there is no better option?07:55:09
@lassulus:lassul.uslassulusyes :D07:57:57
@lassulus:lassul.uslassulusmaybe we can add the device to the default partlabel07:58:26
@maralorn:maralorn.demaralornWell, I guess it’s fine to declare this the users responsibility.08:17:31
@maralorn:maralorn.demaralornAlthough maybe disko could at least detect if multiple partitions on the same system are named the same.08:18:17
@maralorn:maralorn.demaralornOf course that doesn’t protect against collissions with random disks on the system which have no mount instructions.08:19:00
@maralorn:maralorn.demaralorne.g. an old disk with previous system after a migration.08:19:24
@maralorn:maralorn.demaralorn * e.g. an old disk with the previous system after a migration to a new disk.08:19:47
@maralorn:maralorn.demaralornHm, that actually doesn’t sound super far-fetched. 😄08:20:09
@annaaurora:artemislena.euAnna Aurora joined the room.12:59:54
@bumperboat:matrix.orgbumperboat (UTC+2) changed their display name from bumperboat (UTC+1) to bumperboat (UTC+2).16:47:53
23 Jun 2024
@jordy:alkema.coJordy joined the room.15:43:44
@networkexception:chat.upi.linetworkException (moving to @networkexception:nwex.de) left the room.21:07:56
24 Jun 2024
@alina:kescher.atalina🏳️‍⚧️🐾 joined the room.13:17:40

Show newer messages


Back to Room ListRoom Version: 10