Skip to main content
Avoid useless obscure shell tricks.
Source Link
Stephen Kitt
  • 481.4k
  • 60
  • 1.2k
  • 1.4k
% echo Hello >|> smallfile
% ls -l
total 1
-rw-r--r-- 1 steve steve 6 Apr 22 07:35 smallfile
% df -i /mnt/new
Filesystem                           Inodes IUsed IFree IUse% Mounted on
/dev/mapper/vg--large--mirror-inline  65536    13 65523    1% /mnt/new
% df /mnt/new
Filesystem                           1K-blocks  Used Available Use% Mounted on
/dev/mapper/vg--large--mirror-inline   1032088  1280    978380   1% /mnt/new
% echo Hello >| smallfile
% ls -l
total 1
-rw-r--r-- 1 steve steve 6 Apr 22 07:35 smallfile
% df -i /mnt/new
Filesystem                           Inodes IUsed IFree IUse% Mounted on
/dev/mapper/vg--large--mirror-inline  65536    13 65523    1% /mnt/new
% df /mnt/new
Filesystem                           1K-blocks  Used Available Use% Mounted on
/dev/mapper/vg--large--mirror-inline   1032088  1280    978380   1% /mnt/new
% echo Hello > smallfile
% ls -l
total 1
-rw-r--r-- 1 steve steve 6 Apr 22 07:35 smallfile
% df -i /mnt/new
Filesystem                           Inodes IUsed IFree IUse% Mounted on
/dev/mapper/vg--large--mirror-inline  65536    13 65523    1% /mnt/new
% df /mnt/new
Filesystem                           1K-blocks  Used Available Use% Mounted on
/dev/mapper/vg--large--mirror-inline   1032088  1280    978380   1% /mnt/new
spelling, make link HTTPS
Source Link
Matthias Braun
  • 8.8k
  • 8
  • 51
  • 63

To enable inline data in ext4ext4, you'll need to use e2fsprogs 1.43 or later. Support for inline data was added in March 2014 to the git repositorythe Git repository but was only released in May 2016.

To enable inline data in ext4, you'll need to e2fsprogs 1.43 or later. Support for inline data was added in March 2014 to the git repository but was only released in May 2016.

To enable inline data in ext4, you'll need to use e2fsprogs 1.43 or later. Support for inline data was added in March 2014 to the Git repository but was only released in May 2016.

e2fsprogs 1.43 was released a while ago with inline_data support.
Source Link
Stephen Kitt
  • 481.4k
  • 60
  • 1.2k
  • 1.4k

To enable inline data in ext4, you'll need to use the "WIP" version of e2fsprogs (clone the git repository)1.43 or later. Support for inline data was added in March 2014 and hasn't beento the git repository but was only released yetin May 2016.

Now create a small file, and run debugfs (from the newly-built e2fsprogs) on the filesystem. cd to the appropriate directory, and run stat smallfile; you'll get something like

To enable inline data in ext4, you'll need to use the "WIP" version of e2fsprogs (clone the git repository). Support for inline data was added in March 2014 and hasn't been released yet.

Now create a small file, and run debugfs (from the newly-built e2fsprogs) on the filesystem. cd to the appropriate directory, and run stat smallfile; you'll get something like

To enable inline data in ext4, you'll need to e2fsprogs 1.43 or later. Support for inline data was added in March 2014 to the git repository but was only released in May 2016.

Now create a small file, and run debugfs on the filesystem. cd to the appropriate directory, and run stat smallfile; you'll get something like

Source Link
Stephen Kitt
  • 481.4k
  • 60
  • 1.2k
  • 1.4k
Loading