Skip to content

Instantly share code, notes, and snippets.

@yzf
Last active August 24, 2018 16:40
Show Gist options
  • Save yzf/6fa1251b22c142fea55302885c472447 to your computer and use it in GitHub Desktop.
Save yzf/6fa1251b22c142fea55302885c472447 to your computer and use it in GitHub Desktop.
增加分区
mkfs.ext4 /dev/sda3
mkdir /data
reboot now
# mount /dev/sda3 /data
edit: /etc/fstab
/dev/sda3 /data ext4 defaults 1 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment