Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Sep 2016 20:32:36 +0200
From:      "Ronald Klop" <ronald-lists@klop.ws>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org, "Edward Tomasz Napierala" <trasz@freebsd.org>
Subject:   Re: svn commit: r305968 - head/etc/autofs
Message-ID:  <op.yn1u4maukndu52@d93fd8ae.cm-21.dynamic.ziggo.nl>
In-Reply-To: <201609190851.u8J8pRDD068198@repo.freebsd.org>
References:  <201609190851.u8J8pRDD068198@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

Your commit message says in words exactly what the diff says in code.  
Would you like to elaborate on why the change is made? I'm curious   
because this could cause severe damage to the filesystem on unclean eject  
of the media.

Regards,
Ronald.


On Mon, 19 Sep 2016 10:51:27 +0200, Edward Tomasz Napierala  
<trasz@freebsd.org> wrote:

> Author: trasz
> Date: Mon Sep 19 08:51:27 2016
> New Revision: 305968
> URL: https://svnweb.freebsd.org/changeset/base/305968
>
> Log:
>   Make autofs use the "async" flag for msdosfs and ufs filesystems  
> mounted
>   on /media.
>  MFC after:	1 month
>
> Modified:
>   head/etc/autofs/special_media
>
> Modified: head/etc/autofs/special_media
> ==============================================================================
> --- head/etc/autofs/special_media	Mon Sep 19 07:47:56 2016	(r305967)
> +++ head/etc/autofs/special_media	Mon Sep 19 08:51:27 2016	(r305968)
> @@ -46,6 +46,8 @@ print_map_entry() {
>  			    "Cannot mount ${_fstype} formatted device /dev/${_p}: Install  
> sysutils/fusefs-ntfs first"
>  			exit 1
>  		fi
> +	elif [ "${_fstype}" = "msdosfs" -o "${_fstype}" = "ufs" ]; then
> +		echo "-fstype=${_fstype},nosuid,async	:/dev/${_p}"
>  	else
>  		echo "-fstype=${_fstype},nosuid	:/dev/${_p}"
>  	fi
> _______________________________________________
> svn-src-all@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/svn-src-all
> To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"



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