uuidlookup.c compilation failure on FreeBSD 9.3
Brought to you by:
jaybus2
When compiling for FreeBSD 9.3 (such as is used in the most recent stable version of FreeNAS), uuidlookup.c does not compile. That is because there is no field f_mnttoname in struct statfs. However, there is a f_mntonname field. ("on" instead of "to")
See line 215 of uuidlookup.c
I do not currently have a patch based on a modified configure script, et al.
Typo. That should read line 218:
strncpy(mountp, fs[n].f_mnttoname, mountp_sz);
Fixed in release 1.0.1