#635 LOW Trial-2: OFW should spit out errors if partition type doesn't match filesystem type

Zarro Boogs per Child bugtracker at laptop.org
Tue Jul 24 15:04:34 EDT 2007


#635: OFW should spit out errors if partition type doesn't match filesystem type
----------------------------------+-----------------------------------------
  Reporter:  dilinger             |       Owner:  wmb at firmworks.com
      Type:  enhancement          |      Status:  closed           
  Priority:  low                  |   Milestone:  Trial-2          
 Component:  ofw - open firmware  |     Version:                   
Resolution:  fixed                |    Keywords:                   
  Verified:  0                    |  
----------------------------------+-----------------------------------------
Changes (by wmb at firmworks.com):

  * status:  assigned => closed
  * resolution:  => fixed

Comment:

 Fixed by svn 493.  The code now uses whatever filesystem is actually
 present in the partition, based on looking at the super block or BPB or
 whatever.  It issues a warning if the filesystem is ext2/3 but the
 partition type is not 0x83, or if the partition type is 0x83 but the
 filesystem is FAT.

 It blindly believes the partition type for "minix", because recognizing a
 Minix filesystem is a little tricky due to an intermediate second-level
 partition map embedded within the Minix partition.

 I also config-ed out support for UFS filesystems, since they are never
 seen on
 the types of removable media that OLPC uses.

-- 
Ticket URL: <http://dev.laptop.org/ticket/635#comment:5>
One Laptop Per Child <http://laptop.org/>



More information about the Bugs mailing list