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):
     /tmp/ed.*  buffer file

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.

Problem with today's modular software: they start with the modules
    and never get to the software part.
freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to