retasting devices on demand

Poul-Henning Kamp phk at phk.freebsd.dk
Tue Aug 22 19:43:07 UTC 2006


In message <44EB5CE4.5080008 at 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 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-geom mailing list