_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
On Mon, 2006-06-12 at 19:06 -0400, Amit Gud wrote:
> Neil,
>
> It avoids code duplication (of parsing the options and error checking)
> if we don't branch two different binaries for the NFSv4 and older versions.
>
> +
> + if(!nomtab)
> + add_mtab(spec, mount_point, nfs_mount_vers == 4 ? "nfs4" : "nfs",
> + flags, extra_opts, 0, 0);
If mtab~ is busy won't this cause mtab to get out of sync?
Ian
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
Ian Kent wrote:
> On Mon, 2006-06-12 at 19:06 -0400, Amit Gud wrote:
>> Neil,
>>
>> It avoids code duplication (of parsing the options and error checking)
>> if we don't branch two different binaries for the NFSv4 and older versions.
>>
>
>> +
>> + if(!nomtab)
>> + add_mtab(spec, mount_point, nfs_mount_vers == 4 ? "nfs4" : "nfs",
>> + flags, extra_opts, 0, 0);
>
> If mtab~ is busy won't this cause mtab to get out of sync?
>
Cannot really spin over until the file lock is achieved, it may
potentially never be.
AG
--
May the source be with you.
http://www.cis.ksu.edu/~gud
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs