appliance: init script does 'ls -lR /dev' (verbose only)
authorRichard Jones <rjones@redhat.com>
Mon, 6 Sep 2010 09:04:01 +0000 (10:04 +0100)
committerRichard 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

index 1c01195..cda6453 100755 (executable)
@@ -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 -lR /dev
     cat /proc/mounts
     lvm pvs
     lvm vgs