All of lore.kernel.org
 help / color / mirror / Atom feed
* Working with kernel cifs, NFS
@ 2022-11-22 17:08 Rabinarayan Panigrahi
  2022-11-24 16:45 ` Richard
  0 siblings, 1 reply; 2+ messages in thread
From: Rabinarayan Panigrahi @ 2022-11-22 17:08 UTC (permalink / raw)
  To: kernelnewbies


[-- Attachment #1.1: Type: text/plain, Size: 874 bytes --]

Hi,
I am trying to understand how cifs and nfs modules work in the kernel. For
that i referred following link.
https://docs.kernel.org/admin-guide/cifs/usage.html
i did make modules_install to install necessary modules along with cifs and
nfs.

To cross verify these 2 modules i did ls

ls /lib/modules/6.1.0-rc5/kernel/fs/cifs/cifs.ko
/lib/modules/6.1.0-rc5/kernel/fs/cifs/cifs.ko

ls /lib/modules/6.1.0-rc5/kernel/fs/nfs/
blocklayout  filelayout  flexfilelayout  nfs.ko  nfsv2.ko  nfsv3.ko
 nfsv4.ko

ls /lib/modules/6.1.0-rc5/kernel/fs/nfsd/
nfsd.ko

ls /lib/modules/6.1.0-rc5/kernel/fs/nfs
nfs/        nfs_common/ nfsd/

ls /lib/modules/6.1.0-rc5/kernel/fs/nfs_common/
grace.ko  nfs_acl.ko

but when i do lsmod i dont see this modules. As per my understanding this
modules should installed and start listening with their port.


So am I missing something?

Regards
Rabi

[-- Attachment #1.2: Type: text/html, Size: 1178 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Working with kernel cifs, NFS
  2022-11-22 17:08 Working with kernel cifs, NFS Rabinarayan Panigrahi
@ 2022-11-24 16:45 ` Richard
  0 siblings, 0 replies; 2+ messages in thread
From: Richard @ 2022-11-24 16:45 UTC (permalink / raw)
  To: kernelnewbies

Hi, z

> [..]
> modules should installed and start listening with their port.
> 
> 
> So am I missing something?

Yes. For NFS you first have to configure a export i.e. shared folder and 
afaik in /etc/exports, but this is easily google-able. Maybe you also 
need some userspace stuff, I think there is a nfs-kernel-server package 
on debian.

When all this is setup the kernelmodule gets loaded, that is maybe done 
by udev or by systemd, I don't know the details.

It should be similar for cifs, in that you need to do some configuration 
in userspace first.

Cheers,
-- Richard

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-24 16:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-22 17:08 Working with kernel cifs, NFS Rabinarayan Panigrahi
2022-11-24 16:45 ` Richard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.