Lines Matching refs:mount
101 //start mount with sync
103 //rval = mount(source, target, "vfat",0, "iocharset=utf8"); //stanley add,09/14/2009
107 * so wait for a while before we can mount to the target.
136 /* Use mlabel to read VFAT volume label after successful mount */
137 if ((rval = mount(source, target, "vfat",0, "iocharset=utf8")) == 0)
147 /* Try to mount HFS+ and ext2/ext3 */
148 //rval = mount(source, target, "hfsplus", 0, "");
149 else if ((rval = mount(source, target, "hfsplus", 0, "")) == 0)
155 //rval = mount(source, target, "hfs", 0, "");
156 else if ((rval = mount(source, target, "hfs", 0, "")) == 0)
162 //rval = mount(source, target, "ext3", 0, "");
163 else if ((rval = mount(source, target, "ext3", 0, "")) == 0)
169 //rval = mount(source, target, "ext2", 0, "");
170 else if ((rval = mount(source, target, "ext2", 0, "")) == 0)
182 snprintf(buf, 128, "chkntfs -a -f %s; mount -t ufsd %s %s", source, source, target);
193 /* can't judge if mount is successful*/
425 cprintf("%s:%d mount source =%s, target=%s\n", __func__, __LINE__, source, target);
767 sprintf(cmdbuf, "mount -t vfat %s %s", mntdev, mntpath);
797 /* check if devname is in mount list */
801 cprintf("%s:%d %s not in mount list, just return...\n",
921 * the mount path and device.
1011 /* If it is partioned, mount first partition else raw disk */
1030 eval("/bin/mount", "-t", "vfat", path, "/mnt");
1064 /* Check mount device */
1085 /* Read mount path and dump to file */