Re: More running-with-scissors and fsck.

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Wed, 03 Nov 2004 14:30:27 +0100
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.
Received on Wed Nov 03 2004 - 12:30:36 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:20 UTC