> Date: Tue, 5 Oct 1999 12:33:24 -0700 (PDT)
> From: Doug White <[EMAIL PROTECTED]>
> Subject: Re: Proposal for the kill-list (userland nfs)
>
> On Tue, 5 Oct 1999, Martin Blapp wrote:
>
> > > If you want to do this, I suggest a round of releases that have mount
> > > complain about the @ syntax before you kill it. POLA, you know.
> > >
> > > A complaint such as:
> > >
> > > WARNING: path@server syntax is deprecated, use server:path
> > >
> > > would be sufficient.
> >
> > A good idea, but how can one make a difference between delimitors
> > and path-components ? This would be impossible in some cases.
>
> Well, the current code must differentiate in some way, so attach the
> warning to that.

  Looking at the code (on 3.2-STABLE) it looks like the suggested warning
could be added but inserting
warnx("WARNING: path@server syntax is deprecated, use server:path");
  before line 667 of /usr/src/sbin/mount_nfs.c. But I don't see anywhere
where it differentiates between delimitors and path-components. It is just a
simple strchr() and the first @ or : it finds is assumed the be the
delimitor. If you meant it as a path-component, you are SOL. In light of
that, I think that adding the warning on line 667 then would be all that is
needed. Unfortunately, this is just from my read of that section of code, as
I don't have NFS running anywhere to test the actual behavior.

  Kelly
 ~[EMAIL PROTECTED]~
  FreeBSD - The Power To Serve - http://www.freebsd.org/
  Join Team FreeBSD - http://www.posi.net/freebsd/Team-FreeBSD/



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to