On Fri, 18 Feb 2005, tong changda wrote:

> Hi,
>     Build Mass-storage based on pxa271, Now I want to format DOC as fat32 
> filesystem.

What is DOC?

>  First I run fdisk on Mobile on /dev/tffsa ,

What is Mobile?

>  add a new partition, 
> change filesystem type as 0xb(fat32) then write, Now I could mount vfat on 
> mobile

How could you mount a vfat filesystem without creating one (mkdosfs) 
first?

>  and read/write file on it, but connect with windows , No disk drive 
> appear. The only way to appear a disk driver is first mkdosfs -F 32 
> /dev/tffsa, then fdisk it.

No.  If you use fdisk, it must be done before using mkdosfs.

> But choose the disk driver indicate that it need 
> to be format,

That's because you ran fdisk _after_ mkdosfs instead of _before_.

>  But format result in "Disk is write-protect".
>     What is the requirement of the dos image to work as mass-storage media? 

The requirement is that the media not be write-protected.

> What is the correct way to format it? Do I need mkdosfs?

Yes.  Use fdisk to create one partition, then use mkdosfs to format that 
partition.

Alan Stern



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to