Category: FreeBSD
Anything related to FreeBSD
Using GraphViz to visualize the runtime dependencies of the installed ports
If you’re curious to find out how all your installed ports depend upon each other, you might want to run this neat, little script saving its output to a file, and install graphics/graphviz.
Read More → Using GraphViz to visualize the runtime dependencies of the installed portsParallel build of mail/thunderbird
in FreeBSD?
Update 2014-08-07: r363978, dated Mon Aug 4 09:11:25 2014 UTC, solves the parallel build bug once and for all, and there’s no need for the Makefile.local as shown below. I’ve been scratching my head over why mail/thunderbird doesn’t build in parallel when www/firefox does. Research reveals MAKE_JOBS_SAFE was removed last August, in r324744. I can’t […]
Read More → Parallel build ofmail/thunderbird
in FreeBSD?
Upgrade FreeBSD/i386 from stable/8 to stable/10 via stable/9
Some of my servers are running a fairly old version of FreeBSD/i386. I began researching how to upgrade them from stable/8 to stable/10 via stable/9. It’s pretty straightforward, but there are some pitfalls you should avoid.
Read More → Upgrade FreeBSD/i386 from stable/8 to stable/10 via stable/9FreeBSD/i386 stable/8 on Dell OptiPlex GX260
None of the below is relevant as of 2014-06-06, other than the possible need of reverting sys/dev/pci/pci.c. I have confirmed that FreeBSD/i386 stable/8 r267147 works as expected on Dell OptiPlex GX260. If you happen to run FreeBSD/i386 stable/8 on older Dell desktop PCs, like an OptiPlex GX260, you might want to back out r262226 prior […]
Read More → FreeBSD/i386 stable/8 on Dell OptiPlex GX260Youngest and oldest source file in FreeBSD base/head
While compiling a custom kernel for FreeBSD/amd64 base/head r264077, I began wondering how old is the oldest source file, how young is the youngest? This is the command I devised: The oldest source files are: The youngest source file is: That’s a span of about 10.815 years.
Read More → Youngest and oldest source file in FreeBSD base/headCoping with portupgrade’s inability to handle new dependencies
I grew tired of handholding portupgrade because of the latter’s inability to handle new dependencies. The script below is the result of my frustration. The script is available for downloading at http://ximalas.info/~trond/create-zfs/canmount/upgrade-outdated-ports.sh.
Read More → Coping with portupgrade’s inability to handle new dependenciesDecoding darkstat’s export format
While pondering why darkstat all of a sudden shows corrupted timestamps when running on FreeBSD/amd64 stable/9, I wrote a small program to decode the export format. The program is available using svn co svn://svn.ximalas.info/darkstattype or http://svnweb.ximalas.info/darkstattype/. The license is the 2-clause BSD license.
Read More → Decoding darkstat’s export formatWITHOUT_NEW_XORG=yes → true
I’m probably not paying enough attention to new developments in FreeBSD after all. After updating the installed ports in my VMs running base/head and base/stable/10, X11 stopped working. It turns out the new version of X.org requires KMS and what not in the kernel. This doesn’t fare well with VMs running inside VirtualBox. The solution? […]
Read More → WITHOUT_NEW_XORG=yes → trueYour own virtualized desktop FreeBSD lab
If you’re like me, eager to test new stuff in FreeBSD, you might as well run a virtualized FreeBSD laboratory on your desktop. I use Oracle VirtualBox, but you might as well use Microsoft Hyper-V, real hardware, or some other contraption. Couple this with ZFS and boot environments, and you’re even able to rapidly revert […]
Read More → Your own virtualized desktop FreeBSD labportupgrade and issues with added dependencies
Is it just me or does portupgrade 2.4.12,2 have issues detecting changes in a port’s dependencies, particularly added dependencies?
Read More → portupgrade and issues with added dependencies