From owner-freebsd-current Mon Aug 12 16:16:53 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 745AC37B400 for ; Mon, 12 Aug 2002 16:16:52 -0700 (PDT) Received: from harrier.mail.pas.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15F7043E70 for ; Mon, 12 Aug 2002 16:16:52 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0456.cvx22-bradley.dialup.earthlink.net ([209.179.199.201] helo=mindspring.com) by harrier.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17eOQH-0004kw-00; Mon, 12 Aug 2002 16:16:30 -0700 Message-ID: <3D584197.44EE0075@mindspring.com> Date: Mon, 12 Aug 2002 16:15:35 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Bruce Evans Cc: Bob Willcox , Ian Dowse , Alexander Leidinger , bhlewis@wossname.net, freebsd-current@FreeBSD.ORG Subject: Re: Is anyone else having trouble with dump(8) on -current? References: <20020813055009.N25992-100000@gamplex.bde.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Bruce Evans wrote: > > >From my experience/use with amanda I know that it _always_ kills the > > dumps that it starts when doing its estimates at the beginning (often > > several per file system, one for each dump level it's interested in). I > > don't think it deliberately kills the dumps when actually dumping the > > data. :-) > > So the problem seems to be mainly that dump expects all syscalls to be > restarted after it catches these signals, and open() isn't restarted. POSIX sucks... siginterrupt(3) is your friend, in this case. Unfortunately, someone broke it and added a "sig" parameter, and you have to call it once per signal now, which means enumerating signals on an unknown host system (brilliant engineering, that). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message