Hi all,
I'm reading through a howto on getting an IPSEC VPN server running on FreeBSD. All looks straightforward, but I've got a question regarding compiling the kernel (required so that IPSEC can be added to it).
My FreeBSD root filesystem's running off a fast USB flash drive in my HP MicroServer. Now, there's unlikely to be enough room (or performance) for a kernel compile to be sensible from under /usr/src/.
I've got a ZFS pool with plenty of space mounted at /store/ .... could I copy /usr/src/ to /store/src and just build from there? Or will that blow up?
Could I do something cool with mount_null so that the actual source could be at /store/src with that directory mounted at /usr/src?
Reading through mount_null(8) it looks like this should be completely transparent to the build process.
Anyone given that a try?
Cheers,
Chris
I'm reading through a howto on getting an IPSEC VPN server running on FreeBSD. All looks straightforward, but I've got a question regarding compiling the kernel (required so that IPSEC can be added to it).
My FreeBSD root filesystem's running off a fast USB flash drive in my HP MicroServer. Now, there's unlikely to be enough room (or performance) for a kernel compile to be sensible from under /usr/src/.
I've got a ZFS pool with plenty of space mounted at /store/ .... could I copy /usr/src/ to /store/src and just build from there? Or will that blow up?
Could I do something cool with mount_null so that the actual source could be at /store/src with that directory mounted at /usr/src?
Reading through mount_null(8) it looks like this should be completely transparent to the build process.
Anyone given that a try?
Cheers,
Chris