• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1resize2fs test
2debugfs -R ''stat file'' test.img 2>&1 | grep ''^Inode\|in inode body\|name = ''
3Inode: 1550   Type: regular    Mode:  0644   Flags: 0x0
4  user.name = "propervalue" (11)
5Exit status is 0
6resize2fs test.img 5M
7Resizing the filesystem on test.img to 5120 (1k) blocks.
8The filesystem on test.img is now 5120 (1k) blocks long.
9
10Exit status is 0
11debugfs -R ''stat file'' test.img 2>&1 | grep ''^Inode\|in inode body\|name = ''
12Inode: 12   Type: regular    Mode:  0644   Flags: 0x0
13  user.name = "propervalue" (11)
14Exit status is 0
15