Download manpages

2011-09-20 Thread deepak kumar
Hello,
I want to download the freebsd manpages for some sections which i don't have

and i need the compressed (tarball) for those section there is some way to
download them
please help

-- 
Thanks and Regards
Deepak Kumar
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Download manpages

2011-09-20 Thread deepak kumar
Hello Matthew,
I tried but several section were empty :(

On Tue, Sep 20, 2011 at 3:38 PM, Matthew Seaman <
m.sea...@infracaninophile.co.uk> wrote:

> On 20/09/2011 09:50, deepak kumar wrote:
> > I want to download the freebsd manpages for some sections which i don't
> have
>
> Individual man pages can be viewd on-line at
> http://www.freebsd.org/cgi/man.cgi -- that's obviously the processed
> page rather than the nroff source code.
>
> Page sources are available in the various on-line VCSes used by the
> project, but the man page sources are mostly interspersed with the C
> code etc. they describe.
>
> > and i need the compressed (tarball) for those section there is some way
> to
> > download them
>
> Hmmm manpages are available on the distribution media for a release.
>  For instance, look at:
>
> ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/8.2-RELEASE/manpages
>
> There are several combinations of $ARCH and $VERSION available -- but
> only for released versions, so 8.2-RELEASE is the most up to date
> available.
>
> You'll need to download all of the files in that directory.  Well,
> except for the CHECKSUMS.* and *.mtree files. Although not absolutely
> necessary, verifying the checksums is a good idea...  The format is a
> split-up tar archive; if you read install.sh you'll see how to extract
> the contents.  Be careful though -- by default unpacking that tarball
> will overwrite the manpages in /usr/share/man
>
>Cheers,
>
>Matthew
>
> --
> Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
>  Flat 3
> PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
> JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW
>
>


-- 
Thanks and Regards
Deepak Kumar
Member Technical Staff
NetApp India Pvt Ltd
Bangalore (Karnataka)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Download manpages

2011-09-20 Thread deepak kumar
Hello Matthew,
I'm trying to download section 2 and section 1 for freebsd commands and
system calls

On Tue, Sep 20, 2011 at 8:55 PM, Matthew Seaman <
m.sea...@infracaninophile.co.uk> wrote:

> On 20/09/2011 11:39, deepak kumar wrote:
> > I tried but several section were empty :(
>
> Perhaps if you tell us exactly what you are trying to find?
>
>Cheers,
>
>Matthew
>
> --
> Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
>  Flat 3
> PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
> JID: matt...@infracaninophile.co.uk       Kent, CT11 9PW
>
>


-- 
Thanks and Regards
Deepak Kumar
Member Technical Staff
NetApp India Pvt Ltd
Bangalore (Karnataka)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


determine the nic pairs

2012-07-18 Thread Deepak Kumar
Hi Enthusiast,

I have a server which has around 20 nic interfaces.
Some are connected port to port via cross cable and some are connected via
a switch and few are not connected.
(Let consider all are connected port to port)
I want to find out the way so that I can determine the pairs efficiently.

I assigned ip starting from 172.x.x.30 with netmask 255.255.255.0
I created as many sockets as there are interfaces with
socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP)
then I bind the all but one interfaces to the ip I gave using
bind(sockfd, (struct sockaddr *)&in, sizeof(in));
where in is something like
bzero(&in, sizeof(in));
in.sin_family = AF_INET;
in.sin_port = htons(2074);
in.sin_addr.s_addr = inet_addr("172.x.x.30+interfaceno");

and one left socket I did
socket creation and using setsockopt I did
int option = 1;
setsockopt(sockfd[counter], SOL_SOCKET, SO_BROADCAST, &option,
sizeof(option));
and do
sendto(sockfd, arr, sizeof(arr), 0, (struct sockaddr *)&in, len);
where in is
bzero(&in, sizeof(in));
in.sin_family = AF_INET;
in.sin_port = htons(2074);
in.sin_addr.s_addr = inet_addr(172.x.x.255);

Now I want to send the packet from one interface and who ever receive
should be its partner.
But when I do recvfrom for one socket it blocks and I am not able to
implement timeout for it.
select is not working as it need file discripter and socket call is
returning struct socket.
So how should I implement timeout in recvfrom or use there exist some
equivalent of select for struct socket
or any other way to implement this.

PS: Ping is working fine in determining the pair but taking to much time.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"