[oe] genext2fs: patch for fixing inode based symlink string length limit

Alexander Stohr Alexander.Stohr at gmx.de
Wed Jul 20 13:26:36 UTC 2011


below patch fixes a problem with symlinks where the target string had exactly 59 chars and the needed terminating null character.

(where the problem hits: when a fs with such entries gets checked by e2fsck
then those tool detects it as a problem and offers to delete that symlink.
if running an automated fixing cycle it would kill me all those symlinks.)

regards, Alex.

PS: in a test bed with a generated image file i am further seeing a note from e2fsck about a fs with revision zero but feature flags are set.
thats reported as a fs problem and a fix is suggested by a y/n query.


-- 
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!		
Jetzt informieren: http://www.gmx.net/de/go/freephone
-------------- next part --------------
A non-text attachment was scrubbed...
Name: genext2fs.c-fix-symlink-len.diff
Type: text/x-patch
Size: 1173 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20110720/84eb348c/attachment-0002.bin>


More information about the Openembedded-devel mailing list