Changeset 3232 in MondoRescue for branches/3.2/mindi-busybox/libbb/find_mount_point.c
- Timestamp:
- Jan 1, 2014, 12:47:38 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi-busybox/libbb/find_mount_point.c
r2725 r3232 31 31 devno_of_name = s.st_dev; 32 32 block_dev = 0; 33 if (S_ISBLK(s.st_mode)) { 33 /* Why S_ISCHR? - UBI volumes use char devices, not block */ 34 if (S_ISBLK(s.st_mode) || S_ISCHR(s.st_mode)) { 34 35 devno_of_name = s.st_rdev; 35 36 block_dev = 1; … … 44 45 * and it makes sense to always ignore it. 45 46 * Otherwise people can't reference their "real" root! */ 46 if ( strcmp(mountEntry->mnt_fsname, "rootfs") == 0)47 if (ENABLE_FEATURE_SKIP_ROOTFS && strcmp(mountEntry->mnt_fsname, "rootfs") == 0) 47 48 continue; 48 49
Note:
See TracChangeset
for help on using the changeset viewer.