Changeset View
Changeset View
Standalone View
Standalone View
sbin/mount/mount.c
Show First 20 Lines • Show All 339 Lines • ▼ Show 20 Lines | if (all) { | ||||
continue; | continue; | ||||
if (hasopt(fs->fs_mntops, "late") && !late) | if (hasopt(fs->fs_mntops, "late") && !late) | ||||
continue; | continue; | ||||
if (hasopt(fs->fs_mntops, "failok")) | if (hasopt(fs->fs_mntops, "failok")) | ||||
failok = 1; | failok = 1; | ||||
else | else | ||||
failok = 0; | failok = 0; | ||||
if (!(init_flags & MNT_UPDATE) && | if (!(init_flags & MNT_UPDATE) && | ||||
!hasopt(fs->fs_mntops, "update") && | |||||
ismounted(fs, mntbuf, mntsize)) | ismounted(fs, mntbuf, mntsize)) | ||||
continue; | continue; | ||||
options = update_options(options, fs->fs_mntops, | options = update_options(options, fs->fs_mntops, | ||||
mntbuf->f_flags); | mntbuf->f_flags); | ||||
if (mountfs(fs->fs_vfstype, fs->fs_spec, | if (mountfs(fs->fs_vfstype, fs->fs_spec, | ||||
fs->fs_file, init_flags, options, | fs->fs_file, init_flags, options, | ||||
fs->fs_mntops) && !failok) | fs->fs_mntops) && !failok) | ||||
rval = 1; | rval = 1; | ||||
▲ Show 20 Lines • Show All 613 Lines • Show Last 20 Lines |