Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Latest commit

 

History

History
24 lines (19 loc) · 425 Bytes

FileSystems.org

File metadata and controls

24 lines (19 loc) · 425 Bytes

FileSystems

Reload partitions

sudo apt-get install -y parted
sudo partprobe

Ext4

Resize

sudo e2fsck -f /dev/sdx
sudo resize2fs /dev/sdx
sudo e2fsck -f /dev/sdx

Permission

sudo getfacl -pR /bin /usr /home /var /etc /lib* /tmp /mnt /media /dev /boot /sbin /srv >bin.perm
sudo setfacl --restore=bin.perm