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