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

Submitted by:  Yann Droneaud <meuh>
Submitted on:  Fri 04 Aug 2006 04:53:57 PM UTC  
 
Category: FilesystemSeverity: Major
Priority: 5 - NormalItem Group: Feature Request
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: Yann Droneaud
Open/Closed: ClosedRelease: 0.97
Release: NoneReproducibility: 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>
Project 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>

 

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
  • -unavailable- added by robertmh (Posted a comment)
  • -unavailable- added by meuh (Updated the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 15 Dec 2007 09:19:24 PM UTCrobertmhOpen/ClosedOpen=>Closed
    Wed 04 Jul 2007 07:11:34 PM UTCmeuhAttached File-=>Added patch-grub-0.97-minix2-hardened.diff, #13244
    Fri 01 Sep 2006 12:44:05 PM UTCmeuhAttached File-=>Added patch-grub-0.97-minix2-cache.diff, #10661
    Fri 04 Aug 2006 04:55:03 PM UTCmeuhCarbon-Copy-=>Added -unavailable-
    Fri 04 Aug 2006 04:53:57 PM UTCmeuhAttached File-=>Added patch-grub-0.97-minix2.diff, #10461

    Back to the top


    Powered by Savane 3.1-cleanup1