The default uClibc install doesn’t have hdc devices. You can’t make an ext3 filesystem or use fdisk either, for that matter. The first task is to create the hdc devices using mknod:
mknod hdc b 22 0 mknod hdc1 b 22 1 mknod hdc2 b 22 2 mknod hdc3 b 22 3 |
Not too painful. To create an ext2 filesystem, you will need e2fsprogs and fdisk from util-linux. We put the source up:
e2fsprogs-1.27.tar.gz
util-linux-2.11z.tar.gz
Up to you how much of util-linux you use. We just need fdisk, so we didn’t run make install. In fact, there are some duplicates with busybox, so you might do some damage if you aren’t careful.