Home
last modified time | relevance | path

Searched refs:DEVICE_NODE (Results 1 – 3 of 3) sorted by relevance

/openbmc/openbmc/meta-facebook/recipes-fb/emmc-init/files/
H A Demmc-init3 DEVICE_NODE="/dev/mmcblk0"
9 if [[ ! -b "${DEVICE_NODE}" ]]; then
10 echo "${DEVICE_NODE} is not available"
17 if ! (mount || true) | grep "${DEVICE_NODE}"> /dev/null; then
18 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 …]
/openbmc/linux/tools/crypto/ccp/
H A Dtest_dbc.py41 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):
H A Ddbc.py24 DEVICE_NODE = "/dev/dbc" variable