sahib/rmlint — pull request #67 by SeeSpotRun (2014-07-23 14:56:56+00:00)
Title: Uses <glibtop/mountlist.h> to get list of mountpoints.

Compile with:
clang src/mounttable.c -std=c99 $(pkg-config --libs --cflags blkid glib-2.0 libgtop-2.0) -Wall -Wextra -D_RM_COMPILE_MAIN -D_BSD_SOURCE -Wall -Wextra -D_RM_HASH_LEN=16 -DHAVE_MOUNTLIST=1 -DHAVE_BLKID=1

Hashtable structure is not quite right yet. Need to be able to map file dev_t (which is different to block device dev_t) to physical device name (sda etc).