Lines Matching defs:fsname
143 char fsname[FSMNT_SIZE];
145 memcpy(fsname, lfs_sb_getfsmnt(fs), sizeof(fsname));
146 fsname[sizeof(fsname) - 1] = '\0';
156 return init_fs(fs, fsname);
162 * We interpret "fsname" as the name of the raw disk device.
165 init_unmounted_fs(struct clfs *fs, char *fsname)
170 fs->clfs_dev = fsname;
180 strncpy(fs->lfs_fsmnt, fsname, MNAMELEN);
194 syslog(LOG_NOTICE, "%s: unmounted cleaner starting", fsname);
205 * XXX "fsname" is a dir or a char special device. Should
210 init_fs(struct clfs *fs, char *fsname)
231 if (kops.ko_statvfs(fsname, &sf, ST_WAIT) < 0)
252 if ((rootfd = kops.ko_open(fsname, O_RDONLY, 0)) < 0)
296 syslog(LOG_ERR, "%s: not LFS", fsname);
304 syslog(LOG_ERR, "%s: not a version 2 LFS", fsname);
308 /* Assume fsname is the mounted name */
309 strncpy(mnttmp, fsname, sizeof(mnttmp));
334 syslog(LOG_NOTICE, "%s: attaching cleaner", fsname);