devinteske

New FreeBSD sysconf(8) utility I'm working on

Nov 18th, 2013
324
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.80 KB | None | 0 0
  1. dteske@scribe9.vicor.com sysconf $ ls
  2. CVS conf.h figpar.h string_m.h sysconf.8 sysconf.o
  3. Makefile conf.o figpar.o string_m.o sysconf.c
  4. conf.c figpar.c string_m.c sysconf sysconf.h
  5. dteske@scribe9.vicor.com sysconf $ time ./sysconf
  6. # NOTE: Processing /boot/defaults/loader.conf
  7. sysconf: LINE 15: directive=[exec] value=[".( Loading /boot/defaults/loader.conf ) cr"]
  8. sysconf: LINE 17: directive=[kernel] value=["kernel"]
  9. sysconf: LINE 18: directive=[bootfile] value=["kernel"]
  10. sysconf: LINE 19: directive=[kernel_options] value=[""]
  11. sysconf: LINE 21: directive=[loader_conf_files] value=["/boot/device.hints /boot/loader.conf /boot/loader.conf.local"]
  12. sysconf: LINE 22: directive=[nextboot_conf] value=["/boot/nextboot.conf"]
  13. sysconf: LINE 23: directive=[nextboot_enable] value=["NO"]
  14. sysconf: LINE 25: directive=[verbose_loading] value=["NO"]
  15. sysconf: LINE 32: directive=[splash_bmp_load] value=["NO"]
  16. sysconf: LINE 33: directive=[splash_pcx_load] value=["NO"]
  17. sysconf: LINE 34: directive=[splash_txt_load] value=["NO"]
  18. sysconf: LINE 35: directive=[vesa_load] value=["NO"]
  19. sysconf: LINE 36: directive=[bitmap_load] value=["NO"]
  20. sysconf: LINE 37: directive=[bitmap_name] value=["splash.bmp"]
  21. sysconf: LINE 38: directive=[bitmap_type] value=["splash_image_data"]
  22. sysconf: LINE 55: directive=[module_path] value=["/boot/modules"]
  23. sysconf: LINE 133: directive=[ataahci_load] value=["NO"]
  24. sysconf: LINE 134: directive=[ataacard_load] value=["NO"]
  25. sysconf: LINE 135: directive=[ataacerlabs_load] value=["NO"]
  26. sysconf: LINE 136: directive=[ataadaptec_load] value=["NO"]
  27. sysconf: LINE 137: directive=[ataamd_load] value=["NO"]
  28. sysconf: LINE 138: directive=[ataati_load] value=["NO"]
  29. sysconf: LINE 139: directive=[atacenatek_load] value=["NO"]
  30. sysconf: LINE 140: directive=[atacypress_load] value=["NO"]
  31. sysconf: LINE 141: directive=[atacyrix_load] value=["NO"]
  32. sysconf: LINE 142: directive=[atahighpoint_load] value=["NO"]
  33. sysconf: LINE 143: directive=[ataintel_load] value=["NO"]
  34. sysconf: LINE 144: directive=[ataite_load] value=["NO"]
  35. sysconf: LINE 145: directive=[atajmicron_load] value=["NO"]
  36. sysconf: LINE 146: directive=[atamarvell_load] value=["NO"]
  37. sysconf: LINE 147: directive=[atamicron_load] value=["NO"]
  38. sysconf: LINE 148: directive=[atanational_load] value=["NO"]
  39. sysconf: LINE 149: directive=[atanetcell_load] value=["NO"]
  40. sysconf: LINE 150: directive=[atanvidia_load] value=["NO"]
  41. sysconf: LINE 151: directive=[atapromise_load] value=["NO"]
  42. sysconf: LINE 152: directive=[ataserverworks_load] value=["NO"]
  43. sysconf: LINE 153: directive=[atasiliconimage_load] value=["NO"]
  44. sysconf: LINE 154: directive=[atasis_load] value=["NO"]
  45. sysconf: LINE 155: directive=[atavia_load] value=["NO"]
  46. sysconf: LINE 164: directive=[cd9660_load] value=["NO"]
  47. sysconf: LINE 165: directive=[coda_load] value=["NO"]
  48. sysconf: LINE 166: directive=[fdescfs_load] value=["NO"]
  49. sysconf: LINE 167: directive=[linprocfs_load] value=["NO"]
  50. sysconf: LINE 168: directive=[linsysfs_load] value=["NO"]
  51. sysconf: LINE 169: directive=[msdosfs_load] value=["NO"]
  52. sysconf: LINE 170: directive=[nfsclient_load] value=["NO"]
  53. sysconf: LINE 171: directive=[nfsserver_load] value=["NO"]
  54. sysconf: LINE 172: directive=[ntfs_load] value=["NO"]
  55. sysconf: LINE 173: directive=[ntfs_iconv_load] value=["NO"]
  56. sysconf: LINE 174: directive=[nullfs_load] value=["NO"]
  57. sysconf: LINE 175: directive=[portalfs_load] value=["NO"]
  58. sysconf: LINE 176: directive=[procfs_load] value=["NO"]
  59. sysconf: LINE 177: directive=[reiserfs_load] value=["NO"]
  60. sysconf: LINE 178: directive=[unionfs_load] value=["NO"]
  61. sysconf: LINE 179: directive=[xfs_load] value=["NO"]
  62. sysconf: LINE 180: directive=[zfs_load] value=["NO"]
  63. sysconf: LINE 184: directive=[geom_bde_load] value=["NO"]
  64. sysconf: LINE 185: directive=[geom_ccd_load] value=["NO"]
  65. sysconf: LINE 187: directive=[geom_concat_load] value=["NO"]
  66. sysconf: LINE 188: directive=[geom_eli_load] value=["NO"]
  67. sysconf: LINE 189: directive=[geom_gate_load] value=["NO"]
  68. sysconf: LINE 191: directive=[geom_journal_load] value=["NO"]
  69. sysconf: LINE 192: directive=[geom_label_load] value=["NO"]
  70. sysconf: LINE 193: directive=[geom_md_load] value=["NO"]
  71. sysconf: LINE 195: directive=[geom_mirror_load] value=["NO"]
  72. sysconf: LINE 196: directive=[geom_mountver_load] value=["NO"]
  73. sysconf: LINE 197: directive=[geom_nop_load] value=["NO"]
  74. sysconf: LINE 198: directive=[geom_raid3_load] value=["NO"]
  75. sysconf: LINE 199: directive=[geom_shsec_load] value=["NO"]
  76. sysconf: LINE 200: directive=[geom_stripe_load] value=["NO"]
  77. sysconf: LINE 201: directive=[geom_uzip_load] value=["NO"]
  78. sysconf: LINE 202: directive=[geom_vinum_load] value=["NO"]
  79. sysconf: LINE 209: directive=[firewire_load] value=["NO"]
  80. sysconf: LINE 210: directive=[fwe_load] value=["NO"]
  81. sysconf: LINE 211: directive=[fwip_load] value=["NO"]
  82. sysconf: LINE 212: directive=[fwohci_load] value=["NO"]
  83. sysconf: LINE 213: directive=[sbp_load] value=["NO"]
  84. sysconf: LINE 214: directive=[sbp_targ_load] value=["NO"]
  85. sysconf: LINE 223: directive=[screensave_load] value=["NO"]
  86. sysconf: LINE 224: directive=[screensave_name] value=["green_saver"]
  87. sysconf: LINE 231: directive=[ibcs2_load] value=["NO"]
  88. sysconf: LINE 232: directive=[ibcs2_coff_load] value=["NO"]
  89. sysconf: LINE 233: directive=[linux_load] value=["NO"]
  90. sysconf: LINE 234: directive=[lindev_load] value=["NO"]
  91. sysconf: LINE 235: directive=[svr4_load] value=["NO"]
  92. sysconf: LINE 236: directive=[streams_load] value=["NO"]
  93. sysconf: LINE 243: directive=[if_disc_load] value=["NO"]
  94. sysconf: LINE 244: directive=[if_ef_load] value=["NO"]
  95. sysconf: LINE 246: directive=[if_epair_load] value=["NO"]
  96. sysconf: LINE 247: directive=[if_faith_load] value=["NO"]
  97. sysconf: LINE 248: directive=[if_gif_load] value=["NO"]
  98. sysconf: LINE 249: directive=[if_gre_load] value=["NO"]
  99. sysconf: LINE 250: directive=[if_stf_load] value=["NO"]
  100. sysconf: LINE 251: directive=[if_tap_load] value=["NO"]
  101. sysconf: LINE 252: directive=[if_tun_load] value=["NO"]
  102. sysconf: LINE 253: directive=[if_vlan_load] value=["NO"]
  103. sysconf: LINE 254: directive=[ipfw_load] value=["NO"]
  104. sysconf: LINE 255: directive=[pf_load] value=["NO"]
  105. sysconf: LINE 262: directive=[bridgestp_load] value=["NO"]
  106. sysconf: LINE 263: directive=[miibus_load] value=["NO"]
  107. sysconf: LINE 264: directive=[if_ae_load] value=["NO"]
  108. sysconf: LINE 265: directive=[if_age_load] value=["NO"]
  109. sysconf: LINE 266: directive=[if_alc_load] value=["NO"]
  110. sysconf: LINE 267: directive=[if_ale_load] value=["NO"]
  111. sysconf: LINE 268: directive=[if_an_load] value=["NO"]
  112. sysconf: LINE 269: directive=[if_ath_load] value=["NO"]
  113. sysconf: LINE 270: directive=[if_aue_load] value=["NO"]
  114. sysconf: LINE 271: directive=[if_axe_load] value=["NO"]
  115. sysconf: LINE 272: directive=[if_bce_load] value=["NO"]
  116. sysconf: LINE 273: directive=[if_bfe_load] value=["NO"]
  117. sysconf: LINE 274: directive=[if_bge_load] value=["NO"]
  118. sysconf: LINE 275: directive=[if_bridge_load] value=["NO"]
  119. sysconf: LINE 276: directive=[if_bwi_load] value=["NO"]
  120. sysconf: LINE 277: directive=[if_bwn_load] value=["NO"]
  121. sysconf: LINE 278: directive=[if_bxe_load] value=["NO"]
  122. sysconf: LINE 279: directive=[if_carp_load] value=["NO"]
  123. sysconf: LINE 280: directive=[if_cas_load] value=["NO"]
  124. sysconf: LINE 281: directive=[if_cm_load] value=["NO"]
  125. sysconf: LINE 282: directive=[if_cs_load] value=["NO"]
  126. sysconf: LINE 283: directive=[if_cue_load] value=["NO"]
  127. sysconf: LINE 284: directive=[if_cxgb_load] value=["NO"]
  128. sysconf: LINE 285: directive=[if_dc_load] value=["NO"]
  129. sysconf: LINE 286: directive=[if_de_load] value=["NO"]
  130. sysconf: LINE 287: directive=[if_ed_load] value=["NO"]
  131. sysconf: LINE 289: directive=[if_em_load] value=["NO"]
  132. sysconf: LINE 290: directive=[if_en_load] value=["NO"]
  133. sysconf: LINE 291: directive=[if_ep_load] value=["NO"]
  134. sysconf: LINE 292: directive=[if_et_load] value=["NO"]
  135. sysconf: LINE 293: directive=[if_ex_load] value=["NO"]
  136. sysconf: LINE 294: directive=[if_fatm_load] value=["NO"]
  137. sysconf: LINE 295: directive=[if_fe_load] value=["NO"]
  138. sysconf: LINE 297: directive=[if_fxp_load] value=["NO"]
  139. sysconf: LINE 298: directive=[if_gem_load] value=["NO"]
  140. sysconf: LINE 299: directive=[if_hatm_load] value=["NO"]
  141. sysconf: LINE 300: directive=[if_hme_load] value=["NO"]
  142. sysconf: LINE 301: directive=[if_ie_load] value=["NO"]
  143. sysconf: LINE 302: directive=[if_igb_load] value=["NO"]
  144. sysconf: LINE 303: directive=[if_ipw_load] value=["NO"]
  145. sysconf: LINE 304: directive=[if_iwi_load] value=["NO"]
  146. sysconf: LINE 306: directive=[if_iwn_load] value=["NO"]
  147. sysconf: LINE 307: directive=[if_ixgb_load] value=["NO"]
  148. sysconf: LINE 308: directive=[if_ixgbe_load] value=["NO"]
  149. sysconf: LINE 309: directive=[if_jme_load] value=["NO"]
  150. sysconf: LINE 310: directive=[if_lagg_load] value=["NO"]
  151. sysconf: LINE 311: directive=[if_le_load] value=["NO"]
  152. sysconf: LINE 312: directive=[if_lge_load] value=["NO"]
  153. sysconf: LINE 314: directive=[if_malo_load] value=["NO"]
  154. sysconf: LINE 316: directive=[if_msk_load] value=["NO"]
  155. sysconf: LINE 317: directive=[if_mxge_load] value=["NO"]
  156. sysconf: LINE 318: directive=[if_my_load] value=["NO"]
  157. sysconf: LINE 319: directive=[if_nfe_load] value=["NO"]
  158. sysconf: LINE 320: directive=[if_nge_load] value=["NO"]
  159. sysconf: LINE 321: directive=[if_nve_load] value=["NO"]
  160. sysconf: LINE 322: directive=[if_nxge_load] value=["NO"]
  161. sysconf: LINE 323: directive=[if_patm_load] value=["NO"]
  162. sysconf: LINE 324: directive=[if_pcn_load] value=["NO"]
  163. sysconf: LINE 325: directive=[if_ral_load] value=["NO"]
  164. sysconf: LINE 326: directive=[if_re_load] value=["NO"]
  165. sysconf: LINE 327: directive=[if_rl_load] value=["NO"]
  166. sysconf: LINE 328: directive=[if_rue_load] value=["NO"]
  167. sysconf: LINE 329: directive=[if_rum_load] value=["NO"]
  168. sysconf: LINE 330: directive=[if_run_load] value=["NO"]
  169. sysconf: LINE 331: directive=[if_sbni_load] value=["NO"]
  170. sysconf: LINE 332: directive=[if_sf_load] value=["NO"]
  171. sysconf: LINE 333: directive=[if_sge_load] value=["NO"]
  172. sysconf: LINE 334: directive=[if_sis_load] value=["NO"]
  173. sysconf: LINE 335: directive=[if_sk_load] value=["NO"]
  174. sysconf: LINE 336: directive=[if_sn_load] value=["NO"]
  175. sysconf: LINE 337: directive=[if_ste_load] value=["NO"]
  176. sysconf: LINE 338: directive=[if_stge_load] value=["NO"]
  177. sysconf: LINE 339: directive=[if_ti_load] value=["NO"]
  178. sysconf: LINE 340: directive=[if_tl_load] value=["NO"]
  179. sysconf: LINE 341: directive=[if_tx_load] value=["NO"]
  180. sysconf: LINE 342: directive=[if_txp_load] value=["NO"]
  181. sysconf: LINE 343: directive=[if_vge_load] value=["NO"]
  182. sysconf: LINE 344: directive=[if_vte_load] value=["NO"]
  183. sysconf: LINE 345: directive=[if_uath_load] value=["NO"]
  184. sysconf: LINE 346: directive=[if_udav_load] value=["NO"]
  185. sysconf: LINE 347: directive=[if_upgt_load] value=["NO"]
  186. sysconf: LINE 348: directive=[if_ural_load] value=["NO"]
  187. sysconf: LINE 349: directive=[if_urtw_load] value=["NO"]
  188. sysconf: LINE 350: directive=[if_vr_load] value=["NO"]
  189. sysconf: LINE 351: directive=[if_vx_load] value=["NO"]
  190. sysconf: LINE 352: directive=[if_wb_load] value=["NO"]
  191. sysconf: LINE 353: directive=[if_wi_load] value=["NO"]
  192. sysconf: LINE 354: directive=[if_wpi_load] value=["NO"]
  193. sysconf: LINE 355: directive=[if_xe_load] value=["NO"]
  194. sysconf: LINE 356: directive=[if_xl_load] value=["NO"]
  195. sysconf: LINE 357: directive=[utopia_load] value=["NO"]
  196. sysconf: LINE 363: directive=[ng_ui_load] value=["NO"]
  197. sysconf: LINE 364: directive=[ng_async_load] value=["NO"]
  198. sysconf: LINE 365: directive=[ng_bpf_load] value=["NO"]
  199. sysconf: LINE 366: directive=[ng_bridge_load] value=["NO"]
  200. sysconf: LINE 367: directive=[ng_cisco_load] value=["NO"]
  201. sysconf: LINE 368: directive=[ng_echo_load] value=["NO"]
  202. sysconf: LINE 369: directive=[ng_eiface_load] value=["NO"]
  203. sysconf: LINE 370: directive=[ng_etf_load] value=["NO"]
  204. sysconf: LINE 371: directive=[ng_ether_load] value=["NO"]
  205. sysconf: LINE 372: directive=[ng_fec_load] value=["NO"]
  206. sysconf: LINE 373: directive=[ng_frame_relay_load] value=["NO"]
  207. sysconf: LINE 374: directive=[ng_gif_load] value=["NO"]
  208. sysconf: LINE 375: directive=[ng_gif_demux_load] value=["NO"]
  209. sysconf: LINE 376: directive=[ng_hole_load] value=["NO"]
  210. sysconf: LINE 377: directive=[ng_hub_load] value=["NO"]
  211. sysconf: LINE 378: directive=[ng_iface_load] value=["NO"]
  212. sysconf: LINE 379: directive=[ng_ip_input_load] value=["NO"]
  213. sysconf: LINE 380: directive=[ng_ksocket_load] value=["NO"]
  214. sysconf: LINE 381: directive=[ng_l2tp_load] value=["NO"]
  215. sysconf: LINE 382: directive=[ng_lmi_load] value=["NO"]
  216. sysconf: LINE 383: directive=[ng_mppc_load] value=["NO"]
  217. sysconf: LINE 385: directive=[ng_netflow_load] value=["NO"]
  218. sysconf: LINE 386: directive=[ng_one2many_load] value=["NO"]
  219. sysconf: LINE 387: directive=[ng_ppp_load] value=["NO"]
  220. sysconf: LINE 388: directive=[ng_pppoe_load] value=["NO"]
  221. sysconf: LINE 389: directive=[ng_pptpgre_load] value=["NO"]
  222. sysconf: LINE 390: directive=[ng_rfc1490_load] value=["NO"]
  223. sysconf: LINE 391: directive=[ng_socket_load] value=["NO"]
  224. sysconf: LINE 392: directive=[ng_split_load] value=["NO"]
  225. sysconf: LINE 394: directive=[ng_sppp_load] value=["NO"]
  226. sysconf: LINE 395: directive=[ng_tee_load] value=["NO"]
  227. sysconf: LINE 396: directive=[ng_tty_load] value=["NO"]
  228. sysconf: LINE 398: directive=[ng_vjc_load] value=["NO"]
  229. sysconf: LINE 399: directive=[ng_vlan_load] value=["NO"]
  230. sysconf: LINE 405: directive=[sound_load] value=["NO"]
  231. sysconf: LINE 406: directive=[snd_ad1816_load] value=["NO"]
  232. sysconf: LINE 407: directive=[snd_als4000_load] value=["NO"]
  233. sysconf: LINE 408: directive=[snd_atiixp_load] value=["NO"]
  234. sysconf: LINE 409: directive=[snd_cmi_load] value=["NO"]
  235. sysconf: LINE 410: directive=[snd_cs4281_load] value=["NO"]
  236. sysconf: LINE 411: directive=[snd_csa_load] value=["NO"]
  237. sysconf: LINE 412: directive=[snd_ds1_load] value=["NO"]
  238. sysconf: LINE 413: directive=[snd_emu10k1_load] value=["NO"]
  239. sysconf: LINE 414: directive=[snd_emu10kx_load] value=["NO"]
  240. sysconf: LINE 415: directive=[snd_envy24_load] value=["NO"]
  241. sysconf: LINE 416: directive=[snd_envy24ht_load] value=["NO"]
  242. sysconf: LINE 417: directive=[snd_es137x_load] value=["NO"]
  243. sysconf: LINE 418: directive=[snd_ess_load] value=["NO"]
  244. sysconf: LINE 419: directive=[snd_fm801_load] value=["NO"]
  245. sysconf: LINE 420: directive=[snd_hda_load] value=["NO"]
  246. sysconf: LINE 421: directive=[snd_ich_load] value=["NO"]
  247. sysconf: LINE 422: directive=[snd_maestro_load] value=["NO"]
  248. sysconf: LINE 423: directive=[snd_maestro3_load] value=["NO"]
  249. sysconf: LINE 424: directive=[snd_mss_load] value=["NO"]
  250. sysconf: LINE 425: directive=[snd_neomagic_load] value=["NO"]
  251. sysconf: LINE 426: directive=[snd_sb16_load] value=["NO"]
  252. sysconf: LINE 427: directive=[snd_sb8_load] value=["NO"]
  253. sysconf: LINE 428: directive=[snd_sbc_load] value=["NO"]
  254. sysconf: LINE 429: directive=[snd_solo_load] value=["NO"]
  255. sysconf: LINE 430: directive=[snd_spicds_load] value=["NO"]
  256. sysconf: LINE 431: directive=[snd_t4dwave_load] value=["NO"]
  257. sysconf: LINE 432: directive=[snd_via8233_load] value=["NO"]
  258. sysconf: LINE 433: directive=[snd_via82c686_load] value=["NO"]
  259. sysconf: LINE 434: directive=[snd_vibes_load] value=["NO"]
  260. sysconf: LINE 435: directive=[snd_driver_load] value=["NO"]
  261. sysconf: LINE 441: directive=[usb_load] value=["NO"]
  262. sysconf: LINE 442: directive=[udbp_load] value=["NO"]
  263. sysconf: LINE 443: directive=[ugen_load] value=["NO"]
  264. sysconf: LINE 444: directive=[ucycom_load] value=["NO"]
  265. sysconf: LINE 445: directive=[ufm_load] value=["NO"]
  266. sysconf: LINE 446: directive=[uhid_load] value=["NO"]
  267. sysconf: LINE 447: directive=[ukbd_load] value=["NO"]
  268. sysconf: LINE 448: directive=[ulpt_load] value=["NO"]
  269. sysconf: LINE 449: directive=[ums_load] value=["NO"]
  270. sysconf: LINE 450: directive=[umass_load] value=["NO"]
  271. sysconf: LINE 451: directive=[umct_load] value=["NO"]
  272. sysconf: LINE 452: directive=[umodem_load] value=["NO"]
  273. sysconf: LINE 453: directive=[uplcom_load] value=["NO"]
  274. sysconf: LINE 454: directive=[urio_load] value=["NO"]
  275. sysconf: LINE 455: directive=[uvisor_load] value=["NO"]
  276. sysconf: LINE 456: directive=[if_aue_load] value=["NO"]
  277. sysconf: LINE 457: directive=[if_axe_load] value=["NO"]
  278. sysconf: LINE 458: directive=[if_cdce_load] value=["NO"]
  279. sysconf: LINE 459: directive=[if_cue_load] value=["NO"]
  280. sysconf: LINE 460: directive=[if_kue_load] value=["NO"]
  281. sysconf: LINE 461: directive=[if_rae_load] value=["NO"]
  282. sysconf: LINE 462: directive=[if_rum_load] value=["NO"]
  283. sysconf: LINE 463: directive=[if_uath_load] value=["NO"]
  284. sysconf: LINE 464: directive=[if_run_load] value=["NO"]
  285. sysconf: LINE 465: directive=[if_ural_load] value=["NO"]
  286. sysconf: LINE 466: directive=[if_zyd_load] value=["NO"]
  287. sysconf: LINE 467: directive=[snd_uaudio_load] value=["NO"]
  288. sysconf: LINE 473: directive=[aio_load] value=["NO"]
  289. sysconf: LINE 474: directive=[bktr_load] value=["NO"]
  290. sysconf: LINE 475: directive=[ispfw_load] value=["NO"]
  291. sysconf: LINE 476: directive=[agp_load] value=["NO"]
  292. sysconf: LINE 477: directive=[accf_data_load] value=["NO"]
  293. sysconf: LINE 478: directive=[accf_dns_load] value=["NO"]
  294. sysconf: LINE 479: directive=[accf_http_load] value=["NO"]
  295. sysconf: LINE 480: directive=[ppi_load] value=["NO"]
  296. sysconf: LINE 481: directive=[pps_load] value=["NO"]
  297. sysconf: LINE 482: directive=[puc_load] value=["NO"]
  298. sysconf: LINE 483: directive=[random_load] value=["NO"]
  299. sysconf: LINE 484: directive=[speaker_load] value=["NO"]
  300. sysconf: LINE 485: directive=[coretemp_load] value=["NO"]
  301. sysconf: LINE 486: directive=[vkbd_load] value=["NO"]
  302. sysconf: LINE 487: directive=[vpd_load] value=["NO"]
  303. sysconf: LINE 488: directive=[vpo_load] value=["NO"]
  304. sysconf: LINE 489: directive=[amdtemp_load] value=["NO"]
  305. sysconf: LINE 490: directive=[tpm_load] value=["NO"]
  306. sysconf: LINE 491: directive=[wbwd_load] value=["NO"]
  307. sysconf: LINE 497: directive=[acpi_dsdt_load] value=["NO"]
  308. sysconf: LINE 498: directive=[acpi_dsdt_type] value=["acpi_dsdt"]
  309. sysconf: LINE 499: directive=[acpi_dsdt_name] value=["/boot/acpi_dsdt.aml"]
  310. sysconf: LINE 501: directive=[acpi_video_load] value=["NO"]
  311. sysconf: LINE 507: directive=[mac_biba_load] value=["NO"]
  312. sysconf: LINE 508: directive=[mac_bsdextended_load] value=["NO"]
  313. sysconf: LINE 509: directive=[mac_ifoff] value=["NO"]
  314. sysconf: LINE 510: directive=[mac_mls_load] value=["NO"]
  315. sysconf: LINE 511: directive=[mac_none_load] value=["NO"]
  316. sysconf: LINE 512: directive=[mac_partition_load] value=["NO"]
  317. sysconf: LINE 513: directive=[mac_seeotheruids_load] value=["NO"]
  318. sysconf: LINE 531: directive=[zpool_cache_load] value=["YES"]
  319. sysconf: LINE 532: directive=[zpool_cache_type] value=["/boot/zfs/zpool.cache"]
  320. sysconf: LINE 533: directive=[zpool_cache_name] value=["/boot/zfs/zpool.cache"]
  321. sysconf: res=0
  322.  
  323. real 0m0.181s
  324. user 0m0.009s
  325. sys 0m0.079s
  326.  
  327. dteske@scribe9.vicor.com sysconf $ awk '/unknown/,/^$/{print;if ($0=="")exit}' conf.c
  328. * figpar call-back for `unknown' variables
  329. * NB: Every variable is unknown at first until added to the config array.
  330. */
  331. int
  332. setnew(struct config *option, uint32_t line __unused, char *directive,
  333. char *value)
  334. {
  335. warnx("LINE %u: directive=[%s] value=[%s]", line, directive, value);
  336. return 0;
  337. }
Add Comment
Please, Sign In to add comment