Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

[blkid] bad NTFS label on MIPS

Mokhtar
2009-01-08
2012-11-28
  • Mokhtar
    Mokhtar
    2009-01-08

    ned to correct file lib/blkid/probe.c

    line 684 : attr_len = blkid_le16(attr->len); ==>
    attr_len = blkid_le32(attr->len);

    because attr->len is declared as _u32 in probe.h
    struct file_attribute {
        __u32    type;
        __u32    len;
        __u8    non_resident;
        __u8    name_len;
        __u16    name_offset;
        __u16    flags;
        __u16    instance;
        __u32    value_len;
        __u16    value_offset;
    } __attribute__((__packed__));

     
    • raouf riahi
      raouf riahi
      2009-04-29

      label of file system  NTFS is unknown in the MIPS architecture ==> reproduce the bug is in the e2fsprogs-1.41.5