mount_msdos incorrect/wrong/not working?

David Ross drossNOSPAM at code-exec.net
Sat Nov 27 14:01:43 PST 2004


Okay, heres a strange question. Why won't mount_msdos work off any USB drives?

the second drive is sysid 12, another 20G i have is sysid 11. Both work 
perfectly fine on windows and linux. Why not bsd? I don't know. Please 
enlighten me so I can tell my linux friend to stop larting me about how bsd 
is broken. The first example was created by newfs_msdos /dev/da0, formatted 
wrong but works in any system :). Its not my hardware, its BSD. I only use 
BSD, and I need this drive to work ASAP, all of them.

-mew

Flash Pen drive 128M - works but formatted WRONG
dfbsd0# fdisk /dev/da0
******* Working on device /dev/da0 *******
parameters extracted from in-core disklabel are:
cylinders=123 heads=64 sectors/track=32 (2048 blks/cyl)
parameters to be used for BIOS calculations are:
cylinders=123 heads=64 sectors/track=32 (2048 blks/cyl)
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
<UNUSED>
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
20G drive which was formatted on Linux, works on windows TOO!
Can
dfbsd0# fdisk /dev/da0
******* Working on device /dev/da0 *******
parameters extracted from in-core disklabel are:
cylinders=19077 heads=64 sectors/track=32 (2048 blks/cyl)
Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=19077 heads=64 sectors/track=32 (2048 blks/cyl)
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 12,(DOS or Windows 95 with 32 bit FAT, LBA)
    start 32, size 39069664 (19076 Meg), flag 0
        beg: cyl 0/ head 1/ sector 1;
        end: cyl 1023/ head 63/ sector 32
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>




More information about the Kernel mailing list