nfs_root_data(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– nfs_root_data(9) πŸ’–

okay so welcome to the Kernel API Manual, bestie β€” this page is all about nfs_root_data(9), and it's giving β€œNFSROOT setup helper” energy. Let’s get into it 🫢

🌸 NAME 🌸

nfs_root_data β€” return the prepared 'data' for an NFSROOT mount ✨

πŸŽ€ SYNOPSIS πŸŽ€

int nfs_root_data (char **root_device , char **root_data );

πŸ’… ARGUMENTS πŸ’…

  • root_device β€” OUT: address of string containing NFSROOT device. Yes, it’s an output, so it’s handing that string address back to you πŸ’–
  • root_data β€” OUT: address of string containing NFSROOT mount options. Same deal: output city πŸ¦‹

✨ DESCRIPTION ✨

If everything goes right, this returns 0 and sets both root_device and root_data πŸ’―. If it does not go right, then -1 is returned. No cap.

🌈 SEE ALSO 🌈

  • Kernel file ./fs/nfs/nfsroot.c πŸ‘‘

okay bye bestie, this page’s source/version is ./fs/nfs, and it’s dated October 2026 πŸŽ€πŸ’œ

πŸ“¦ where this page comes from