bugGNU GRUB - Bugs: bug #17321, PATCH: Support for MINIX v2...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #17321: PATCH: Support for MINIX v2 filesystem

Submitter:  Yann Droneaud <meuh>
Submitted:  Fri 04 Aug 2006 04:53:57 PM UTC
   
 
Category:  Filesystem Severity:  Major
Priority:  5 - Normal Item Group:  Feature Request
Status:  None Privacy:  Public
Assigned to:  None Originator Name:  Yann Droneaud
Open/Closed:  Closed Release:  None
Release:  0.97 Reproducibility:  None
Planned Release:  None

Sat 15 Dec 2007 09:19:24 PM UTC, comment #3: 

We've moved to GRUB 2 as a development platform. Please can you check if this bug still applies there, and if it does, reopen it?

Thanks

Robert Millan <robertmh>
Group administrator
Wed 04 Jul 2007 07:11:34 PM UTC, comment #2: 

Another version of the patch:

 - Optimized MINIX v2 support: less inode lookup in minix_block_map(),
 - Using only unsigned variables (block, inodes) to match on disk format,
 - More check on consistency,
 - Support for sparse file (file with holes).
   Thanks to mfstool for creating such file by default !


(file #13244)

Yann Droneaud <meuh>
Fri 01 Sep 2006 12:44:04 PM UTC, comment #1: 

New version of the patch.

Improved file read on MINIX 2 filesystem:
  Added the cache on fs meta data (inode, direntry, map) removed during Minix v1 to Minix v2 conversion.
 
This cache is handled in minix_rdfsb() function.
minix_rdfsb() return now a pointer to the block cache buffer allocated for the block.

Calling function must specify which cache zone to use between :

    BLOCK_CACHE_SUPERBLOCK
    BLOCK_CACHE_INODE
    BLOCK_CACHE_DIR
    BLOCK_CACHE_MAP0
    BLOCK_CACHE_MAP1
    BLOCK_CACHE_MAP2

For each zone, only one block is allocated in FSYS_BUF (dealing the cache locality, priority is simpler: no need to define a cache strategy).
Each level of indirection is stored in it's own cache zone. The final map table is always store in zone MAP0.




Yann Droneaud <meuh>
Fri 04 Aug 2006 04:53:57 PM UTC, original submission:  

GRUB 0.97 supports only MINIX v1 filesystem.
This patch adds a MINIX v2 support.

It's a copy of the MINIX v1 source code, modified to be a new filesystem module for MINIX v2 (called minix2).

TODO: merge MINIX v1 and MINIX v2 support as a single module


Yann Droneaud <meuh>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #13244:  patch-grub-0.97-minix2-hardened.diff added by meuh (30KiB - text/x-patch - Improved MINIX v2 support)
file #10661:  patch-grub-0.97-minix2-cache.diff added by meuh (27KiB - text/x-patch - Add MINIX v2 filesystem module (with meta data cache))
file #10461:  patch-grub-0.97-minix2.diff added by meuh (23KiB - text/x-patch - Add MINIX v2 filesystem module)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by robertmh (Posted a comment)
  • -email is unavailable- added by meuh (Updated the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-12-15 robertmh Open/ClosedOpen Closed
    2007-07-04 meuh Attached File- Added patch-grub-0.97-minix2-hardened.diff, #13244
    2006-09-01 meuh Attached File- Added patch-grub-0.97-minix2-cache.diff, #10661
    2006-08-04 meuh Carbon-Copy- Added -email is unavailable-
    2006-08-04 meuh Attached File- Added patch-grub-0.97-minix2.diff, #10461

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code