Lines Matching refs:mnt
214 struct mntent mnt;
220 GETTOK(mnt.mnt_fsname, line);
221 GETTOK(mnt.mnt_dir, NULL);
222 GETTOK(mnt.mnt_type, NULL);
223 GETTOK(mnt.mnt_opts, NULL);
225 mnt.mnt_freq = 0;
226 mnt.mnt_passno = 0;
230 if (strcmp(mnt.mnt_type, "ufs") == 0) {
231 mnt.mnt_type = "4.2";
239 if (mnt.mnt_opts != NULL)
240 devnumstr = (char *)strchr(mnt.mnt_opts, '=');
245 mnt.mnt_fsname, mnt.mnt_dir, mnt.mnt_type,
246 mnt.mnt_opts, mnt.mnt_freq, mnt.mnt_passno);
255 mnt.mnt_fsname, mnt.mnt_dir, mnt.mnt_type,
256 mnt.mnt_opts, devnum, remainder ? remainder : "",
257 mnt.mnt_freq, mnt.mnt_passno);
266 struct mntent mnt;
269 GETTOK(mnt.mnt_fsname, line);
271 GETTOK(mnt.mnt_dir, NULL);
272 if (mnt.mnt_dir == NULL && strcmp(mnt.mnt_fsname, "/dev/root") == 0)
273 mnt.mnt_dir = "/";
274 GETTOK(mnt.mnt_type, NULL);
277 GETTOK(mnt.mnt_opts, NULL);
278 if (mnt.mnt_opts == NULL)
279 mnt.mnt_opts = "rw";
280 mnt.mnt_freq = 0;
281 mnt.mnt_passno = 0;
285 if (strcmp(mnt.mnt_type, "ufs") == 0) {
286 mnt.mnt_type = "4.2";
290 mnt.mnt_fsname, mnt.mnt_dir, mnt.mnt_type,
291 mnt.mnt_opts, mnt.mnt_freq, mnt.mnt_passno);