Sock­ets and null­fs: works now in -cur­rent

I just up­dated to a re­cent -cur­rent and tried the new null­fs. Sock­ets (e.g. the MySQL one) work now with null­fs. No need to have e.g. jails on the same FS and hard­link the sock­et to not need to use TCP in MySQL (or an IP at all for the jail).

Great work!

Hint: us­ing sock­ets across jails

I want to use a sock­et (mysql) in mul­tiple jails. Us­ing null­fs to mount it in each jail where you want to use it does not work (bug in null­fs?). Us­ing a hard­link (if the jails reside on the same FS) works. I hope this info safes a little bit of time in case someone tries to do the same.

The host­name MySQL sees in such a con­nec­tion is “loc­al­host”. Maybe this is ob­vi­ous to one or an­oth­er, but be­cause jails don’t have a it was not ob­vi­ous to me.