Two questions related with FAT filesystem and block device layer.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Two questions related with FAT filesystem and block device layer.

Zhonglin Zhang

Hi,

 I have the following questions. Please help me.

 Software Environment:
    1. kernel - linux-2.4.19 + intel_bsp patched.
    2. DiskOnChip -- 64Mbytes.
 
 We have made the DiskOnChip as a u-disk.

 Q1.
    When I use "mkdosfs /dev/tffsa1", WIN2000 And WINXP can
    read/write the /dev/tffsa1.
    When I use "mkdosfs -S 4096 /dev/tffsa1", WIN2000
    can read/write the /dev/tffsa1, But Winxp can't.

    Why? W can I make the winxp can read/write the /dev/sda1.

 Q2.
    When using "mkdosfs /dev/tffsa1", Our VideoRecord isn't fluent.

    When using "mkdosfs -S 4096 /dev/tffsa1", Our VideoRecord is fluent.
    I wonder how the sector size affect the Video Record.


 Our ultimate goal is 'Video Record is fluent and Win2000/Winxp can
 read/write the /dev/tffsa1 as a u-disk.
 
 Could you anyone give me some good advice?

 Thanks in advance!


 
   

     

--
Zhonglin Zhang <[hidden email]>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [hidden email]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Reply | Threaded
Open this post in threaded view
|

Re: Two questions related with FAT filesystem and block device layer.

OGAWA Hirofumi
Zhonglin Zhang <[hidden email]> writes:

>  Q1.
>     When I use "mkdosfs /dev/tffsa1", WIN2000 And WINXP can
>     read/write the /dev/tffsa1.
>     When I use "mkdosfs -S 4096 /dev/tffsa1", WIN2000
>     can read/write the /dev/tffsa1, But Winxp can't.
>
>     Why? W can I make the winxp can read/write the /dev/sda1.

I don't know.

>  Q2.
>     When using "mkdosfs /dev/tffsa1", Our VideoRecord isn't fluent.
>
>     When using "mkdosfs -S 4096 /dev/tffsa1", Our VideoRecord is fluent.
>     I wonder how the sector size affect the Video Record.

I guess the cluster size was increased by "-S 4096", so the number of
times of block allocation became fewer.

>  Our ultimate goal is 'Video Record is fluent and Win2000/Winxp can
>  read/write the /dev/tffsa1 as a u-disk.

How about testing the "mkdosfs -s 64 /dev/foo"?
--
OGAWA Hirofumi <[hidden email]>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [hidden email]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/