Guillaume Cottenceau wrote:
 
> Guillaume Cottenceau <[EMAIL PROTECTED]> writes:
 
> > Felix Miata <[EMAIL PROTECTED]> writes:

> > > Guillaume Cottenceau wrote:

> > > > Felix Miata <[EMAIL PROTECTED]> writes:

> > > > > Since when does FAT32 apply to floppy disks? report.bug.gz still shows
> > > > > up as REPORT~1.GZ on a FAT floppy.

> > > > Urban legends :).

> > > Directory of A:\

> > > REPORT~1 GZ     55073  12-08-02   8:44p
> > >         1 file(s)      55073 bytes used
> > >                      1356288 bytes free

> > [gc@obiwan /mnt] mount floppy
> > [gc@obiwan /mnt] ls floppy
> > boot.msg help.msg ldlinux.sys network.rdz report.bug.gz syslinux.cfg vmlinuz
 
> Forgot:
 
> [gc@obiwan /mnt] grep floppy /proc/mounts
> /dev/fd0 /mnt/floppy vfat rw,nosuid,nodev,noexec 0 0

> To prove it's FAT32 filesystem.

That is a circular proof, proving nothing except how you have mounted
/dev/fd0 and what files are listed as contained thereon.

Minimum space occupied by a file on a FAT32 filesystem is by convention
4096 bytes, 8 sectors.  A FAT32 filesystem is designated by type 0Bh or
0C. By a reading of http://www.microsoft.com/hwdev/hardware/fatgen.asp
beginning on page 13 you can see that the FAT type is determined by the
number of clusters, and that only if the cluster count is not less than
65525 can the volume be FAT32. A FAT formatted 3.5" floppy has 2847
sectors.

Directory of A:\

REPORT~1 GZ     55073  12-08-02   8:44p
SDA               512   2-11-03   9:19a
        2 file(s)      55585 bytes used
                     1355776 bytes free

Directory of A:\

REPORT~1 GZ     55073  12-08-02   8:44p
        1 file(s)      55073 bytes used
                     1356288 bytes free

The type of file system for the disk is FAT.
The volume label is Ar.
The Volume Serial Number is 0F38-100A.

  1457664 bytes total disk space.
    55296 bytes in 1 user files.
    46080 bytes in bad sectors.
  1356288 bytes available on disk.

      512 bytes in each allocation unit.
     2847 total allocation units.
     2649 available allocation units on disk.

As you can see above, the 512 byte file occupied 512 on disk, not 4096,
so it should not be a valid FAT32 filesystem.

VFAT means virtual FAT. Without an OS that knows how to virtualize, a
FAT floppy is only FAT, not VFAT.
-- 
"Democracy is two wolves and a lamb voting on what to have
for lunch. Liberty is a well-armed lamb contesting the vote."
                                                Benjamin Franklin

 Team OS/2 ** Reg. Linux User #211409

Felix Miata  ***  http://members.ij.net/mrmazda/partitioningindex.html


Reply via email to