Changeset 2052 in MondoRescue for branches/2.2.8/mondo/src/common/libmondo-mountlist.c
- Timestamp:
- Oct 23, 2008, 2:55:59 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.8/mondo/src/common/libmondo-mountlist.c
r1909 r2052 1 /* libmondo-mountlist.csubroutines for handling mountlist1 /* subroutines for handling mountlist 2 2 $Id$ 3 4 5 6 08/017 - when evaluating mountlist, skip drive entirely if it does not exist8 9 07/1410 - always exclude /devpts, /proc, /sys from mountlist11 12 06/29/200413 - changed some char[] to *char14 - drivelist is struct now, not char[][]15 16 10/19/200317 - format_device() --- contract /dev/md/N to /dev/mdN to18 overcome devfs problems19 20 06/1121 - added support for 5th column in mountlist.txt, for labels22 23 05/0824 - added save_mountlist_to_disk() and load_mountlist()25 and misc other funcs from mondorestore.c26 27 05/0528 - added Joshua Oreman's FreeBSD patches29 30 04/2431 - added some assert()'s32 33 04/2334 - cleaned up evaluate_drive_within_mountlist() a bit35 36 01/15/200337 - added code for LVM (Brian Borgeson)38 39 10/19/200240 - added some comments41 42 07/24/200243 - created44 3 */ 45 4 … … 786 745 } 787 746 788 /*789 for (i = strlen (drive); isdigit (drive[i - 1]); i--);790 drive[i] = '\0';791 if (get_phys_size_of_drive (drive) <= 0 && drive[i - 1] == 'p')792 {793 i--;794 drive[i] = '\0';795 }796 for (j = 0; j < noof_drives && strcmp (drivelist[j], drive) != 0; j++);797 */798 799 747 sprintf(tmp, 800 748 "Putting %s with size %lli in list of drives",
Note:
See TracChangeset
for help on using the changeset viewer.