I will sponsor this bug.

sarah
******
> [PATCH] for bug 4759320 - read-only UFS global mounts
> should not try to
> turn on logging
> 
> Note that I can't fully test this, since I don't have
> the ability to
> mount -g.
> 
> --- clean/usr/src/cmd/fs.d/ufs/mount/mount.c
>        Mon Jul  4 18:47:11
> 2005
> +++ tinker/usr/src/cmd/fs.d/ufs/mount/mount.c
>       Tue Jul 19 19:34:31
> 2005
> @@ -534,7 +534,8 @@
> * so that it shows up in the mnttab of all
> ab of all nodes. We add
>          * logging option if its not specified.
>          */
> -       if (gflg || findopt(mnt->mnt_mntopts,
> MNTOPT_GLOBAL)) {
> +       if ((gflg || findopt(mnt->mnt_mntopts,
> MNTOPT_GLOBAL)) &&
> +           !(flags & MS_RDONLY)) {
>                 if (mnt->mnt_mntopts != '\0')
> (void)
> (void) strcat(mnt->mnt_mntopts,
> mnt->mnt_mntopts, ",");
> (void) strcat(mnt->mnt_mntopts,
> nt->mnt_mntopts, MNTOPT_LOGGING);
> 
> 
> _______________________________________________
> request-sponsor mailing list
> request-sponsor at opensolaris.org
>
This message posted from opensolaris.org

Reply via email to