microsoft / hcsshim

Windows - Host Compute Service Shim
MIT License
564 stars 253 forks source link

Allow setting read/write, UUID and volume name options for EXT4 file systems #2199

Open pojntfx opened 1 month ago

pojntfx commented 1 month ago

Currently, file systems generated by the tar2ext4 tool lack a volume name and have their UUID set to 0000-...., despite the superblock in the internal package having the fields available. This PR allows to optionally set these fields with ReadWrite() Option, UUID(uuid [16]byte) Option and VolumeName(volumeName [16]byte) Option. The existing behavior does not change as a result of this.

pojntfx commented 1 month ago

@microsoft-github-policy-service agree company="Loophole Labs"