[Libguestfs] [PATCH] Fall back if /sbin/start_udev fails

Matthew Booth mbooth at redhat.com
Wed Oct 21 09:13:11 UTC 2009


On 21/10/09 06:06, Charles Duffy wrote:
> --- libguestfs-1.0.74/appliance/init.orig	2009-10-20 22:46:48.000000000 -0500
> +++ libguestfs-1.0.74/appliance/init	2009-10-20 22:47:16.000000000 -0500
> @@ -9,8 +9,8 @@
>
>   if [ -x /etc/init.d/udev ]; then
>     /etc/init.d/udev start
> -elif [ -x /sbin/start_udev ]; then
> -  /sbin/start_udev
> +elif [ -x /sbin/start_udev ]&&  /sbin/start_udev; then
> +  :
>   else
>     echo No udev, creating /dev manually
>     mount -t tmpfs none /dev

This looks sensible to me. I'll push it.

Matt
-- 
Matthew Booth, RHCA, RHCSS
Red Hat Engineering, Virtualisation Team

M:       +44 (0)7977 267231
GPG ID:  D33C3490
GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490




More information about the Libguestfs mailing list