feat: add device listing to prepare ZFS datasets script
Some checks failed
Nix Format Check / check-format (push) Failing after 37s

This commit is contained in:
Menno van Leeuwen 2025-03-12 11:26:04 +01:00
parent 2872993628
commit 249d692d4e
Signed by: vleeuwenmenno
SSH Key Fingerprint: SHA256:OJFmjANpakwD3F2Rsws4GLtbdz1TJ5tkQF0RZmF0TRE

View File

@ -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