#!/bin/bash
cat /proc/partitions /etc/mtab|grep -v cgroup|grep -v tmpfs|grep -v sysfs|grep -v proc|grep -v devpts|grep -v securityfs|grep -v pstore|grep -v mqueue|grep -v hugetlbfs|grep -v debugfs|grep -v fusectl|grep -v rpc_pipefs|grep -v gvfsd-fuse;df --mounts


syntax highlighted by Code2HTML, v. 0.9.1