pengutronix / genimage

tool to generate multiple filesystem and flash images from a tree
GNU General Public License v2.0
309 stars 110 forks source link

Add support for exfat #84

Open erichiggins opened 4 years ago

erichiggins commented 4 years ago

I was a bit surprised to see that the exfat file system was not supported by genimage. Would it be possible to add it? Since genimage is used by buildroot (and others), which frequently target embedded systems running on flash drives, it seems like a natural fit.

Thanks for all your hard work on genimage!

michaelolbrich commented 4 years ago

It's a good idea, but not high on my personal priority list. But I'd be happy to review a pull request.

jameshilliard commented 4 years ago

Since genimage is used by buildroot (and others), which frequently target embedded systems running on flash drives, it seems like a natural fit.

To be fair Linux only recently added mainline kernel support for exfat(although I don't think it's possible to use exfat for a rootfs). I'm curious what the use case here would be as I'm not aware of any Linux systems capable of using exfat for storing/running bootloaders(fat32 being the most common standard there which supports large enough partitions for this purpose).

drewbug commented 4 years ago

This would be useful for enabling certain end-users to add large files to a USB drive

EDIT: virt-make-fs worked for my use-case