From owner-freebsd-geom@FreeBSD.ORG Wed Aug 23 01:24:45 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3CAF916A4E0 for ; Wed, 23 Aug 2006 01:24:45 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id DAD5543D46 for ; Wed, 23 Aug 2006 01:24:44 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [192.168.42.24] (andersonbox4.centtech.com [192.168.42.24]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id k7N1Of0q040884; Tue, 22 Aug 2006 20:24:43 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <44EBAE59.7040003@centtech.com> Date: Tue, 22 Aug 2006 20:24:41 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.5 (X11/20060802) MIME-Version: 1.0 To: Roman Kurakin References: <60853.1156279783@critter.freebsd.dk> <44EB703A.6000704@centtech.com> <44EB97CF.6010907@inse.ru> In-Reply-To: <44EB97CF.6010907@inse.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1712/Tue Aug 22 18:45:51 2006 on mh2.centtech.com X-Virus-Status: Clean Cc: Poul-Henning Kamp , freebsd-geom@freebsd.org Subject: Re: retasting devices on demand X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Aug 2006 01:24:45 -0000 On 08/22/06 18:48, Roman Kurakin wrote: > Eric Anderson wrote: > >> On 08/22/06 15:49, Poul-Henning Kamp wrote: >> >>> In message <44EB6D1F.90104@centtech.com>, Eric Anderson writes: >>> >>>> Even so, a retaste function that worked on existing disks (like I >>>> had) would be useful and an obvious command for admin-types. Would >>>> you be opposed to such a command? >>> >>> As I said: the problem is that if part of the disk is open it will >>> not work. >>> >> Ok, I'll restate more clearly: >> >> Admins really will want a way to retaste a device - if it's used, give >> the usual 'operation not permitted', and if it isn't, then just retaste. > > "Busy" more appropriate. # true > /dev/ad0 -su: /dev/ad0: Operation not permitted I agree though, that EBUSY is better. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------