1debugfs edit extended attributes 2mke2fs -Fq -b 1024 test.img 512 3Exit status is 0 4ea_set / user.joe smith 5Exit status is 0 6ea_set / user.moo FEE_FIE_FOE_FUMMMMMM 7Exit status is 0 8ea_list / 9Extended attributes: 10 user.joe = "smith" (5) 11 user.moo = "FEE_FIE_FOE_FUMMMMMM" (20) 12Exit status is 0 13ea_get / user.moo 14FEE_FIE_FOE_FUMMMMMM 15Exit status is 0 16ea_get / nosuchea 17ea_get: Extended attribute key not found while getting extended attribute 18Exit status is 0 19ea_rm / user.moo 20Exit status is 0 21ea_rm / nosuchea 22Exit status is 0 23ea_list / 24Extended attributes: 25 user.joe = "smith" (5) 26Exit status is 0 27ea_get / user.moo 28ea_get: Extended attribute key not found while getting extended attribute 29Exit status is 0 30ea_rm / user.joe 31Exit status is 0 32ea_list / 33Exit status is 0 34ea_set -f d_xattr_edits.tmp / user.file_based_xattr 35Exit status is 0 36ea_list / 37Extended attributes: 38 user.file_based_xattr = "12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567\012" (108) 39Exit status is 0 40ea_get -f d_xattr_edits.ver.tmp / user.file_based_xattr 41Exit status is 0 42Compare big attribute 43e2fsck -yf -N test_filesys 44Pass 1: Checking inodes, blocks, and sizes 45Pass 2: Checking directory structure 46Pass 3: Checking directory connectivity 47Pass 4: Checking reference counts 48Pass 5: Checking group summary information 49test_filesys: 11/64 files (0.0% non-contiguous), 29/512 blocks 50Exit status is 0 51