typo(setup): mmount -> mount
This commit is contained in:
parent
0f68e97843
commit
75118b4dbd
8 changed files with 28 additions and 8 deletions
|
@ -7,7 +7,12 @@ PART=$DISK$2
|
|||
sudo mkdir -p /mnt
|
||||
# boilerplate ends here
|
||||
|
||||
|
||||
# [[[[file:/etc/nixos/hosts/Infini-DESKTOP/readme.org::mount_check][mount_check]]][mount_check]]
|
||||
if mountpoint -q -- "/mnt"; then
|
||||
echo "ERROR: /mnt is a mounted filesystem, aborting"
|
||||
exit 1
|
||||
fi
|
||||
# mount_check ends here
|
||||
|
||||
# [[[[file:/etc/nixos/hosts/Infini-DESKTOP/readme.org::partitioning][partitioning]]][partitioning]]
|
||||
echo "LOG: Partitioning $DISK"
|
||||
|
|
|
@ -22,7 +22,7 @@ Setup for my main desktop computer, using an Nvidia GPU and the =desktop= form f
|
|||
#+BEGIN_SRC bash :tangle prep.bash :shebang "#!/usr/bin/env bash" :noweb yes :comments noweb
|
||||
<<boilerplate>>
|
||||
|
||||
<<mmount_check>>
|
||||
<<mount_check>>
|
||||
|
||||
<<partitioning>>
|
||||
|
||||
|
|
|
@ -7,7 +7,12 @@ PART=$DISK$2
|
|||
sudo mkdir -p /mnt
|
||||
# boilerplate ends here
|
||||
|
||||
|
||||
# [[[[file:/etc/nixos/hosts/Infini-FRAMEWORK/readme.org::mount_check][mount_check]]][mount_check]]
|
||||
if mountpoint -q -- "/mnt"; then
|
||||
echo "ERROR: /mnt is a mounted filesystem, aborting"
|
||||
exit 1
|
||||
fi
|
||||
# mount_check ends here
|
||||
|
||||
# [[[[file:/etc/nixos/hosts/Infini-FRAMEWORK/readme.org::partitioning][partitioning]]][partitioning]]
|
||||
echo "LOG: Partitioning $DISK"
|
||||
|
|
|
@ -32,7 +32,7 @@ My main laptop, the [[https://frame.work][Framework Laptop]].
|
|||
#+BEGIN_SRC bash :tangle prep.bash :shebang "#!/usr/bin/env bash" :noweb yes :comments noweb
|
||||
<<boilerplate>>
|
||||
|
||||
<<mmount_check>>
|
||||
<<mount_check>>
|
||||
|
||||
<<partitioning>>
|
||||
|
||||
|
|
|
@ -7,7 +7,12 @@ PART=$DISK$2
|
|||
sudo mkdir -p /mnt
|
||||
# boilerplate ends here
|
||||
|
||||
|
||||
# [[[[file:/etc/nixos/hosts/Infini-SERVER/readme.org::mount_check][mount_check]]][mount_check]]
|
||||
if mountpoint -q -- "/mnt"; then
|
||||
echo "ERROR: /mnt is a mounted filesystem, aborting"
|
||||
exit 1
|
||||
fi
|
||||
# mount_check ends here
|
||||
|
||||
# [[[[file:/etc/nixos/hosts/Infini-SERVER/readme.org::partitioning][partitioning]]][partitioning]]
|
||||
echo "LOG: Partitioning $DISK"
|
||||
|
|
|
@ -22,7 +22,7 @@ Setup for my main server hosting computer, using an Nvidia GPU and the =server=
|
|||
#+BEGIN_SRC bash :tangle prep.bash :shebang "#!/usr/bin/env bash" :noweb yes :comments noweb
|
||||
<<boilerplate>>
|
||||
|
||||
<<mmount_check>>
|
||||
<<mount_check>>
|
||||
|
||||
<<partitioning>>
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ Setup with a wide array of hardware compatibility, specifically using the =porta
|
|||
#+BEGIN_SRC bash :tangle setup.bash :shebang "#!/usr/bin/env bash" :noweb yes :comments noweb
|
||||
<<boilerplate>>
|
||||
|
||||
<<mmount_check>>
|
||||
<<mount_check>>
|
||||
|
||||
<<partitioning>>
|
||||
|
||||
|
|
|
@ -6,7 +6,12 @@ DISK=$1
|
|||
sudo mkdir -p /mnt
|
||||
# boilerplate ends here
|
||||
|
||||
|
||||
# [[[[file:/etc/nixos/hosts/Infini-STICK/readme.org::mount_check][mount_check]]][mount_check]]
|
||||
if mountpoint -q -- "/mnt"; then
|
||||
echo "ERROR: /mnt is a mounted filesystem, aborting"
|
||||
exit 1
|
||||
fi
|
||||
# mount_check ends here
|
||||
|
||||
# [[[[file:/etc/nixos/hosts/Infini-STICK/readme.org::partitioning][partitioning]]][partitioning]]
|
||||
echo "LOG: Partitioning $DISK"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue