[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

mkdosfs -C ...



Hi,

mkdosfs fails in this case.

=============
root@dalton:/media/9D7C-BB83# fdisk -l /dev/sdb

Disk /dev/sdb: 257 MB, 257425408 bytes
6 heads, 26 sectors/track, 3222 cylinders
Units = cylinders of 156 * 512 = 79872 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x8878a0ad

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1              14        3223      250368    6  FAT16
root@dalton:/media/9D7C-BB83# mount | grep sdb
/dev/sdb1 on /media/9D7C-BB83 type vfat (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush)
root@dalton:/media/9D7C-BB83# mkdosfs -v -C /media/9D7C-BB83/FatFile  25
mkdosfs 3.0.9 (31 Jan 2010)
mkdosfs: unable to create /media/9D7C-BB83/FatFile
=============

In attempt understand the ouput from fdisk,
257425408/250368 = 1028 suggests that the block size is 1024 or 1028.
fdisk has no mention of such number but tells "Sector size ... 512 bytes". 

What is the block size here?
Why did mkdosfs fail?

Thanks for any enlightenment or ideas,           ... Peter E.


-- 
123456789 123456789 123456789 123456789 123456789 123456789 123456789 12
Tel +13606390202  Bcc: peasthope at shaw.ca  http://carnot.yi.org/  
"http://members.shaw.ca/peasthope/index.html#Itinerary "


Reply to: