Re: kern/159281: [PATCH] Linux-like /proc/swaps for linprocfs

2011-07-29 Thread Robert Millan
Hi Kostik, 2011/7/29 Kostik Belousov : > The patch is too hackish, IMHO. > I would prefer to have an exported kernel function that fills xswdev > by index, used both by vm_swap_info and linprocfs. > > For the device name, you would use sw_vp->v_rdev->si_name, see, for > instance, the following fra

Re: A style proposal for referring to upper-level directories in Makefiles

2011-07-29 Thread Mark Linimon
To me, it just makes things less readable. mcl ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: FIB separation

2011-07-29 Thread Julian Elischer
On 7/16/11 9:19 AM, Alexander V. Chernikov wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hiroki Sato wrote: Vlad Galu wrote in: du> Hello, du> du> A couple of years ago, Stef Walter proposed a patch[1] that enforced du> the scope of routing messages. The general consesus was that

Re: A style proposal for referring to upper-level directories in Makefiles

2011-07-29 Thread Mikhail T.
On 29.07.2011 03:27, Poul-Henning Kamp wrote: This will make it even harder for people who try to compile our bits on alien systems without bmake. Bits referring to multiple directories at once? Using a make flavor, that already supports .CURDIR, but not .CURDIR:H? Do such things even exist? P

Re: MIPS toolchain

2011-07-29 Thread Alexander Kabaev
On Fri, 29 Jul 2011 11:12:35 -0400 James Jones wrote: > Does anyone have a prebuilt MIPS tool chain? > There's so many unanswered details in this loaded question one cannot possibly hope to answer it correctly. Are you asking for what mips ISA and ABIs? What is to be used as a host? In general,

Re: MIPS toolchain

2011-07-29 Thread C. Bergström
On 07/29/11 10:12 PM, James Jones wrote: Does anyone have a prebuilt MIPS tool chain? If you need MIPS64 then maybe I could get some binaries built or a cross compiler. (Can't help with MIPS32 though) ___ freebsd-hackers@freebsd.org mailing list htt

MIPS toolchain

2011-07-29 Thread James Jones
Does anyone have a prebuilt MIPS tool chain? Sent from my iPhone ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Small fetch(1) patch to improve xfer stats readability

2011-07-29 Thread Rares Aioanei
While fetch, (as invoked by portsnap, in my case) displays the completion percentage just fine, when it reaches 100% the output becomes a little messy : - of Now, when it gets to 100%, the string "100%" gets stuck by the hashnumber, e.g. '98727300a76bn062f901100% completed of 65 MB 500KBps

Small fetch(1) patch to improve xfer stats readability

2011-07-29 Thread Rares Aioanei
While fetch, (as invoked by portsnap, in my case) displays the completion percentage just fine, when it reaches 100% the output becomes a little messy : - of Now, when it gets to 100%, the string "100%" gets stuck by the hashnumber, e.g. '98727300a76bn062f901100% completed of 65 MB 500KBps

installworld fails with /usr/bin and /usr/sbin on separate file systems

2011-07-29 Thread Stefan Esser
Installworld fails in "usr.sbin/chown" with a cross-device link error, if /usr/bin and /usr/sbin are not on the same partition due to the following line in Makefile: LINKS= ${BINDIR}/chown /usr/bin/chgrp In this case, ${BINDIR} is /usr/sbin and while both are subdirectories of /usr (and thus typi

FreeBSD Summer Course

2011-07-29 Thread Mohammed Farrag
Hello FreeBSDers, I have uploaded the FreeBSD summer course materials. It's good course for beginners. You can check it and I will be glad to receive your comments and suggestions for future courses. https://sites.google.com/site/arabbsd/freebsd-summer-course Regards, -- *Mohammed Farrag* * *

Re: MAC Framework, Socket information

2011-07-29 Thread Robert Watson
On Thu, 28 Jul 2011, s wrote: I need to get some info about the socket being created by the user. What I want to do is log all TCP/UDP outgoing connections that are being made. I *need* to get the local and remote address, as well as the local and remote port. I managed to get all of the remo

Re: A style proposal for referring to upper-level directories in Makefiles

2011-07-29 Thread Poul-Henning Kamp
In message <4e31aed9.4000...@aldan.algebra.com>, "Mikhail T." writes: >The most common method to refer to the upper directory in Makefile is as >${.CURDIR}/.. > >I'd like to propose we begin using ${.CURDIR:H} instead. This will make it even harder for people who try to compile our bits on alien

Re: Finding symlink information in MAC Framework

2011-07-29 Thread perryh
jan.gr...@bristol.ac.uk wrote: > On Wed, 27 Jul 2011, per...@pluto.rain.com wrote: ... > One additional thing that symlinks manage to do is to refer to > directories as well as files Yes; I left that aspect out by way of simplification since it did not seem pertinent to the OP's situation. > har