Il comando mount consente di determinare i punti di montaggio (ingl. mount point) dei file system (dispositivo e tipo):
$ mount
/dev/hdb2 on / type ext2 (rw)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/hda1 on /data type ext2 (rw)
shmfs on /dev/shm type shm (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
automount(pid1012) on /suse type autofs \
(rw,fd=5,pgrp=1012,minproto=2,maxproto=3)
totan:/real-home/jj on /suse/jj type nfs \
(rw,nosuid,rsize=8192,wsize=8192,hard,intr,nolock,addr=10.10.0.1)
df indica i file system utilizzati. L'opzione -h (che sta per --human-readable) rende l'output di comoda consultazione per l'utente:
$ df -h Filesystem Size Used Avail Use% Mounted on /dev/hdb2 7.4G 5.1G 2.0G 73% / /dev/hda1 74G 5.8G 65G 9% /data shmfs 252M 0 252M 0% /dev/shm totan:/real-home/jj 350G 324G 27G 93% /suse/jj
Chi utilizza il server di file NFS totan dovrebbe ripulire la propria directory home. La dimensione complessiva di tutti i file residenti in una directory si lascia determinare tramite il comando du. L'opzione -s sopprime l'emissione di un output dettagliato, con -h si ha un output comodamente leggibile.
Tramite
$ du -sh ~ 361M /suse/jj
si vede quanto spazio occupa la propria directory home.