Support mount, automount, device unit types

Fix #235