From owner-freebsd-geom@FreeBSD.ORG Tue Aug 22 19:43:07 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 ACA2416A4E0 for ; Tue, 22 Aug 2006 19:43:07 +0000 (UTC) (envelope-from phk@phk.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5391643D45 for ; Tue, 22 Aug 2006 19:43:07 +0000 (GMT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id B224A170C5; Tue, 22 Aug 2006 19:43:05 +0000 (UTC) To: Eric Anderson From: "Poul-Henning Kamp" In-Reply-To: Your message of "Tue, 22 Aug 2006 14:37:08 EST." <44EB5CE4.5080008@centtech.com> Date: Tue, 22 Aug 2006 19:43:05 +0000 Message-ID: <60561.1156275785@critter.freebsd.dk> Cc: 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: Tue, 22 Aug 2006 19:43:07 -0000 In message <44EB5CE4.5080008@centtech.com>, Eric Anderson writes: >> The easy way is to open the device for write and close it again: >> >> true > /dev/da0 >> >> would do it. > >Yep, that did it. I think I tried touch (or maybe something else) >before and it didn't tickle it, so I moved on. > >Might be more intuitive for admins to use a retaste command with the >given tool or geom command line. Is that function left out for a >reason, or just hasn't been implemented yet? The problem is that it won't work if part of the disk is already open... -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.