Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 11843 - /net/<name for localhost> should be equivalent to /
/net/<name for localhost> should be equivalent to /
Product: Red Hat Raw Hide
Classification: Retired
Component: am-utils (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Peter Vrabec
: FutureFeature
Depends On:
  Show dependency treegraph
Reported: 2000-06-01 23:03 EDT by Jonathan Kamens
Modified: 2007-04-18 12:27 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-10-05 15:31:50 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jonathan Kamens 2000-06-01 23:03:58 EDT
If I list /net/<foo>, where <foo> resolves to an IP address of the local
host, then I should see my root directory.

That is, /net/<any alias for the local host> should work regardless of
whether the local host is running NFS.
Comment 1 Nalin Dahyabhai 2000-06-10 16:56:24 EDT
Have you exported your root directory using NFS?
Comment 2 Jonathan Kamens 2000-06-10 23:55:11 EDT
No, I did not export my local root directory using NFS.  I do not think I should
NEED to export my local root directory using NFS.  That's what this enhancement
request is all about.  I should not have to run an NFS server on my local
machine to be able to list /net/localhost or /net/<some other name for the local
host> and have it work.
Comment 3 Nalin Dahyabhai 2000-07-10 15:15:46 EDT
Autofs does not yet support the tree mounts used for /net;
you must mean am-utils.
Comment 4 Nalin Dahyabhai 2000-07-10 15:17:10 EDT
Exporting your root directory is not necessary; the only thing that's
needed is that amd can contact a running mountd on your server,
and for that to work, at least *one* directory must be exported, if only
read-only.  Once that is done, you will be able to list your exported
directories under /net.
Comment 5 Joe Krahn 2001-08-02 13:13:47 EDT
My 2 cents: I think that what amd does is the right thing
to do. The purpose of using /net is so that your program
or script will be portable across the network. What amd could
do (as some automounts do) is creat a link instead of
NFS mounting local drives. Autofs (at least for IRIX)
will do as jik desires, so it may be a useful option to have.
Comment 6 Peter Vrabec 2005-09-28 11:03:21 EDT
Is this  what u ask for?

localhost       type:=link;fs:=/
*               host==${key};type:=link;fs:=/ \
                hostd==${key};type:=link;fs:=/ \               
Comment 7 Jonathan Kamens 2005-09-28 21:11:35 EDT
Sorry, I don't speak amd.  I have no idea what that says.
Comment 8 Peter Vrabec 2005-09-29 02:15:57 EDT
This map will allow you to NFS mount any host by using
/host/<hostname>/mountpoint syntax, plus it optimizes /host/localhost,
and /host/<localmachinename> to symlinks to /. 

Note You need to log in before you can comment on or make changes to this bug.