fdisk -lu /dev/loop0 : 1048 MB, 1048576000 bytes 123 heads, 59 sectors/track, 282 cylinders, total 2048000 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x7b9351bf Device Boot Start End Blocks Id System /dev/loop 0 p1 * 2048 2047999 1022976 b W95 FAT32
The problem is caused by the command below
/dev/loop0 is the whole disk, and /dev/loop0p1 is the partition.
The command make a file system on the disk, thus overrides the disk’s partition table.
I guess that it is the partition on which you want to make a filesystem. The right command is
mkfs -t ext2 /dev/loop0p1
We prefer ext2,3,4 to fat32 on linux.
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxxhttp://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
|
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies