grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Reiserfs v3 support for grub 2 (alpha version)


From: Vincent Pelletier
Subject: Reiserfs v3 support for grub 2 (alpha version)
Date: Sun, 1 Oct 2006 16:18:23 +0200
User-agent: KMail/1.9.4

Here is attached the latest working version of reiserfs handling.

What it does :
- Recognises the partition type
- Read the partition label (needs confirmation of the label position)
- List directory content (see limitations)
- Read file content (see limitations)

Limitations :
- Item (file & dir) size limited to one indirection block. Readable size is a 
bit less than number_of_contiguous_indirect_pointers * block_size, which 
means at most 16MB on a 8192 bytes/block reiserfs, 4MB on a 4096 bytes/block, 
etc.
- No symlink support : although the symlinks can be read, they are read as a 
text file containing a path, nothing more.
- No journal playback
- Alpha version : will potentially leak memory, be slow, not suitable for your 
needs, not tested with all kinds of reiserfs options & versions... Play 
with^W^WUse it at your own risks - risks which should be limited to wasting 
time because no write is ever done to the partition, of course. 

Ah, and it's not always 80-columns wordwrapped, other than that the coding 
style should be respected. This will be fixed in the final version.

-- 
Vincent Pelletier

Attachment: reiserfs.c
Description: Text Data

Attachment: pgpNsDDwiLG82.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]