lfs-scripts/scripts/chapter2/2.5-create-filesystem.sh
2023-01-06 10:16:51 +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