git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa96881
)
appliance: init script does 'ls -lR /dev' (verbose only)
author
Richard Jones
<rjones@redhat.com>
Mon, 6 Sep 2010 09:04:01 +0000
(10:04 +0100)
committer
Richard Jones
<rjones@redhat.com>
Mon, 6 Sep 2010 09:04:01 +0000
(10:04 +0100)
It's useful to see what files are in /dev subdirectories
at boot, eg. for looking at virtio-serial ports.
appliance/init
patch
|
blob
|
history
diff --git
a/appliance/init
b/appliance/init
index
1c01195
..
cda6453
100755
(executable)
--- a/
appliance/init
+++ b/
appliance/init
@@
-71,7
+71,7
@@
for f in /sys/block/[hsv]d*/queue/scheduler; do echo noop > $f; done
# These are useful when debugging.
if grep -sq guestfs_verbose=1 /proc/cmdline; then
- ls -l /dev
+ ls -l
R
/dev
cat /proc/mounts
lvm pvs
lvm vgs