]> git.decadent.org.uk Git - nfs-utils.git/commit
mount.nfs: Don't hard code source and destination
authorPrem Karat <prem.karat@linux.vnet.ibm.com>
Tue, 28 Jun 2011 15:53:40 +0000 (11:53 -0400)
committerSteve Dickson <steved@redhat.com>
Wed, 29 Jun 2011 14:18:30 +0000 (10:18 -0400)
commit30ebf04700654deddbf5f57d95e84ec69cea8610
tree746dcc19db7f5608045a6a10e3ebf5dd66c3c70d
parentb3e190c4adfc9ec47567c968bd000d282d07b05e
mount.nfs: Don't hard code source and destination

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 <options>
This patch will allow to do this
mount.nfs -o <options> source destn
or
mount.nfs -o <options> source -o <options> destn

Signed-off-by: Prem Karat <prem.karat@linux.vnet.ibm.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
utils/mount/mount.c