On Fri, Jul 08, 2005 at 12:18:42PM -0700, Michael Coulter wrote:
> Perhaps something like this is necessary. I guess it
> should have some platform specific #ifdef'ing as well,
> but I'm too lazy to look at that right now :)
> 
> --- create_file.c.orig        Fri Jul  8 12:13:05 2005
> +++ create_file.c     Fri Jul  8 12:13:07 2005
> @@ -195,6 +195,8 @@
>                    attr->ofname, be.strerror());
>              return CF_ERROR;
>           }
> +      } else if(S_ISSOCK(attr->statp.st_mode)) {
> +            Dmsg1(200, "Skipping socket: %s\n", attr->ofname);
>        } else {          
>              Dmsg1(200, "Restore node: %s\n", attr->ofname);
>           if (mknod(attr->ofname, attr->statp.st_mode, attr->statp.st_rdev) 
> != 0 && errno != EEXIST) {

Yup, that ought to be about all it would require.


-- 
 Phil Stracchino       [EMAIL PROTECTED]
    Renaissance Man, Unix generalist, Perl hacker
 Mobile: 603-216-7037         Landline: 603-886-3518


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to