project-machine / puzzlefs

Apache License 2.0
378 stars 18 forks source link

Replace OsString with Vec<u8> inside the puzzlefs image metadata #85

Closed ariel-miculas closed 1 year ago

ariel-miculas commented 1 year ago

There's no reason to store a platform-native representation of DirEnts, Xattrs etc. inside the image metadata, it only makes the deserializing from the kernel side more difficult. So just use Vec, which is what OsStr uses under the hood for Unix systems.