Add ability to assign FS label in parted plugin
It would be great if we can set a FS label when creating partitions with parted plugin.
I did some PoC here (checked for ext4 and should work for FAT): https://github.com/ykharuzhy/sdm/commit/611edfc0ea613c3ffbfea925bec9126e52ebb7a0
Example:
sdm" --batch --burnfile "$out_image" --burn-plugin parted:"addpartition=1024,ext4,primary,overlayroot+128,ext4,primary,media" "$out_image.tmp"
What would the value of this be to users?
I use this to make rootfs overlay backed by partition, not tmpfs. Mounting by label allow to have one image for SD and NVMe.
пт, 14 чэр 2024, 19:09 карыстальнік Benn @.***> напісаў:
What would the value of this be to users?
— Reply to this email directly, view it on GitHub https://github.com/gitbls/sdm/issues/217#issuecomment-2168338938, or unsubscribe https://github.com/notifications/unsubscribe-auth/BIHK77RD5M67CTZUJ4EBYQTZHMIUHAVCNFSM6AAAAABJKISMGWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRYGMZTQOJTHA . You are receiving this because you authored the thread.Message ID: @.***>
I'll have a look into this next week.
This will be in the next sdm release. Thanks for the POC!
This is included in V12.4. I'd appreciate it if you could test/verify. Thx!
Closed due to no activity.