More running-with-scissors and fsck.

Poul-Henning Kamp phk at phk.freebsd.dk
Wed Nov 3 05:30:36 PST 2004


In message <4188DADD.4020907 at daveg.ca>, David Gilbert writes:
>Poul-Henning Kamp wrote:
>
>>In message <41887A33.2060608 at dclg.ca>, David Gilbert writes:
>>  
>>
>>>Well... the recoverdisk is a cool tool.  I can see it coming in handy 
>>>many times.  While there isn't much documentation, I've tended to use it 
>>>by creating a vnode md disk of exactly the right size to recover the 
>>>partition in question.
>>>    
>>>
>>
>>You could just have used a regular file for it and connected it to a
>>md later on.
>>  
>>
>It won't create the file by itself.  I created the md disk because I 
>didn't take the time to read the code, I suppose.  It would make people 
>"feel" better if it created the target file when it didn't exist.

I would be really happy to see somebody improve on my little hack,
there are many things that could be improved about it, and if they
were, it would be a good addition to src/sbin

-- 
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-current mailing list