Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Jul 2005 15:46:02 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Andriy Gapon <avg@icyb.net.ua>
Cc:        Poul-Henning Kamp <phk@haven.freebsd.dk>, freebsd-stable@freebsd.org, freebsd-geom@freebsd.org
Subject:   Re: geom nudge 
Message-ID:  <35010.1120571162@phk.freebsd.dk>
In-Reply-To: Your message of "Tue, 05 Jul 2005 12:55:59 %2B0300." <42CA592F.5040005@icyb.net.ua> 

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35010.1120571162>