From owner-svn-src-head@freebsd.org Mon Sep 19 18:51:14 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1CC79BE1DD3; Mon, 19 Sep 2016 18:51:14 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DBA841FC1; Mon, 19 Sep 2016 18:51:13 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smtp.greenhost.nl ([213.108.104.138]) by smarthost1.greenhost.nl with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1bm3Mr-0007lD-2L; Mon, 19 Sep 2016 20:33:07 +0200 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org, "Edward Tomasz Napierala" Subject: Re: svn commit: r305968 - head/etc/autofs References: <201609190851.u8J8pRDD068198@repo.freebsd.org> Date: Mon, 19 Sep 2016 20:32:36 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Ronald Klop" Message-ID: In-Reply-To: <201609190851.u8J8pRDD068198@repo.freebsd.org> User-Agent: Opera Mail/12.16 (FreeBSD) X-Authenticated-As-Hash: 398f5522cb258ce43cb679602f8cfe8b62a256d1 X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: - X-Spam-Score: -1.0 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED, TIME_LIMIT_EXCEEDED autolearn=unavailable version=3.4.0 X-Scan-Signature: f0eed3f1d89bc5fb772880ef8d54351a X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Sep 2016 18:51:14 -0000 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 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"