Remote upgrade

James Long list at museum.rain.com
Thu May 1 17:40:15 PDT 2003


On Thu, May 01, 2003 at 03:40:21PM -0500, boxend at swbell.net wrote:
> When doing a remote upgrade, what is the best way to force the process into the 
> background, in case the dialup line for ssh session dies before buildworld finishes.


Ensure that /tmp/ has free space to hold a few Megabytes of output, and use:

# make buildworld >/tmp/make_bw.out 2>&1 &

Then you can monitor the progress of the make by examining /tmp/make_bw.out

# tail -f /tmp/make_bw.out

Control-C will terminate tail, and return you to a shell prompt,
while the make continues to run in the background.

This is not as sophisticated as using screen, but simpler, and does
not require installing any additional software.




More information about the freebsd-questions mailing list