Searched refs:MOUNT_DIR (Results 1 – 3 of 3) sorted by relevance
/external/autotest/site_utils/ |
D | bind_mysql_to_cpuset.sh | 19 MOUNT_DIR='/dev/cpuset' 117 if (mount | grep "on ${MOUNT_DIR} type" > /dev/null) 119 print_info "${MOUNT_DIR} already mounted." 121 print_info "Mounting cpuset to $MOUNT_DIR." 122 run_cmd "mkdir -p ${MOUNT_DIR}" 123 run_cmd "mount -t cpuset none ${MOUNT_DIR}" 143 if [ -d "${MOUNT_DIR}/${MYSQL_CPUSET}" ]; then 144 proc_list=$(cat ${MOUNT_DIR}/${MYSQL_CPUSET}/cgroup.procs) 149 run_cmd "rmdir ${MOUNT_DIR}/${MYSQL_CPUSET}" 151 run_cmd "umount ${MOUNT_DIR}" [all …]
|
/external/ltp/testcases/kernel/fs/fs-bench/ |
D | modaltr.sh | 40 MOUNT_DIR=/mnt 93 mount -t jffs2 $BLOCK_DIR/0 $MOUNT_DIR 100 cd $MOUNT_DIR 111 echo "unmounting $MOUNT_DIR " 112 umount $MOUNT_DIR
|
/external/ltp/testcases/kernel/syscalls/ftruncate/ |
D | ftruncate04.c | 52 #define MOUNT_DIR "dir/" macro 85 sprintf(filename, MOUNT_DIR"%s.%d.%d\n", TCID, getpid(), lc); in main() 225 SAFE_MKDIR(tst_rmdir, MOUNT_DIR, 0777); in setup() 248 SAFE_MOUNT(cleanup, device, MOUNT_DIR, fs_type, 0, NULL); in setup() 251 if (mount(NULL, MOUNT_DIR, NULL, MS_REMOUNT|MS_MANDLOCK, NULL) == -1) { in setup() 264 if (mount_flag && tst_umount(MOUNT_DIR)) in cleanup()
|