Searched refs:DEVICE_NODE (Results 1 – 3 of 3) sorted by relevance
3 DEVICE_NODE="/dev/mmcblk0"9 if [[ ! -b "${DEVICE_NODE}" ]]; then10 echo "${DEVICE_NODE} is not available"17 if ! (mount || true) | grep "${DEVICE_NODE}"> /dev/null; then18 echo "${DEVICE_NODE} is not mounted"20 echo "${DEVICE_NODE} is mounted"27 FS_TYPE_CHECK="$(blkid "${DEVICE_NODE}" | sed 's/.*TYPE="\([^"]*\).*/\1/' || true)"37 echo "Filesystem (${FS_TYPE}) found on ${DEVICE_NODE}"41 echo "No or unexpected filesystem (${FS_TYPE}) found on ${DEVICE_NODE}"42 if ! output=$(mkfs."${DEFAULT_FS_TYPE}" --force "${DEVICE_NODE}" 2>&1); then[all …]
41 self.d = open(DEVICE_NODE)52 if os.path.exists(DEVICE_NODE):71 if not os.path.exists(DEVICE_NODE):124 if not os.path.exists(DEVICE_NODE):182 if not os.path.exists(DEVICE_NODE):
24 DEVICE_NODE = "/dev/dbc" variable