#!/bin/bash
#             /home/local/bin/mount_types
# http://10.0.0.197/posix/bin/mount_types
# celeste:crystalfaery 2014-04-01 17:55:11+00:00
# from Linux Magazine 2006 January Page 19
# Display the type of each mounted file system
echo "Mount_Point_______________	Type____";/usr/local/bin/mount_types | sed 's/type //' | column -t
find `cut -d" " -f2 /etc/mtab` -maxdepth 0 -printf "%-20p type %F\n" | sort -k 3


syntax highlighted by Code2HTML, v. 0.9.1