From owner-freebsd-questions@FreeBSD.ORG Fri Nov 11 16:41:51 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF5271065672 for ; Fri, 11 Nov 2011 16:41:51 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id 770D78FC16 for ; Fri, 11 Nov 2011 16:41:51 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email2.allantgroup.com (8.14.4/8.14.4) with ESMTP id pABGfnBd062901 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 11 Nov 2011 10:41:49 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.5/8.14.5) with ESMTP id pABGfnIS091701 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 11 Nov 2011 10:41:49 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.5/8.14.5/Submit) id pABGfmON091635; Fri, 11 Nov 2011 10:41:48 -0600 (CST) (envelope-from dan) Date: Fri, 11 Nov 2011 10:41:48 -0600 From: Dan Nelson To: Andrea Venturoli Message-ID: <20111111164148.GA93709@dan.emsphone.com> References: <4EBB9EE0.2050108@netfence.it> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4EBB9EE0.2050108@netfence.it> X-OS: FreeBSD 8.2-STABLE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.97.2 at email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (email2.allantgroup.com [199.67.51.78]); Fri, 11 Nov 2011 10:41:49 -0600 (CST) X-Scanned-By: MIMEDefang 2.68 on 199.67.51.78 Cc: freebsd-questions@freebsd.org Subject: Re: How to persist tape configuration X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Nov 2011 16:41:51 -0000 In the last episode (Nov 10), Andrea Venturoli said: > > I need to set my tape with: > mt comp off. > > After a reboot I need to do this again. > > I could write a script and place it in /usr/local/etc/rc.d, but I'm just > wondering if there's already something standard in /etc. A quick grep doesn't come up with anything. An rc.d script is probably your best bet. You might be able to do it with a devd.conf entry, too. -- Dan Nelson dnelson@allantgroup.com