ufs-discuss@opensolaris.org
[Top] [All Lists]

Re: [ufs-discuss] pcfs: fat32 fsinfo signature mismatch - FAT32 filesyst

Subject: Re: [ufs-discuss] pcfs: fat32 fsinfo signature mismatch - FAT32 filesystems without fsinfo?
From: Juergen Keil
Date: Tue, 20 Feb 2007 19:16:04 +0100 CET

> On Tue, 20 Feb 2007, Frank Hofmann wrote:
> 
> > On Tue, 20 Feb 2007, Jürgen Keil wrote:
> >
> >> A user on the solarisx86 mailing list complained about a FAT32 filesystem
> >> that is unmountable on Solaris:
> >>
> >>    http://tech.groups.yahoo.com/group/solarisx86/message/41316
> >>    http://tech.groups.yahoo.com/group/solarisx86/message/41337
> 
> Btw, regarding the messages on the group, yes I'd really like to see my 
> usual "first MB of ...p0 and ...p1".
> 
> The fstyp oddities to me seem that fstyp_pcfs isn't properly "FAT32-aware" 
> (as much of PCFS). It's normal to have rootdir entries == 0 for FAT32, and 
> since FAT32 uses a different offsets for some of the structural entries 
> (fat size, volume size / label) it seems fstyp reports the wrong things 
> there as well. But just to make sure ...


I've attached the complete bzip2 compressed 2GB FAT32 HDD image (empty FAT32
filesystem), created by Seagate's "DiscWizard".

  (Not bad, 2GB compressed to 3382 bytes :-)


% ls -l diskwizard_fat32_raw.img.bz2
-rw-r--r--   1 jk       usr         3382 Feb 20 19:05 
diskwizard_fat32_raw.img.bz2

% gmd5sum diskwizard_fat32_raw.img.bz2
d15f5484cf7726d5d7b95dfa8d24d4e6  diskwizard_fat32_raw.img.bz2
% gmd5sum diskwizard_fat32_raw.img
564e5d83b8ffcfc0b65c655ca7aed6d4  diskwizard_fat32_raw.img

# lofiadm -a `pwd`/diskwizard_fat32_raw.img /dev/lofi/99

# fdisk -RW - /dev/rlofi/99

* /dev/rlofi/99 default fdisk table
* Dimensions:
*    512 bytes/sector
*    600 sectors/track
*      1 tracks/cylinder
*   6990 cylinders
*
...
* Id    Act  Bhead  Bsect  Bcyl    Ehead  Esect  Ecyl    Rsect    Numsect
  11    128  1      1      0       127    63     519     63       4193217 

# mount -F pcfs /dev/lofi/99:c /mnt
mount: /dev/lofi/99:c is not a DOS filesystem.

dmesg:

Feb 20 19:10:03 tiger2 pcfs: [ID 304168 kern.info] NOTICE: pcfs: fat32 fsinfo 
signature mismatch.
Feb 20 19:10:03 tiger2 pcfs: [ID 132729 kern.info] NOTICE: pcfs: illegal disk 
format
_______________________________________________
ufs-discuss mailing list
ufs-discuss@xxxxxxxxxxxxxxx
<Prev in Thread] Current Thread [Next in Thread>
  • Re: [ufs-discuss] pcfs: fat32 fsinfo signature mismatch - FAT32 filesystems without fsinfo?, Juergen Keil <=