Date: Fri, 23 Jul 2010 11:19:04 +0200 From: =?ISO-8859-1?Q?Micka=EBl_Maillot?= <mickael.maillot@gmail.com> To: trhodes@FreeBSD.org, freebsd-hackers@freebsd.org Subject: my first try with fscd Message-ID: <AANLkTi=P384o8Vp_KOrW=yVUP7102q%2B9K0XdBHShYpXY@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi i try fscd and it looks realy nice. but i need to add a sleep before restart of process to make it works: --- fscd.c.orig 2010-06-17 21:35:48.000000000 +0200 +++ fscd.c 2010-07-23 11:04:18.479760991 +0200 @@ -253,6 +253,7 @@ if (child == 0) { close(1); close(2); + sleep(1); if (execv(argz[0], argz) == -1) { syslog(LOG_ERR, "Could not start %s\n", svs->svname); whithout this, fscd say that the process is restarted but nothing appends. another problem: after a restart, fscd import nothing from previous database. tested on: FreeBSD home.freelooser.fr 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #17 r210105: Thu Jul 15 08:27:38 CEST 2010 root@home.freelooser.fr:/usr/obj/usr/src/sys/FNEUZFS amd64
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=P384o8Vp_KOrW=yVUP7102q%2B9K0XdBHShYpXY>