- Timestamp:
- Nov 29, 2007, 1:12:14 AM (17 years ago)
- Location:
- branches/2.2.5
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.5/mindi/mindi
r1821 r1824 970 970 grep -vx " *#.*" $MY_FSTAB | grep -vx " *none.*" | $AWK '/^\/dev\/[imhs]d||^LABEL=\/|^UUID=/ && !/fdd|cdr|zip|floppy/ {print $1}' 971 971 [ -e "/etc/raidtab" ] && $AWK '/^ *device/ {print $2}' /etc/raidtab 972 [ -e "/vmfs/volumes" ] && echo "/vmfs/volumes" 972 if [ -e "/vmfs/volumes" ]; then 973 # For VMWare ESX 3 get the device names of these volumes 974 vdf -P | grep -E '/vmfs/volumes' | awk '{print $1}' 975 fi 973 976 return 974 977 } -
branches/2.2.5/mindi/rootfs/sbin/init
r1820 r1824 309 309 /sbin/udevsettle 310 310 fi 311 # It seems we need to have more static devs on some distro were 312 # udev as some other requirements to be covered later on. 313 # So in the mean time: 314 for d in `ls /dev.static`; do 315 if [ ! -e /dev/$d ]; then 316 mv /dev.static/$d /dev 317 fi 318 done 311 319 echo $PKLVL > /proc/sys/kernel/printk 312 320 } … … 587 595 mkdir /sys 2> /dev/null 588 596 mount /sys/ /sys -v -t sysfs 2>> $LOGFILE 597 # For ESX 3 598 [ -d /proc/vmware ] && ! grep -q /vmfs /proc/mounts && mount -t vmfs /vmfs /vmfs 589 599 rm -f /foozero 590 600 -
branches/2.2.5/mondo/src/mondorestore/mondo-prep.c
r1741 r1824 2211 2211 } else if (strcmp(format, "minix") == 0) { 2212 2212 strcpy(partcode, "81"); 2213 } else if (strcmp(format, "vmfs ") == 0) {2213 } else if (strcmp(format, "vmfs3") == 0) { 2214 2214 strcpy(partcode, "fb"); 2215 } else if (strcmp(format, "vmkcore") == 0) { 2216 strcpy(partcode, "fc"); 2215 2217 } else if (strcmp(format, "raid") == 0) { 2216 2218 strcpy(partcode, "fd");
Note:
See TracChangeset
for help on using the changeset viewer.