Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Dec 2011 00:36:50 -0800
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        Rajneesh Kumar <iwc2010005@gmail.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Modifying "arp" command
Message-ID:  <CACVs6=_=cfLZ_Aq5WkzfP3uWor2vYTCdVruEc3%2Bvzv3XUbGoUQ@mail.gmail.com>
In-Reply-To: <CA%2BDF=vzSuYMsV336wuDPi81i3LrHtWMRhNADaeCLVGT7LForYw@mail.gmail.com>
References:  <CA%2BDF=vy_0gr-gAG=LQm0AopPFYH2MORVQhjNTXgdB=BC%2Bu2nnQ@mail.gmail.com> <CACVs6=_Q8wkooMUk-G_afY8fX_HF8J4wGn2KtQHZ2O1GpqCg6A@mail.gmail.com> <CA%2BDF=vzSuYMsV336wuDPi81i3LrHtWMRhNADaeCLVGT7LForYw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Rajneesh,

On Sat, Dec 31, 2011 at 00:31, Rajneesh Kumar <iwc2010005@gmail.com> wrote:
> Hi Juli
>
> Thank You for the prompt reply. But I can't find any directory called
> src/usr.sbin/arp
> Also If I am trying to find the file arp.c using find command (i.e., find /
> -name arp.c), its unable to locate any such file.

It isn't in the kernel.  Do you have anything other than the kernel
checked out?  What version of the source tree do you have checked out?
 How did you check it out?

If you want just the arp command from head, you can do something like this:

svn co http://svn.freebsd.org/base/head/usr.sbin/arp

Then the arp sources will be in the arp subdirectory of your current
directory.  Beware that "make install" won't work in this case, as the
variable BINDIR (the executable into which the binary is installed) is
set up usr.sbin/Makefile.inc.  You can either run your modified arp
binary out of your current directory, install it by hand (copying it
over your existing one) or set BINDIR when doing make install, like
"sudo make install BINDIR=/usr/sbin", for example.

Thanks,
Juli.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACVs6=_=cfLZ_Aq5WkzfP3uWor2vYTCdVruEc3%2Bvzv3XUbGoUQ>