Journal Saint Aardvark's Journal: I found it. Do I get a prize?
So I started fooling with it and trying to figure out how to add things
like individual swap files and configuration information -- The Thing is
going to have up to ten or so computers booting disklessly -- and then I
came across a passing reference to
I got the hang of it pretty quickly and (mostly -- I have a habit of not following each and every instruction every single time, which is why Automation Rox) got it working...sort of. Something was going wrong and I couldn't figure out what it was.
See, what happens is you create, on the server,
Only that last part wasn't happening. Somehow it'd get to the part
where it was meant to copy the base files, then all these errors would
pop up. I was convinced I was doing something wrong, but I couldn't
figure out what. So, single-user then sh -x
And I found a bug!
At one point it checks to see if the diskless_remount file is around; if it is, it creates the MFS, then proceeds to fill it. It uses eval a couple times in its checks, which always throws me; I've never been clear on what eval is for. But I muddled through it, then realized there needed to be a second slash on one line. Without it the MFS creation subroutine doesn't get the proper arguments.
Okay, no big deal; it's not like I found a ticking time bomb in the
centre of the earth and had to alert everyone within 24 hours. But I
was happy I was able to recognise it. I was all prepared to send in a
PR when I found this
one. Welp, there goes fame and fortune.
In other news, it looks like FreeBSD does not like USB keyboards; we've got we're using for The Thing, where the PS/2 socket is inaccessible, but FreeBSD immediately panics and dumps registers when it finds it or when we plug it in. I'm going to see about maybe getting a core dump from it using Michael Lucas' excellent instructions.
I found it. Do I get a prize? More Login
I found it. Do I get a prize?
Slashdot Top Deals