Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Ainyaku authored Jan 14, 2025
1 parent d7d60fa commit 8f88295
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cdn/arch-mount.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

mount -o noatime,space_cache=v2,compress=zstd,subvol=@ /dev/$1 /mnt
mkdir -p /mnt/{efi,home,swap}
mount -o noatime,space_cache=v2,compress=zstd,subvol=@home /dev/$1 /mnt/home
mount -o noatime,space_cache=v2,compress=zstd,subvol=@swap /dev/$1 /mnt/swap
mount /dev/${1::-1}1 /mnt/efi

0 comments on commit 8f88295

Please sign in to comment.