Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Mar 2018 08:43:33 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        Warner Losh <imp@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r330705 - head/sbin/mount
Message-ID:  <20180310084333.GC18340@FreeBSD.org>
In-Reply-To: <201803092132.w29LW8QD030490@repo.freebsd.org>
References:  <201803092132.w29LW8QD030490@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 09, 2018 at 09:32:08PM +0000, Warner Losh wrote:
> New Revision: 330705
> URL: https://svnweb.freebsd.org/changeset/base/330705
> 
> Log:
>   Remove decade's old whine about msdos vs msdosfs.
>   
>   Retain the compatibility silently though.

Shouldn't it be the other way around?  That is, after a decade of whining
people would've updated their configs/scripts and old (deprecated) gimmick
can now be removed?  That's what usually implied by "deprecated", right?

./danfe

> Modified: head/sbin/mount/mount.c
> ...
> @@ -589,11 +589,8 @@ mountfs(const char *vfstype, const char *spec, const c
>  		optbuf = catopt(optbuf, "update");
>  
>  	/* Compatibility glue. */
> -	if (strcmp(vfstype, "msdos") == 0) {
> -		warnx(
> -		    "Using \"-t msdosfs\", since \"-t msdos\" is deprecated.");
> +	if (strcmp(vfstype, "msdos") == 0)
>  		vfstype = "msdosfs";
> -	}



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