Lines Matching defs:fstab
1708 struct zone_fstab fstab;
1842 while (zonecfg_getfsent(handle, &fstab) == Z_OK) {
1847 export_prop(of, PT_DIR, fstab.zone_fs_dir);
1848 export_prop(of, PT_SPECIAL, fstab.zone_fs_special);
1849 export_prop(of, PT_RAW, fstab.zone_fs_raw);
1850 export_prop(of, PT_TYPE, fstab.zone_fs_type);
1851 for (optptr = fstab.zone_fs_options; optptr != NULL;
1870 zonecfg_free_fs_option_list(fstab.zone_fs_options);
2569 fill_in_fstab(cmd_t *cmd, struct zone_fstab *fstab, boolean_t fill_in_only)
2577 bzero(fstab, sizeof (*fstab));
2587 (void) strlcpy(fstab->zone_fs_dir, pp->pv_simple,
2588 sizeof (fstab->zone_fs_dir));
2591 (void) strlcpy(fstab->zone_fs_special, pp->pv_simple,
2592 sizeof (fstab->zone_fs_special));
2595 (void) strlcpy(fstab->zone_fs_raw, pp->pv_simple,
2596 sizeof (fstab->zone_fs_raw));
2599 (void) strlcpy(fstab->zone_fs_type, pp->pv_simple,
2600 sizeof (fstab->zone_fs_type));
2610 return (zonecfg_lookup_filesystem(handle, fstab));
2930 struct zone_fstab fstab;
2932 if ((err = fill_in_fstab(cmd, &fstab, B_FALSE)) != Z_OK) {
2936 if ((err = zonecfg_delete_filesystem(handle, &fstab)) != Z_OK)
2940 zonecfg_free_fs_option_list(fstab.zone_fs_options);
4884 output_fs(FILE *fp, struct zone_fstab *fstab)
4889 output_prop(fp, PT_DIR, fstab->zone_fs_dir, B_TRUE);
4890 output_prop(fp, PT_SPECIAL, fstab->zone_fs_special, B_TRUE);
4891 output_prop(fp, PT_RAW, fstab->zone_fs_raw, B_TRUE);
4892 output_prop(fp, PT_TYPE, fstab->zone_fs_type, B_TRUE);
4894 for (this = fstab->zone_fs_options; this != NULL;
5721 struct zone_fstab fstab;
5817 while (zonecfg_getfsent(handle, &fstab) == Z_OK) {
5818 check_reqd_prop(fstab.zone_fs_dir, RT_FS, PT_DIR, &ret_val);
5819 check_reqd_prop(fstab.zone_fs_special, RT_FS, PT_SPECIAL,
5821 check_reqd_prop(fstab.zone_fs_type, RT_FS, PT_TYPE, &ret_val);
5823 zonecfg_free_fs_option_list(fstab.zone_fs_options);