]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Support for NFS shares with spaces in path.
authorAnton Frolov <anfrolov@mirantis.com>
Tue, 28 May 2013 15:34:41 +0000 (19:34 +0400)
committerAnton Frolov <anfrolov@mirantis.com>
Wed, 29 May 2013 16:42:12 +0000 (20:42 +0400)
commit924640705c05ba69e2ad2095920fc1d209d32b20
tree8dc47c49d2b3fc24e8f42ef83a22f4cc5afaf621
parentb782597725fcccd0a6a949057941380538898555
Support for NFS shares with spaces in path.

Unescape share address string listed in nfs_shares_config so that
'x.y.z.w:/foo\040bar' would become 'x.y.z.w:/foo bar' to support
mounting shares with spaces in name.
Use stat command to get available and total space on device instead
of df since it's output is easier to parse.

Fixes: bug #1180984
Change-Id: I552aba91ca8db14130f854c739594a818186bbe2
cinder/tests/test_nfs.py
cinder/volume/drivers/nfs.py