[MIPS] ntfs partition label is not displayed

2008-10-10
2012-11-28
  • Wael MAAOUI
    Wael MAAOUI
    2008-10-10

    when e2fsprogs 1.41.1 is configured  with "mips"
    ./configure CC=mips-linux-gcc --host=mips-linux-  
    the compiled , the label of a ntfs partition is not dispalyed
    then
    the enhacement consists in  modifying the file  : e2fsprogs/pakage/src/lib/blkid/probe.c

    by remplacing the line : 678: 

    attr_len = blkid_le16(attr->len);
       by
    attr_len = blkid_le32(attr->len);

    because it's  declared  in
    e2fsprogs/pakage/src/lib/blkid/probe.h (line 480 ) :   __u32   len;