mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-11-21 19:52:52 +00:00
Add filesystem script
This commit is contained in:
parent
0b18f84e06
commit
86ca98806a
1 changed files with 8 additions and 0 deletions
8
scripts/chapter2/2.5-create-filesystem.sh
Normal file
8
scripts/chapter2/2.5-create-filesystem.sh
Normal file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
# !!WARNING!!
|
||||
# THIS SCRIPT MAY CAUSE UNWANTED DATA LOSS ON YOUR SYSTEM.
|
||||
# PLEASE MODIFY BEFORE USE.
|
||||
|
||||
cfdisk
|
||||
mkfs -vt ext4 /dev/sdXX
|
Loading…
Reference in a new issue