Return-Path: Received: from smtp3.ugent.be ([157.193.49.127]:36397 "EHLO smtp3.UGent.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932277Ab1F1R6S (ORCPT ); Tue, 28 Jun 2011 13:58:18 -0400 Message-ID: <4E0A166B.1000707@debian.org> Date: Tue, 28 Jun 2011 19:59:07 +0200 From: Luk Claes To: Chuck Lever CC: Prem Karat , linux-nfs@vger.kernel.org Subject: Re: [PATCH 1/1] nfs-utils: Don't hard code source and destination args References: <20110628104138.GB6600@d6fc318.ibm.com> <20110628165954.GA13059@d6fc318.ibm.com> <42653612-BD54-4049-B8F8-ACDFB6FE6DA3@oracle.com> In-Reply-To: <42653612-BD54-4049-B8F8-ACDFB6FE6DA3@oracle.com> Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-nfs-owner@vger.kernel.org List-ID: MIME-Version: 1.0 On 06/28/2011 07:49 PM, Chuck Lever wrote: > > On Jun 28, 2011, at 12:59 PM, Prem Karat wrote: > >> On 06/28/11 12:02pm, Chuck Lever wrote: >>> >>> On Jun 28, 2011, at 6:41 AM, Prem Karat wrote: >>> >>>> >>>> Currently souce and destination parameters should be passed as first and >>>> second paramter while using mount.nfs. This patch allows them to be passed >>>> anywhere while mounting. >>>> >>>> Current functionality is >>>> mount.nfs source destn -o >>>> This patch will allow to do this >>>> mount.nfs -o source destn >>>> or >>>> mount.nfs -o source -o destn >>> >>> Yep, that's clear, but why is this desirable? mount.nfs should be invoked only by the mount command. It's not meant to be run by humans. >> Bare with me if my understanding is incorrect, however the man page does say that >> it can be used as a standalone command with limited functionality. > > Yes, it can be used that way, but it rarely is, and that's by design. > >> Also it makes sense to use it if a newbie wants to know the nfs specific >> options. The mount.nfs command shows a pointer to the correct man page for >> nfs specific options. > > I don't understand. Why would a "newbie" invoke mount.nfs? Is there a new use case that requires the additional flexibility? > > I don't have a specific objection here, but this seems like an arbitrary change. When debugging, it's quite handy that one can switch from mount to mount.nfs without having to change the order of the arguments. Cheers Luk