English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I know portmapping must be enabled to do NFS (network file sharing) and i know we need that because NFS works by using RPC (remote procedure calls). And i understand that ports are just that, software ports (similar to a comm port but in software). But I need a little more explanation from a linux professor...

2006-12-15 08:20:23 · 0 answers · asked by Sufi 7 in Computers & Internet Software

0 answers

The RPC portmapper program is usually started by default in /etc/init.d (it's location may vary by distro).

The portmapper converts RPC program numbers into TCP or UDP protocol port numbers.

When NFS is started, it registers with the portmap, telling it what ports it listens on, and on what ports it serves data. Requests coming in, or data going out are then translated to the appropriate protocol (UDP or TCP, though TCP is typical now for NFS).

For a list of registered ports, check out /etc/services. This list is not exhaustive, but handy.

Without the RPC portmapper, most programs couldn't talk to the internet, since few programs actually 'speak' TCP or UDP. (This wasn't always true). RPC is easier to program because it is higher level, and thus it is preferred by programmers who aren't conserved about transport-layer details.

2006-12-15 08:40:05 · answer #1 · answered by luddite extraordinaire 3 · 0 0

Yes, use Samba on your Linux server and share the file system with it. There are application suites that allow you to mount NFS shares, but they are pricey and unreliable. Samba is the answer.

2016-03-14 01:44:43 · answer #2 · answered by Anonymous · 0 0

fedest.com, questions and answers