Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Dec 2004 12:24:38 -0500
From:      "lists" <lists@haubworld.org>
To:        <freebsd-questions@freebsd.org>
Subject:   Re: buildworld via ssh
Message-ID:  <006e01c4e914$4a3520b0$c1b115d8@Main>
References:  <004001c4e888$fe5f20e0$c1b115d8@Main> <20041223005619.GA88565@gothmog.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
I did a 'make -DNOCLEAN buildworld 2>&1 blah.txt &' and it didnt work as I
would have expected.
It spaced it out when I looked at the processes like this
make -DNOCLEAN buildworld 2 > & 1 blah.txt &
So, it tried to also tried to "make 2" and failed and wrote the output to a
file named "1"
A redirect like this works on BSDi, not sure why it didn't in this case on
FreeBSD5.2
Am I doing something wrong?

BTW i now have this
# ll /usr/obj/usr/src/usr.sbin/zzz
total 2
-rw-r--r--  1 root  wheel  1076 Dec 23 07:34 zzz.8.gz

TIA
 -Chris

----- Original Message ----- 
From: "Giorgos Keramidas" <keramida@ceid.upatras.gr>
To: "lists" <lists@haubworld.org>
Cc: <freebsd-questions@freebsd.org>
Sent: Wednesday, December 22, 2004 7:56 PM
Subject: Re: buildworld via ssh


> On 2004-12-22 19:47, lists <lists@haubworld.org> wrote:
> > I am doing a buildworld(Rel5.2) via ssh to a remote location. I detached
the
> > process from my session, but I failed to
> > pipe the output to a logfile. Long story short, my session was
terminated
> > and I am not sure if the process completed
> > correctly or not. Is there any way to find out if the build was
sucessful?
>
> If you don't mind wasting a few cycles, you can restart the build with
> -DNOCLEAN and wait a bit.  If the build was interrupted because of the
> detach, it will resume building everything and finish a lot faster than
> a full buildworld.
>
> Having said that, one of the last things that get built is
> src/usr.sbin/zzz.  You can check if /usr/obj/usr/src/usr.sbin/zzz/zzz
> exists.  If it does, you can probably assume the build finished
> successfully.
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribe@freebsd.org"
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?006e01c4e914$4a3520b0$c1b115d8>