[Bug 663672] Re: won't mount NFS mounts with space in the name
Tim White
663672 at bugs.launchpad.net
Wed Oct 20 23:15:30 BST 2010
>From my poking around, it appears the bug will be in both this package, and nfs-common.
showmount's output doesn't allow for parsing as it uses spaces to separate the fields (exportname and the ipaddress of who can mount it). Ideally it needs to use a : between the fields not whitespace.
If showmount is modified, then auto.net will also need to be modified. Maybe another switch can be added to showmount that outputs parsable output. e.g.
$ showmount -e ubuntu
Export list for ubuntu:
/mnt/DVD_rip 192.168.8.0/16
becomes
$ showmount -m -e ubuntu
Export list for ubuntu:
/mnt/DVD_rip:192.168.8.0/16
and the korby mount options become
$ showmount -e korby
Export list for korby:
/Qweb:
/Qusb:
/Qrecordings:
/Qmultimedia;
/Qdownload:
/Public:
/Photos:
/Network Recycle Bin 4:
/Network Recycle Bin 3:
/Network Recycle Bin 1:
/Media:
/Documents:
/DVD_rip:
As you can see, the output of showmount varies depending on the server.
Korby doesn't give the second field that shows what ip's can mount it.
Below is the output of a WD MyBook World Edition II, which doesn't even
give consistent output!
$ showmount -e max
Export list for max:
/DataVolume/Photos *
/DataVolume/Public *
/DataVolume/Download *
/ExtendVolume/Media (everyone)
--
won't mount NFS mounts with space in the name
https://bugs.launchpad.net/bugs/663672
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to autofs5 in ubuntu.
More information about the Ubuntu-server-bugs
mailing list