Perform uniform mounting with generic NFS

Written By
Web Webster
Web Webster
Feb 13, 2009

[ Thanks to An Anonymous Reader for
this link. ]

“The Network File System (NFS) is a well-used
distributed file system that enables file operations to be
performed on a server from remote clients. The server makes its
directories or filesystems available to the rest of the world using
an operation known as export. To access these directories, the
client mounts the exported directories or filesystems to its local
directory hierarchy. Inside the mounted directory, clients access
the remote files as if they were stored locally on the machine.
Currently, NFS sports three available versions for exporting and
mounting of directories or filesystems: versions 2, 3, and 4.

“In this article, we show you how to use a generic NFS mount to
consolidate exporting and mounting of all existing NFS version into
a single, seamless mechanism. Let’s consider a scenario where the
server has exported directory entries for all three versions of
NFS. Currently, for the client to access all these entries, it has
to separately mount each of these entries at different mount
points. Although NFS version 4 provides a pseudo-tree mechanism
that enables a single mount of all NFSv4 exported entries, it is
applicable only to the entries made by that version. The client has
to separately mount version 2 and 3 entries along with a single
mount for version 4 (in case the pseudo-tree exists).”

Advertisement


Complete Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.