use /sys to determine size