From owner-cvs-all@FreeBSD.ORG Sat Oct 27 16:28:07 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03BFD16A41A; Sat, 27 Oct 2007 16:28:07 +0000 (UTC) (envelope-from rodrigc@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id E9FF413C49D; Sat, 27 Oct 2007 16:28:06 +0000 (UTC) (envelope-from rodrigc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9RGS5vn024068; Sat, 27 Oct 2007 16:28:05 GMT (envelope-from rodrigc@repoman.freebsd.org) Received: (from rodrigc@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9RGS5Nq024067; Sat, 27 Oct 2007 16:28:05 GMT (envelope-from rodrigc) Message-Id: <200710271628.l9RGS5Nq024067@repoman.freebsd.org> From: Craig Rodrigues Date: Sat, 27 Oct 2007 16:28:05 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/nfsclient nfs_vfsops.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2007 16:28:07 -0000 rodrigc 2007-10-27 16:28:05 UTC FreeBSD src repository Modified files: sys/nfsclient nfs_vfsops.c Log: Add the following mount options to the nfs_opts array: noatime, noexec, suiddir, nosuid, nosymfollow, union, noclusterr, noclusterw, multilabel, acls, force, update, async. These options correspond to MOPT_STDOPTS, MOPT_FORCE, MOPT_UPDATE, and MOPT_ASYNC. Currently, mount_nfs converts these "-o" options from strings to MNT_ flags via getmntopts(), and passes the flags from userspace to the kernel. This change will allow us in future to pass these mount options as strings directly to the kernel via nmount() when doing NFS mounts. Revision Changes Path 1.196 +4 -1 src/sys/nfsclient/nfs_vfsops.c