git.annexia.org
/
libguestfs.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
inspect: Add function to read the first line of a file, with safety checks.
[libguestfs.git]
/
recipes
/
show-devices.sh
1
#!/bin/sh -
2
3
guestfish -a "$1" <<EOF
4
run
5
list-devices
6
list-partitions
7
pvs
8
vgs
9
lvs
10
EOF