1 debugfs sort extended attributes 2 mke2fs -Fq -b 1024 test.img 512 3 Exit status is 0 4 ea_set -f /tmp/b / security.SMEG64 5 Exit status is 0 6 ea_set -f /tmp/b / security.imb 7 Exit status is 0 8 ea_set / user.moo cow 9 Exit status is 0 10 ea_list / 11 Extended attributes: 12 user.moo = "cow" (3) 13 security.imb = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" (256) 14 security.SMEG64 = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" (256) 15 Exit status is 0 16 ea_get / security.imb 17 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 18 Exit status is 0 19 ea_get / nosuchea 20 ea_get: Extended attribute key not found while getting extended attribute 21 Exit status is 0 22 e2fsck -yf -N test_filesys 23 Pass 1: Checking inodes, blocks, and sizes 24 Pass 2: Checking directory structure 25 Pass 3: Checking directory connectivity 26 Pass 4: Checking reference counts 27 Pass 5: Checking group summary information 28 test_filesys: 11/64 files (0.0% non-contiguous), 29/512 blocks 29 Exit status is 0 30