cvs commit: src/sbin/mount_nfs mount_nfs.c
Yar Tikhiy
yar at comp.chem.msu.su
Mon Feb 18 06:20:31 PST 2008
On Mon, Feb 18, 2008 at 10:48:46AM +0000, Craig Rodrigues wrote:
> On Mon, Feb 18, 2008 at 10:24:48AM +0000, Yar Tikhiy wrote:
> > yar 2008-02-18 10:24:48 UTC
> >
> > FreeBSD src repository
> >
> > Modified files:
> > sbin/mount_nfs mount_nfs.c
> > Log:
> > Add a work-around to make it possible again to remount
> > NFS root r/w.
>
> This is really a horrible hack. If this hack is necessary
> due to your 1.274 change to vfs_mount.c, can you back this
This horrible hack is necessary because Someone(tm) started converting
our NFS client to the new nmount(2) semantics a year ago but he has
never finished the job. Now the NFS client just uses old mount(2)
semantics over nmount(2) by stuffing all NFS-related options in
"nfs_args" and passing the standard options as bit flags. At the
same time, the kernel part of the NFS client already relies on
string options instead of bit flags -- ever tried to remount a r/w
NFS mount to read-only since nfs_vfsops.c #1.176? Hence the hack.
> change and 1.274 to vfs_mount.c out, until we can analyze
> the full implications of your change, and properly fix the
> necessary infrastructure, instead of committing hack after hack?
Which else _hacks_ did I commit?
--
Yar
More information about the cvs-src
mailing list