mount -p

Latest response

On BSD/Solaris etc, mount -p prints a list of current mounts in fstab format. Very useful. This doesn't appear to work on Linux distributions (and HPUX).

Does anyone know a way to do this, or why it hasn't been upgraded to support it all these years? If not, I'll just have to write an equivalent but to save reinventing the wheel...

Thanks, Frank.

Responses