Archive for May, 2011

Display mount points in ubuntu

Thursday, May 19th, 2011

As you know I really enjoy working with both redhat/centos and ubuntu. Today I was in Ubuntu and wanted to display the mount points and what type of storage they were. I sued this command to do it.

# mount -l
/dev/sda1 on / type ext3 (rw) [uec-rootfs-ebs]
proc on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
devtmpfs on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
/dev/sdb on /mnt type ext3 (rw)