Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ cat /etc/fstab | grep -i new
- /root/myfile /newfs ext4 loop,usrquota,grpquota 0 0
- [root@localhost ~]# dumpe2fs /dev/loop0 | grep -i size
- dumpe2fs 1.42.9 (28-Dec-2013)
- 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
- Block size: 4096
- Fragment size: 4096
- Group descriptor size: 64
- Flex block group size: 16
- Inode size: 256
- Required extra isize: 28
- Desired extra isize: 28
- Journal size: 16M
- [root@localhost newfs]# ls -l somefile
- -rw-rw-r--. 1 pkaramol pkaramol 2048000 Apr 23 15:07 somefile
- [root@localhost newfs]# stat somefile
- File: ‘somefile’
- Size: 2048000 Blocks: 4000 IO Block: 4096 regular file
- Device: 700h/1792d Inode: 13 Links: 1
- Access: (0664/-rw-rw-r--) Uid: ( 1000/pkaramol) Gid: ( 1000/pkaramol)
- Context: unconfined_u:object_r:unlabeled_t:s0
- Access: 2019-04-23 15:07:23.730000000 +0300
- Modify: 2019-04-23 15:07:23.800000000 +0300
- Change: 2019-04-23 15:07:23.800000000 +0300
- Birth: -
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement