On 04/04/2018 05:55 PM, jens thys wrote:
Hi Bruce,
Thanks for the quick reply. We are almost of the time working on devel LFS/BLFS version

Here are the elements:
e2fsprogs version 1.44.0

cat /usr/include/ext2fs/ext2_ext_attr.h | grep _u32
     __u32    h_magic;    /* magic number for identification */
     __u32    h_refcount;    /* reference count */
     __u32    h_blocks;    /* number of disk blocks used */
     __u32    h_hash;        /* hash value of all attributes */
     __u32    h_checksum;    /* crc32c(uuid+id+xattrs) */
     __u32    h_reserved[3];    /* zero right now */
     __u32    e_value_inum;    /* inode in which the value is stored */
     __u32    e_value_size;    /* size of attribute value */
     __u32    e_hash;        /* hash value of name and value */

  cat /usr/include/ext2fs/ext2_ext_attr.h | grep e_value
     __u16    e_value_offs;    /* offset in disk block of value */
     __u32    e_value_inum;    /* inode in which the value is stored */
     __u32    e_value_size;    /* size of attribute value */

i don' t have the file you mentioned __32 e-value_block.
Something wrong with my e2fsprogs version? Should i upgrade to the
1.44.1 version which came in the change log the 23/03/2018 or is it wiser to stay on the stable lfs 1.43.9 ?

Please do not top post.

I do not know why you are having the problem.

struct ext2_ext_attr_entry {
   __u8  e_name_len; /* length of name */
   __u8  e_name_index;  /* attribute name index */
   __u16 e_value_offs;  /* offset in disk block of value */
   __u32 e_value_block; /* disk block attribute is stored on (n/i) */
   __u32 e_value_size;  /* size of attribute value */
   __u32 e_hash;     /* hash value of name and value */
#if 0
   char  e_name[0];  /* attribute name */
#endif
};

That is from EXT2FS Library version 1.43.8, 1-Jan-2018

  -- Bruce

--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to