Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. $ cat /etc/fstab | grep -i new
  2. /root/myfile /newfs ext4 loop,usrquota,grpquota 0 0
  3.  
  4.  
  5. [root@localhost ~]# dumpe2fs /dev/loop0 | grep -i size
  6. dumpe2fs 1.42.9 (28-Dec-2013)
  7. Filesystem features: has_journal ext_attr resize_inode dir_index filetype needs_recovery extent 64bit flex_bg sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
  8. Block size: 4096
  9. Fragment size: 4096
  10. Group descriptor size: 64
  11. Flex block group size: 16
  12. Inode size: 256
  13. Required extra isize: 28
  14. Desired extra isize: 28
  15. Journal size: 16M
  16.  
  17. [root@localhost newfs]# ls -l somefile
  18. -rw-rw-r--. 1 pkaramol pkaramol 2048000 Apr 23 15:07 somefile
  19.  
  20. [root@localhost newfs]# stat somefile
  21. File: ‘somefile’
  22. Size: 2048000 Blocks: 4000 IO Block: 4096 regular file
  23. Device: 700h/1792d Inode: 13 Links: 1
  24. Access: (0664/-rw-rw-r--) Uid: ( 1000/pkaramol) Gid: ( 1000/pkaramol)
  25. Context: unconfined_u:object_r:unlabeled_t:s0
  26. Access: 2019-04-23 15:07:23.730000000 +0300
  27. Modify: 2019-04-23 15:07:23.800000000 +0300
  28. Change: 2019-04-23 15:07:23.800000000 +0300
  29. Birth: -
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement