Home
last modified time | relevance | path

Searched refs:mountdir (Results 1 – 2 of 2) sorted by relevance

/openbmc/openpower-pnor-code-mgmt/ubi/
H A Dobmc-flash-bios58 mountdir="/media/${name}"
73 if [ ! -d "${mountdir}" ]; then
74 mkdir "${mountdir}"
116 mountdir="/media/${name}"
125 if [ ! -d "${mountdir}" ]; then
126 mkdir -p "${mountdir}"
144 mountdir="/media/${name}"
147 umount "${mountdir}"
156 if [ -d "${mountdir}" ]; then
157 rm -r "${mountdir}"
[all …]
/openbmc/phosphor-bmc-code-mgmt/
H A Dobmc-flash-bmc216 mountdir=$(grep "$rmname" /proc/mounts | cut -d " " -f 2)
217 umount "$mountdir"
218 rm -r "$mountdir"
284 mountdir="/media/${name}-functional"
286 mountdir="/media/${name}"
289 if [ ! -d "${mountdir}" ]; then
290 mkdir -p "${mountdir}"
296 mount -t squashfs -o ro "/dev/ubiblock${mtd}_${element}" "${mountdir}"