cvs commit: src/sys/ufs/ffs ffs_vfsops.c
Maxim Konovalov
maxim at macomnet.ru
Mon May 29 08:47:55 PDT 2006
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 at sonnie ~]# grep vol0 /etc/exports
/vol0 -ro
[root at sonnie ~]# mount | grep vol0
/dev/ad0s2d on /vol0 (ufs, NFS exported, local, soft-updates)
[root at sonnie ~]# mount -u -o ro /vol0
mount: /dev/ad0s2d: Operation not permitted
[root at sonnie ~]# mount -u -r /vol0
mount: /dev/ad0s2d: Operation not permitted
[root at sonnie ~]# sed -i.bak 's@/vol0@#/vol0@' /etc/exports && killall
-HUP mountd
[root at sonnie ~]# mount | grep vol0
/dev/ad0s2d on /vol0 (ufs, local, soft-updates)
[root at sonnie ~]# mount -u -o ro /vol0
mount: /dev/ad0s2d: No such file or directory
[root at sonnie ~]# mount -u -r /vol0
mount: /dev/ad0s2d: No such file or directory
--
Maxim Konovalov
More information about the cvs-src
mailing list