!oNSIfazDqEcwhcOjSL:matrix.org

disko

368 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko96 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
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

Show newer messages


Back to Room ListRoom Version: 10