recovering from a power outage
    Mel 
    fbsd.questions at rachie.is-a-geek.net
       
    Mon Feb 16 10:59:10 PST 2009
    
    
  
On Thursday 12 February 2009 16:24:25 A. Wright wrote:
> Can anyone corroborate that?  If so, does anyone know when
> ed started wanting to make a temp file even before any edits
> are made?  I am sure that ed has gotten me out of similar jams
> in the past, when I wanted to see part of a file in an unchecked
> root fs, and cat wouldn't fit the bill because the file was
> too long (and more and friends are far away on /usr, and therefore
> not available if still patching up the root).
From ed(1):
FILES
     /tmp/ed.*  buffer file
Solution:
mdconfig -a -t swap -s 64m -o reserve -u 0
newfs -U /dev/md0
mount /dev/md0 /tmp
chmod 1777 /tmp
Also, there's /rescue/vi (since 7.0 I believe), which will complain 
about /var/tmp/vi.recover, which you can a) ignore or b) use above procedure 
with -u 1 to create /var/tmp.
-- 
Mel
Problem with today's modular software: they start with the modules
    and never get to the software part.
    
    
More information about the freebsd-questions
mailing list