Searched refs:mount_dir (Results 1 – 2 of 2) sorted by relevance
83 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_dir91 mount_flag=$(df|grep "$mount_dir")96 echo "$mount_dir 已挂在其他设备,卸载该目录"97 umount $mount_dir100 mount -t jffs2 $mtd_device $mount_dir101 chmod -R 755 $mount_dir105 mount -t jffs2 $mtd_device $mount_dir[all …]
444 def get_mount_dir(mount_dir): argument453 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_dir461 return mount_dir