5 lines
118 B
Plaintext
5 lines
118 B
Plaintext
|
#!/bin/sh
|
||
|
# Mount a partition by label automatically
|
||
|
sudo mkdir -p "${2:-/mnt/$1}"
|
||
|
sudo mount -L "$1" "${2:-/mnt/$1}"
|