sdm icon indicating copy to clipboard operation
sdm copied to clipboard

Add ability to assign FS label in parted plugin

Open ykharuzhy opened this issue 8 months ago • 4 comments

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"

ykharuzhy avatar Jun 14 '24 12:06 ykharuzhy