From owner-freebsd-stable Thu Apr 18 12:57:21 2002 Delivered-To: freebsd-stable@freebsd.org Received: from sun.zoology.ubc.ca (sun.zoology.ubc.ca [137.82.3.1]) by hub.freebsd.org (Postfix) with ESMTP id ECB7537B400 for ; Thu, 18 Apr 2002 12:56:57 -0700 (PDT) Received: from [137.82.3.64] (tigger.zoology.ubc.ca [137.82.3.64]) by sun.zoology.ubc.ca (8.9.1/8.9.0) with ESMTP id MAA16918 for ; Thu, 18 Apr 2002 12:56:12 -0700 (PDT) User-Agent: Microsoft-Entourage/10.0.0.1331 Date: Thu, 18 Apr 2002 12:56:54 -0700 Subject: Porting dump -F from Linux From: Jens Haeusser To: Message-ID: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Is anyone interested in porting the -F flag for dump from Linux? From the Linux man page- -F script Run script at the end of each tape. The device name and the current volume number are passed on the command line. The script must return 0 if dump should continue without asking the user to change the tape, 1 if dump dump should continue but ask the user to change the tape. Any other exit code will cause dump to abort. For security reasons, dump reverts back to the real user ID and the real group ID before running the script. This would really simplify my dump scripts- I'm currently having to use expect to read from dump when to change tapes on my autoloader, but it's not working so well. The source code for Linux dump is available from http://dump.sourceforge.net . Unfortunately I'm not a coder, otherwise I'd volunteer to do this myself, but this seems like a very useful option that many people would use. Jens Haeusser Network Manager, Zoology, UBC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message