Searched refs:blockDevice (Results 1 - 5 of 5) sorted by relevance

/asus-wl-520gu-7.0.1.45/src/router/busybox/
H A Dumount.c175 char *blockDevice = mtab_getinfo(name, MTAB_GETDEVICE); local
177 if (blockDevice && strcmp(blockDevice, name) == 0)
178 name = mtab_getinfo(blockDevice, MTAB_GETMOUNTPT);
183 if (freeLoop == TRUE && blockDevice != NULL && !strncmp("/dev/loop", blockDevice, 9))
185 del_loop(blockDevice);
189 status = umount2(blockDevice, MNT_FORCE);
191 error_msg_and_die("forced umount of %s failed!", blockDevice);
196 status = mount(blockDevice, nam
[all...]
H A Dmtab.c55 void write_mtab(char *blockDevice, char *directory, argument
72 struct mntent *p = find_mount_point(blockDevice, "/proc/mounts");
77 m.mnt_fsname = blockDevice;
H A Dmount.c237 mount_one(char *blockDevice, char *directory, char *filesystemType, argument
260 status = do_mount(blockDevice, directory, filesystemType,
268 status = do_mount(blockDevice, directory, filesystemType,
275 perror_msg("Mounting %s on %s failed", blockDevice, directory);
325 char *blockDevice = m->mnt_fsname;
326 if (strcmp(blockDevice, "/dev/root") == 0) {
327 blockDevice = find_real_root_device_name(blockDevice);
329 printf("%s on %s type %s (%s)\n", blockDevice, m->mnt_dir,
332 if(blockDevice !
[all...]
/asus-wl-520gu-7.0.1.45/src/router/busybox/libbb/
H A Dmtab.c55 void write_mtab(char *blockDevice, char *directory, argument
72 struct mntent *p = find_mount_point(blockDevice, "/proc/mounts");
77 m.mnt_fsname = blockDevice;
H A Dlibbb.h119 extern void write_mtab(char* blockDevice, char* directory,

Completed in 49 milliseconds