r/google • u/throwaway16830261 • 2d ago
An Android smartphone can function as a Network File System Version 3 (NFSv3) server using the open-source "nfsd" ("UNFS3, a User-Space NFSv3 Server") software as a native executable under Termux.
https://github.com/termux/termux-packages/pull/32432
3
Upvotes
2
0
u/throwaway16830261 2d ago
The submitted link is from the "Android 14 Smartphone-A, Termux, Enable Wakelock: UNFS3 NFS Server unfsd" section in "Using stunnel for secure Network File System (NFS) communication between NFS servers and clients: UNFS3 NFS Server unfsd as a native Termux executable on a smartphone running the Android 14 operating system (OS) and GNU/Linux NFS servers running the Fedora Linux operating system": https://gist.github.com/NoteAfterNote/cbf4bc7c21a6a517146b3d3c12643cba via https://gist.github.com/NoteAfterNote
A USB drive is "plugged in the USB-C 2.0 port" of a smartpphone and -- in addition to "/storage/emulated/0/Download/test" -- made available by "unfsd" in "Testing: Termux, proot-distro, Network File System (NFS)" at https://gist.github.com/NoteAfterNote/e1719f4029b91918d996216939d5bff2 (look for "/mnt/media_rw/1AA1-12FF" and "/mnt/usb1").
"Termux is an Android terminal application and Linux environment.": https://github.com/termux/termux-app
"UNFS3, a User-Space NFSv3 Server": https://github.com/unfs3/unfs3
"User-space NFSv3 Server": https://github.com/unfs3/unfs3 via https://github.com/unfs3/unfs3
stunnel, "Stunnel is a proxy designed to add TLS encryption functionality to existing clients and servers without changing their code.": https://www.stunnel.org
"LIBNFS is a client library for accessing NFS shares over a network.": https://github.com/sahlberg/libnfs