geom nudge
Poul-Henning Kamp
phk at phk.freebsd.dk
Tue Jul 5 13:46:08 GMT 2005
In message <42CA592F.5040005 at icyb.net.ua>, Andriy Gapon writes:
>on 01.07.2005 20:13 Poul-Henning Kamp said the following:
>> In message <42C56B54.7080703 at 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 at 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.
More information about the freebsd-stable
mailing list