From owner-freebsd-stable@FreeBSD.ORG Tue Jul 5 13:46:08 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 33D3B16A41C; Tue, 5 Jul 2005 13:46:08 +0000 (GMT) (envelope-from phk@phk.freebsd.dk) Received: from haven.freebsd.dk (haven.freebsd.dk [130.225.244.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id D9EAB43D49; Tue, 5 Jul 2005 13:46:07 +0000 (GMT) (envelope-from phk@phk.freebsd.dk) Received: from phk.freebsd.dk (unknown [192.168.48.2]) by haven.freebsd.dk (Postfix) with ESMTP id 377CFBC51; Tue, 5 Jul 2005 13:46:04 +0000 (UTC) To: Andriy Gapon From: "Poul-Henning Kamp" In-Reply-To: Your message of "Tue, 05 Jul 2005 12:55:59 +0300." <42CA592F.5040005@icyb.net.ua> Date: Tue, 05 Jul 2005 15:46:02 +0200 Message-ID: <35010.1120571162@phk.freebsd.dk> Sender: phk@phk.freebsd.dk Cc: Poul-Henning Kamp , freebsd-stable@freebsd.org, freebsd-geom@freebsd.org Subject: Re: geom nudge X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jul 2005 13:46:08 -0000 In message <42CA592F.5040005@icyb.net.ua>, Andriy Gapon writes: >on 01.07.2005 20:13 Poul-Henning Kamp said the following: >> In message <42C56B54.7080703@icyb.net.ua>, Andriy Gapon writes: >> >> >>>I am actually OK with such situation. The problem is that the only >>>device created is obviously da0 i.e. there are no devices for slices >>>present on medium. So, when the card reader comes to senses I would like >>>to give a nudge to geom to "re-scan" or "re-create" da0. >> >> true > /dev/da0 >> will do it. > >Thank you very much. So, it is opening for write that actually does it ? Well, technically it is "last close for write" that does it but yes. Since a write could have modified the metadata on the device, the last close for write will trigger a tasting. -- 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.