Advertisement
Guest User

ZXQ Kagetora mke2fs.conf

a guest
Mar 23rd, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [defaults]
  2. fs_type = ext4
  3. base_features = filetype,large_file,sparse_super
  4. default_features = ^quota
  5. default_mntopts = ^acl,^bsdgroups,^debug,^user_xattr
  6.  
  7. blocksize = 4096      ; bytes per block
  8. inode_size = 256      ; bytes per inode
  9. inode_ratio = 65536   ; divide filesystem size by this to get inode count
  10. reserved_ratio = 0.0  ; percentage of space to keep exclusively for root
  11.  
  12. enable_periodic_fsck = 0  ; disable automatic filesystem checks by default
  13. errors = remount-ro       ; access filesystem in read-only mode on error
  14.  
  15. hash_alg = tea
  16. make_hugefiles = false
  17. packed_meta_blocks = false
  18.  
  19. force_undo = false
  20. undo_dir = none
  21.  
  22.  
  23.  
  24.  
  25. [fs_types]
  26.  
  27. # // Use the options specified above. \\
  28. default = {
  29.   errors = remount-ro
  30. }
  31.  
  32.  
  33. # --- Ext3 filesystems are primarily defined by their journal. ---
  34. # ---  ---
  35. ext3 = {
  36.   features = dir_index,has_journal
  37.   default_features = ^resize_inode
  38. }
  39.  
  40. # --- In ext4, contiguous extents replaced the block allocation tree. ---
  41. # ---  ---
  42. ext4 = {
  43.   features = dir_index,has_journal,extent
  44.   default_features = ^64bit,^dir_nlink,^encrypt,^extra_isize,^flex_bg,^huge_file,^meta_bg,^metadata_csum,^mmp,^project,^uninit_bg
  45. }
  46.  
  47.  
  48. # (*)  Filesystem Size : [0, 3] MiB  (*)
  49. floppy = {
  50.   features = ^64bit,^dir_index,^has_journal,^metadata_csum,^mmp
  51.  
  52.   blocksize = 1024
  53.   inode_size = 128
  54.   inode_ratio = 16384
  55. }
  56.  
  57.  
  58. # (*)  Filesystem Size : [3, 512] MiB  (*)
  59. small = {
  60.   features = ^64bit,^dir_index,^has_journal,^metadata_csum
  61.  
  62.   blocksize = 1024
  63.   inode_size = 256
  64.   inode_ratio = 32768
  65. }
  66.  
  67.  
  68. # (*)  Filesystem Size : [4, 16] TiB  (*)
  69. big = {
  70.   features = 64bit
  71.  
  72.   blocksize = 4096
  73.   inode_size = 512
  74.   inode_ratio = 262144
  75. }
  76.  
  77.  
  78. # (*)  Filesystem Size : 16+ TiB  (*)
  79. huge = {
  80.   features = 64bit,huge_file
  81.  
  82.   blocksize = 4096
  83.   inode_size = 1024
  84.   inode_ratio = 524288
  85. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement