Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jul 2010 10:14:04 +0400
From:      Yuri Pankov <yuri.pankov@gmail.com>
To:        Chris Stankevitz <chrisstankevitz@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: pkg_add fails due to 'broken pipe'. Is my system in a consistent state?
Message-ID:  <20100701061404.GD3555@darklight.org.ru>
In-Reply-To: <308061.45767.qm@web52908.mail.re2.yahoo.com>
References:  <4C2C28A2.9020201@daleco.biz> <308061.45767.qm@web52908.mail.re2.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 30, 2010 at 11:07:24PM -0700, Chris Stankevitz wrote:
> > From: Kevin Kinsey <kdk@daleco.biz>
> > > Q2: Where on my hard drive are the bytes that tell
> > > pkg_add to use 
> > > ftp.freebsd.org when downloading packages?
> > 
> > You mean like inode number, which cylinder
> 
> No, I am looking for a file name.

/usr/src/usr.sbin/pkg_install/add/main.c
static char * getpackagesite(void)

which constructs URL using ftp.freebsd.org unless PACKAGESITE and
PACKAGEROOT are defined.

> 
> Thank you,
> 
> Chris


HTH,
Yuri



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100701061404.GD3555>