9
C'è un modo per scoprire se un'unità di montaggio, per esempio:/var, è montata su un NFS?Linux: come verificare se un'unità è montata su nfs
C'è un modo per scoprire se un'unità di montaggio, per esempio:/var, è montata su un NFS?Linux: come verificare se un'unità è montata su nfs
Si può semplicemente utilizzare mount
comando per verificare, ad esempio,
mount |grep nfs
Oppure, se si desidera elencare tutti NFS si sono montati:
mount -l -t nfs4
Se si esegue il comando shell "mount" è ti dice quale filesystem è l'unità. –
['df -PT/var | awk 'NR == 2 {print $ 2}' '] (http://unix.stackexchange.com/questions/72223/check-if-folder-is-a-mounted-remote-filesystem) – Gilles
Grazie scott_fakename, Gilles. – PLAND