You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both mkfs.btrfs and mkfs.ext4 support an option to specify a directory to bootstrap the generated filesystem from. This allows creating ext4 or btrfs filesystems in a file without needing root privileges since the filesystem doesn't need to be mounted to populate it. It would be great if mkfs.fat would also support such an option so that we can populate fat partitions without needing root privileges.
Activity
pali commentedon Oct 10, 2022
Yes, that sounds like a nice feature. Patches for it are welcome.
Meanwhile you can use
mcopybinary frommtoolsproject to add new files into the FAT filesystem image without need of root privileges.mkfs-util: Add support to populate vfat without mounting using mcopy
mkfs-util: Add support to populate vfat without mounting using mcopy
mkfs-util: Add support to populate vfat without mounting using mcopy
mkfs-util: Add support to populate vfat without mounting using mcopy
mkfs-util: Add support to populate vfat without mounting using mcopy
mkfs-util: Add support to populate vfat without mounting using mcopy
mkfs-util: Add support to populate vfat without mounting using mcopy
mkfs-util: Add support to populate vfat without mounting using mcopy
mkfs-util: Add support to populate vfat without mounting using mcopy
mkfs-util: Add support to populate vfat without mounting using mcopy
mkfs-util: Add support to populate vfat without mounting using mcopy
mkfs-util: Add support to populate vfat without mounting using mcopy
mkfs-util: Add support to populate vfat without mounting using mcopy
mkfs-util: Add support to populate vfat without mounting using mcopy
mkfs-util: Add support to populate vfat without mounting using mcopy
mkfs-util: Add support to populate vfat without mounting using mcopy
mkfs-util: Add support to populate vfat without mounting using mcopy
mkfs-util: Add support to populate vfat without mounting using mcopy
mkfs-util: Add support to populate vfat without mounting using mcopy
mkfs-util: Add support to populate vfat without mounting using mcopy
mkfs-util: Add support to populate vfat without mounting using mcopy
mkfs-util: Add support to populate vfat without mounting using mcopy
mkfs-util: Add support to populate vfat without mounting using mcopy