On Tue, 18 Jan 2005 [EMAIL PROTECTED] wrote: > Hello, > > I have a problem when I want to format a mtd partition for usb file storage > device. > > Command> mkdosfs /dev/mtdblock/5 > I got this error : mkdosfs: unable to get drive geometry for '/dev/mtdblock/5' > > The page size of this mtd device is 1056 bytes. The partition size is 1056 * > 1024 = 0x108000 bytes > > I would like to create a fat file system in mtd device in order to use this > partition for the usb mass storage device.
I don't know what mtd is. But if you know the device size then you can use the -C option and the block-count argument to mkdosfs. If necessary you can create the filesystem in a regular file first, then copy the file to the device. Alan Stern ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
