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