9 lines
132 B
Bash
Executable file
9 lines
132 B
Bash
Executable file
#!/bin/sh
|
|
# Run parted with rlwrap
|
|
case "$1" in
|
|
([a-z]) part=/dev/sd$1;;
|
|
("") part= ;;
|
|
(*) part=$1;;
|
|
esac
|
|
shift
|
|
fdisk $part "$@"
|