{"id":294,"date":"2014-05-13T15:29:11","date_gmt":"2014-05-13T22:29:11","guid":{"rendered":"http:\/\/www.sysop.ca\/?p=294"},"modified":"2018-10-01T06:30:24","modified_gmt":"2018-10-01T13:30:24","slug":"enable-browse-mode-with-rhel-autofs","status":"publish","type":"post","link":"http:\/\/www.sysop.ca\/?p=294","title":{"rendered":"Enable &#8220;browse&#8221; mode with RHEL autofs"},"content":{"rendered":"<p>At $WORK I had a requirement to have all autofs mounts in NIS show up as directories in the filesystem. This means that if you have a NIS map called auto.data file that mounts everything under \/data\/sharename that sharename has to be visible, even if it&#8217;s not mounted. This allows users to have a list of all possible NFS automounts.<\/p>\n<p>In Solaris the default behavior is to make all these mount points visible but in RHEL 6 (and Centos I&#8217;m sure) the default is to have this feature disabled. Which means unless a mount is active it&#8217;s not visible in \/data.<\/p>\n<p>This behavior can be controlled by the BROWSE_MODE=&#8221;yes&#8221; setting in \/etc\/sysconfig\/autofs. Once this is set just issue an autofs reload and your automounts will populate with their mount directories.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>At $WORK I had a requirement to have all autofs mounts in NIS show up as directories in the filesystem. This means that if you have a NIS map called auto.data file that mounts everything under \/data\/sharename that sharename has to be visible, even if it&#8217;s not mounted. This allows users to have a list &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/www.sysop.ca\/?p=294\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Enable &#8220;browse&#8221; mode with RHEL autofs&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-294","post","type-post","status-publish","format-standard","hentry","category-general"],"_links":{"self":[{"href":"http:\/\/www.sysop.ca\/index.php?rest_route=\/wp\/v2\/posts\/294","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.sysop.ca\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.sysop.ca\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.sysop.ca\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.sysop.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=294"}],"version-history":[{"count":1,"href":"http:\/\/www.sysop.ca\/index.php?rest_route=\/wp\/v2\/posts\/294\/revisions"}],"predecessor-version":[{"id":295,"href":"http:\/\/www.sysop.ca\/index.php?rest_route=\/wp\/v2\/posts\/294\/revisions\/295"}],"wp:attachment":[{"href":"http:\/\/www.sysop.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=294"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.sysop.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=294"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.sysop.ca\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=294"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}