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