|
̾??getvfsent , setvfsent ,
endvfsent , vfsisloadable ,
vfsload —
???ۥե????륷???ƥ??⥸?塼????????
?饤?֥???Standard C Library (libc, -lc)????<sys/param.h>
<sys/mount.h>
struct ovfsconf *
getvfsent (void)
void
setvfsent (int cachelist)
void
endvfsent (void)
int
vfsisloadable (const char *name)
int
vfsload (const char *name)
????getvfsent ()
?ؿ??ˤ??äơ??????ͥ뤬???????륤?ȡ????Ѥβ??ۥե????륷???ƥ??⥸?塼??
?Υꥹ?Ȥˡ???ñ?˥????????Ǥ??ޤ????ꥹ?ȤΥե????륷???ƥ???
1 ???? 1
?ĤŤ??ʳ?Ū?˽??????ޤ??????ѤǤ????ǡ??????????ʾ??ʤ??ʤ??ȡ?
?̥? ?ݥ????֤??ޤ?????¤??
“struct ovfsconf ”
?Υե??????ɤϼ??ΤȤ????Ǥ???
?ե饰?ϼ??Τ褦???????????Ƥ??ޤ?:
mount_cd9660(8) ?Υ????????????ä????????˼????ޤ??? struct vfsconf *vfc; int error; /* ?????˥??åȥ??åץ????ɤ????? */ error = getvfsbyname("cd9660", &vfc); if (error && vfsisloadable("cd9660")) { if (vfsload("cd9660")) err(EX_OSERR, "vfsload(cd9660)"); endvfsent(); /* flush cache */ error = getvfsbyname("cd9660", &vfc); } if (error) errx(1, "cd9660 filesystem is not available"); if (mount(vfc.vfc_name, dir, mntflags, &args) < 0) err(1, NULL); ??????getvfsent ()
?롼?????ϡ?????????????Ū?ǡ?????¤?ΤΥݥ????Ԥ?????
?̥? ?ݥ????֤??ޤ?????????
sysctl(3)
?ޤ???
malloc(3)
?Ǽ??Ԥ????????ϡ? errno
?????????ؿ??Ѥ˥ɥ????????Ȥ??줿?ͤ?
1 ?Ĥ?
???ꤵ???뤳?Ȥ??????ޤ???????¾?ξ???
errno ?ϲ??Ѥ????ޤ?????
??Ϣ????kldload(2), mount(2), mount(8)???????Υ????ɲ?ǽ?ե????륷???ƥॵ?ݡ??Ȥϡ? Terry Lambert ?ˤ??????ѤΥ????ɲ?ǽ?????ͥ??⥸?塼?륵?ݡ??Ȥ??١????ˡ? Garrett A. Wollman ?ˤ??äƽ??ޤ?????????getvfsent () ?ؿ??ե??ߥ???
FreeBSD 2.0
?ǤϤ??????о줷?ޤ?????
Visit the GSP FreeBSD Man Page Interface. |