Changeset 1878 in MondoRescue for branches/2.2.5/mondo/src/common/libmondo-archive.c
- Timestamp:
- Jan 24, 2008, 6:04:44 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.5/mondo/src/common/libmondo-archive.c
r1854 r1878 817 817 } 818 818 #else 819 #ifdef __IA64__ 820 strcpy(bootdev, call_program_and_get_last_line_of_output 821 ("mount | grep ' /boot/efi ' | head -1 | cut -d' ' -f1 | sed 's/[0-9].*//'")); 822 #else 819 823 strcpy(bootdev, call_program_and_get_last_line_of_output 820 824 ("mount | grep ' /boot ' | head -1 | cut -d' ' -f1 | sed 's/[0-9].*//'")); 825 #endif 821 826 if (strstr(bootdev, "/dev/cciss/")) { 827 #ifdef __IA64__ 828 strcpy(bootdev, call_program_and_get_last_line_of_output 829 ("mount | grep ' /boot/efi ' | head -1 | cut -d' ' -f1 | cut -dp -f1")); 830 #else 822 831 strcpy(bootdev, call_program_and_get_last_line_of_output 823 832 ("mount | grep ' /boot ' | head -1 | cut -d' ' -f1 | cut -dp -f1")); 833 #endif 824 834 } 825 835 if (!bootdev[0]) {
Note:
See TracChangeset
for help on using the changeset viewer.