[BusyBox] Add mkdosfs tool (mkfs.msdos) [PATCH]
Jason Schoon
floydpink at gmail.com
Tue Jul 19 14:13:00 UTC 2005
I can look into it. To be honest, I didn't make many changes to the
mkdosfs code. I simply ported it into busybox and made some size
reductions where necessary.
I ended up with an applet that added about 6KB or so to my busybox on
my PPC 8245 target. I have 32 MB of RAM on my platform, and I only
need to format a 512 MB or less compact flash card, so it was
sufficient for my needs.
On 7/19/05, Steven Scholz <steven.scholz at imc-berlin.de> wrote:
> Hi Jason,
>
> > I recently needed to be able to format fat32 volumes on my embedded
> > system. I have attached a patch that adds this support to busybox.
> > It is based on the mkdosfs application from the dosfstools package.
> > It is installed as mkfs.msdos.
>
> Can you tell us something about memory usage of your applet please.
>
> The original mkdosfs allocates the _whole_ (!!!) FAT before writing it to disk.
> Although it is mainly all set to zero.
> This means you can _not_ format large disks (some gigabytes) on an embedded
> system with only e few megabyte RAM ...
>
> --
> Steven
>
>
>
>
> _______________________________________________
> busybox mailing list
> busybox at mail.busybox.net
> http://busybox.net/mailman/listinfo/busybox
>
>
>
More information about the busybox
mailing list