Searched refs:fstype (Results 1 – 2 of 2) sorted by relevance
| /components/drivers/core/ |
| A D | mnt.c | 38 const char *fstype = bootargs_select("rootfstype=", 0); in rootfs_mnt_init() local 41 if (!dev || !fstype) in rootfs_mnt_init() 63 fstype = cromfs_type; in rootfs_mnt_init() 68 if (fstype != cromfs_type && dev) in rootfs_mnt_init() 125 if (fstype) in rootfs_mnt_init() 127 if (!(err = dfs_mount(dev, "/", fstype, rw ? 0 : ~0, fsdata))) in rootfs_mnt_init() 132 fstype, "done"); in rootfs_mnt_init() 139 fstype, "fail"); in rootfs_mnt_init() 141 if (fstype == cromfs_type) in rootfs_mnt_init()
|
| /components/finsh/ |
| A D | msh_file.c | 583 char *fstype = argv[3]; in cmd_mount() local 587 rt_kprintf("mount device %s(%s) onto %s ... ", device, fstype, path); in cmd_mount() 588 if (strcmp(fstype, "nfs") == 0) in cmd_mount() 594 if (dfs_mount(device, path, fstype, 0, data) == 0) in cmd_mount() 608 char *fstype = argv[2]; in cmd_mount() local 611 rt_kprintf("mount (%s) onto %s ... ", fstype, path); in cmd_mount() 612 if (dfs_mount(NULL, path, fstype, 0, 0) == 0) in cmd_mount() 629 MSH_CMD_EXPORT_ALIAS(cmd_mount, mount, mount <device> <mountpoint> <fstype>);
|
Completed in 4 milliseconds