I found that the following change to the file libamu/mount_fs.c makes it work, for me:
# diff -c libamu/mount_fs.c.save libamu/mount_fs.c *** libamu/mount_fs.c.save 2006-05-11 10:25:47.000000000 -0700 --- libamu/mount_fs.c 2010-05-18 17:41:13.000000000 -0700 *************** *** 528,534 **** * struct nfs_args, or truncate our concocted "hostname:/path" * string prematurely. */ ! NFS_HN_DREF(nap->hostname, host_name); #ifdef MNT2_NFS_OPT_HOSTNAME nap->flags |= MNT2_NFS_OPT_HOSTNAME; #endif /* MNT2_NFS_OPT_HOSTNAME */ --- 528,534 ---- * struct nfs_args, or truncate our concocted "hostname:/path" * string prematurely. */ ! NFS_HN_DREF(nap->hostname, "localhost"); #ifdef MNT2_NFS_OPT_HOSTNAME nap->flags |= MNT2_NFS_OPT_HOSTNAME; #endif /* MNT2_NFS_OPT_HOSTNAME */
--------
That is, change nap->hostname to "localhost" .
Phil
I found that the following change to the file libamu/mount_fs.c makes it work, for me:
# diff -c libamu/ mount_fs. c.save libamu/mount_fs.c mount_fs. c.save 2006-05-11 10:25:47.000000000 -0700 DREF(nap- >hostname, host_name); OPT_HOSTNAME OPT_HOSTNAME; OPT_HOSTNAME */ DREF(nap- >hostname, "localhost"); OPT_HOSTNAME OPT_HOSTNAME; OPT_HOSTNAME */
*** libamu/
--- libamu/mount_fs.c 2010-05-18 17:41:13.000000000 -0700
***************
*** 528,534 ****
* struct nfs_args, or truncate our concocted "hostname:/path"
* string prematurely.
*/
! NFS_HN_
#ifdef MNT2_NFS_
nap->flags |= MNT2_NFS_
#endif /* MNT2_NFS_
--- 528,534 ----
* struct nfs_args, or truncate our concocted "hostname:/path"
* string prematurely.
*/
! NFS_HN_
#ifdef MNT2_NFS_
nap->flags |= MNT2_NFS_
#endif /* MNT2_NFS_
--------
That is, change nap->hostname to "localhost" .
Phil