Some media disks may not have a partition table and only have a
file systems (i.e. /dev/sdX vs /dev/sdX1) allow automounting of those.
Change-Id: I5b38264fb4c11f945e811a700fa00adf74011ec1
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
MOUNT_OPTIONS="ro,flush"
rmdir /media/* &> /dev/null || true
-for DEVNAME in $(udisks --enumerate-device-files|grep -e sd[a-z][0-9]); do
+for DEVNAME in $(udisks --enumerate-device-files|grep -e sd[a-z]); do
udisks --mount-options $MOUNT_OPTIONS --mount $DEVNAME
done