Home
last modified time | relevance | path

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

/test/xts/tools/lite/repackage/
Dauto_jffs2.sh83 mount_dir="$HOME/mnt"
84 if [ ! -d "$mount_dir" ]
86 echo "Line:$LINENO,WARN:$mount_dir not exists and it will be created!"
87 mkdir -p $mount_dir
91 mount_flag=$(df|grep "$mount_dir")
96 echo "$mount_dir 已挂在其他设备,卸载该目录"
97 umount $mount_dir
100 mount -t jffs2 $mtd_device $mount_dir
101 chmod -R 755 $mount_dir
105 mount -t jffs2 $mtd_device $mount_dir
[all …]
/test/testfwk/xdevice/plugins/ohos/src/ohos/testkit/
Dkit_lite.py444 def get_mount_dir(mount_dir): argument
453 mount_dir = mount_dir.replace(":", "").replace("\\", "/")
454 _list = mount_dir.split("/")
455 if mount_dir.startswith("/"):
459 mount_dir = "/".join(_list)
460 mount_dir = "/%s" % mount_dir
461 return mount_dir