LinuxPower: The Kernel Based NFS Implementation | Linux Today

LinuxPower: The Kernel Based NFS Implementation

Written By
J"K
Jeremy "Unknwn" Katz
Jul 6, 1999

Thanks to Erik Levy
for this link.

“A few months ago in my article on User-Space NFS, I mentioned
the kernel space NFS implemntation. I sort of implied that I would
be covering it in a later article, and here that article is.”

“To run an NFS server using the kernel based NFS server, you
must have a kernel which supports knfs, which generally means a
2.2.0+ kernel. The kernel shipped with RedHat 6 does support this,
though I don’t know about other distributions. Then, you must
enable the support in the kernel (again the RH6 default kernel, has
this set up). For this, you must select the option “NFS server
support” under Filesystems->Network File Systems in the kernel
compile. You can either include this in the kernel or compile it as
a module (though I’ll recommend compiling it in). Also, there is
the option “Emulate SUN NFS server.” This option makes the NFS
daemon behave somewhat like the Sun one, though it is quite odd.
From my understanding, it means that if you have a directory
/mnt/net/foo and you mount something via NFS at /mnt/net which
doesn’t have a foo, you can still access /mnt/net/foo. Though, I
could be very wrong here, in which case, I hope someone corrects me
🙂 Anyway, unless you know what this is and want to enlighten me,
I’ll just recommend you just say no on this one 🙂 Go ahead and
compile your kernel and reboot into it.”

Complete
Story

J"K

Jeremy "Unknwn" Katz

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.