December 2006 Archives

I'm maintainer of fuse perl binding for some time now. One of things that I'm somewhat proud is somewhat limited but working support for FreeBSD. Since I use FreeBSD only to test fuse bindings for perl, I tend to forget all little thigs which are different on it. So, here is a little reminder for my poor brain -- how to get my FreeBSD box up-to-date:

root@freebsd:/root# cvsup -L 2 /root/ports-supfile
root@freebsd:/# cd /usr/ports/sysutils/fusefs-libs
root@freebsd:/usr/ports/sysutils/fusefs-libs# make install
root@freebsd:/usr/ports/sysutils/fusefs-libs# cd /usr/ports/sysutils/fusefs-kmod/
root@freebsd:/usr/ports/sysutils/fusefs-kmod# make install

Currently bindings still compile against perl 5.8.7, and I'm compiling perl 5.8.8 with threading to give it a try. I think that I will really need to fix tests to run on FreeBSD first (help from BSD users would be greatly appreciated).

Over the years, I have changed 2.5" hard-drives in laptop more often than I want to remember. Last one lasted only year and a half, which is noticably less than previous ones which managed to survive for two and half years at least.

But, this time, I didn't manage to find two 2.5" HD adapters for desktop PC, so I opted to use netcat and tar like this:

new$ nc -w 5 -l -p 8888 | tar xvfSp -
old$ tar cfvSp - / | nc new 8888

Can you see the touble here? (No, I'm not thinking about redundant S in one of tars -- hack, I'm not even sure it's redundant, man page didn't tell me anything useful).

If you couldn't guess, I didn't have completly same /etc/group and /etc/passwd on both machines. Life sucks. I should have used --numeric-owner for tar and all would be well, thus here is a blog post...

Update: if you are using framebuffer, leaving v flag will slow down transfer considerably because screen scrolling is slow. So, faster and correct alternative is:

new$ nc -w 5 -l -p 8888 | tar --numeric-owner -xSpf -
old$ tar --numeric-owner -cSpf - / | nc new 8888

About this Archive

This page is an archive of entries from December 2006 listed from newest to oldest.

November 2006 is the previous archive.

January 2007 is the next archive.

Find recent content on the main index or look in the archives to find all content.

Pages

  • pics
OpenID accepted here Learn more about OpenID
Powered by Movable Type 5.04