svn commit: r330705 - head/sbin/mount

Alexey Dokuchaev danfe at FreeBSD.org
Sat Mar 10 08:43:33 UTC 2018


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";
> -	}


More information about the svn-src-all mailing list