lfs-scripts/scripts/chapter2/2.5-create-filesystem.sh
2023-01-05 14:56:58 +05:30

8 lines
146 B
Bash

#!/bin/bash
# !!WARNING!!
# THIS SCRIPT MAY CAUSE UNWANTED DATA LOSS ON YOUR SYSTEM.
# PLEASE MODIFY BEFORE USE.
cfdisk
mkfs -vt ext4 /dev/sdXX