feat: add device listing to prepare ZFS datasets script
Some checks failed
Nix Format Check / check-format (push) Failing after 37s
Some checks failed
Nix Format Check / check-format (push) Failing after 37s
This commit is contained in:
parent
2872993628
commit
249d692d4e
@ -1,5 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Print available devices excluding loop devices
|
||||
echo "Available devices:"
|
||||
lsblk -d -o NAME,SIZE,TYPE | grep disk
|
||||
echo ""
|
||||
|
||||
# Prompt user for device
|
||||
echo "Enter the device to use for the ZFS pool (e.g., /dev/sdb):"
|
||||
read device
|
||||
|
Loading…
x
Reference in New Issue
Block a user