Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 May 2006 19:47:03 +0400 (MSD)
From:      Maxim Konovalov <maxim@macomnet.ru>
To:        Craig Rodrigues <rodrigc@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/ufs/ffs ffs_vfsops.c
Message-ID:  <20060529193947.M63890@mp2.macomnet.net>
In-Reply-To: <200605261244.k4QCiCsl057619@repoman.freebsd.org>
References:  <200605261244.k4QCiCsl057619@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Craig,

Reply to a random commit.

On Fri, 26 May 2006, 12:44-0000, Craig Rodrigues wrote:

> rodrigc     2006-05-26 12:44:12 UTC
>
>   FreeBSD src repository
>
>   Modified files:
>     sys/ufs/ffs          ffs_vfsops.c
>   Log:
>   Remove "update" from ffs_opts.  It has been moved to global_opts
>   in vfs_mount.c.

It seems after recent changes our mount code behaves in very strange
way:

[root@sonnie ~]# grep vol0 /etc/exports
/vol0 -ro
[root@sonnie ~]# mount | grep vol0
/dev/ad0s2d on /vol0 (ufs, NFS exported, local, soft-updates)
[root@sonnie ~]# mount -u -o ro /vol0
mount: /dev/ad0s2d: Operation not permitted
[root@sonnie ~]# mount -u -r /vol0
mount: /dev/ad0s2d: Operation not permitted
[root@sonnie ~]# sed -i.bak 's@/vol0@#/vol0@' /etc/exports && killall
-HUP mountd
[root@sonnie ~]# mount | grep vol0
/dev/ad0s2d on /vol0 (ufs, local, soft-updates)
[root@sonnie ~]# mount -u -o ro /vol0
mount: /dev/ad0s2d: No such file or directory
[root@sonnie ~]# mount -u -r /vol0
mount: /dev/ad0s2d: No such file or directory

-- 
Maxim Konovalov



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060529193947.M63890>