Home
last modified time | relevance | path

Searched refs:fs_name (Results 1 – 10 of 10) sorted by relevance

/openbsd/usr.sbin/amd/amd/
H A Dumount_fs.c41 umount_fs(char *fs_name) in umount_fs() argument
46 error = unmount(fs_name, 0); in umount_fs()
54 plog(XLOG_WARNING, "unmount: %s is not mounted", fs_name); in umount_fs()
61 dlog("%s: unmount: %m", fs_name); in umount_fs()
67 dlog("%s: unmount: %m", fs_name); in umount_fs()
H A Dhost_ops.c128 do_mount(fhstatus *fhp, char *dir, char *fs_name, char *opts, mntfs *mf) in do_mount() argument
133 dlog("host: mounting fs %s on %s", fs_name, dir); in do_mount()
143 return mount_nfs_fh(fhp, dir, fs_name, opts, mf); in do_mount()
229 char fs_name[PATH_MAX], *rfs_dir; in host_fmount() local
344 strlcpy(fs_name, mf->mf_info, sizeof(fs_name)); in host_fmount()
345 if ((rfs_dir = strchr(fs_name, ':')) == (char *) 0) { in host_fmount()
354 strlcpy(rfs_dir, ex->ex_dir, fs_name + sizeof fs_name - rfs_dir); in host_fmount()
356 if (do_mount(&fp[j], mntpt, fs_name, mf->mf_mopts, mf) == 0) in host_fmount()
H A Dnfs_ops.c448 mount_nfs_fh(fhstatus *fhp, char *dir, char *fs_name, char *opts, in mount_nfs_fh() argument
472 if (!(colon = strchr(fs_name, ':'))) in mount_nfs_fh()
474 strlcpy(host, fs_name, sizeof(host)); in mount_nfs_fh()
485 mnt.mnt_fsname = fs_name; in mount_nfs_fh()
617 mount_nfs(char *dir, char *fs_name, char *opts, mntfs *mf) in mount_nfs() argument
624 if (!(colon = strchr(fs_name, ':'))) in mount_nfs()
628 dlog("locating fhandle for %s", fs_name); in mount_nfs()
635 return mount_nfs_fh(&fhs, dir, fs_name, opts, mf); in mount_nfs()
638 plog(XLOG_ERROR, "Missing filehandle for %s", fs_name); in mount_nfs()
642 return mount_nfs_fh((fhstatus *) mf->mf_private, dir, fs_name, opts, mf); in mount_nfs()
H A Dufs_ops.c72 mount_ufs(char *dir, char *fs_name, char *opts) in mount_ufs() argument
89 mnt.mnt_fsname = fs_name; in mount_ufs()
97 ufs_args.fspec = fs_name; in mount_ufs()
/openbsd/sbin/mount_ext2fs/
H A Dmount_ext2fs.c59 char fs_name[PATH_MAX], *errcause; in main() local
78 if (realpath(argv[1], fs_name) == NULL) /* The mount point. */ in main()
88 if (mount(MOUNT_EXT2FS, fs_name, mntflags, &args) == -1) { in main()
104 errx(1, "%s on %s: %s", args.fspec, fs_name, errcause); in main()
/openbsd/sbin/mount_ffs/
H A Dmount_ffs.c66 char fs_name[PATH_MAX], *errcause; in main() local
85 if (realpath(argv[1], fs_name) == NULL) /* The mount point. */ in main()
98 if (mount(MOUNT_FFS, fs_name, mntflags, &args) == -1) { in main()
114 errx(1, "%s on %s: %s", args.fspec, fs_name, errcause); in main()
/openbsd/sys/arch/amd64/stand/pxeboot/
H A Ddevopen.c37 extern char *fs_name[];
81 if ((fs_name[i] != NULL) && in devopen()
82 (strncmp(fname, fs_name[i], l) == 0)) { in devopen()
H A Dconf.c72 char *fs_name[] = { variable
75 int nfsname = nitems(fs_name);
/openbsd/sys/arch/i386/stand/pxeboot/
H A Ddevopen.c37 extern char *fs_name[];
81 if ((fs_name[i] != NULL) && in devopen()
82 (strncmp(fname, fs_name[i], l) == 0)) { in devopen()
H A Dconf.c74 char *fs_name[] = { variable
77 int nfsname = nitems(fs_name);