Changeset 717 in MondoRescue for branches/stable
- Timestamp:
- Jul 25, 2006, 12:04:00 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mindi/mindi
r715 r717 1353 1353 partition_mountpt=`tr -s '\t' ' ' < $MY_FSTAB | /bin/grep -w "$current_partition" | /bin/grep -vx " *#.*" | $AWK '{print $2}' | head -n1` 1354 1354 1355 # Detects noauto partitions not mounted and exclude them 1356 partition_option=`tr -s '\t' ' ' < $MY_FSTAB | /bin/grep -w "$current_partition" | /bin/grep -vx " *#.*" | $AWK '{print $4}' | head -n1` 1357 if [ "`echo "$partition_option" | grep -i noauto`" != "" ] && [ "`mount | grep -w "$partition_mountpt"`" = "" ] ; then 1358 continue 1359 fi 1360 1355 1361 # This part tries to retrieve the correct device from a LABEL line in /etc/fstab 1356 1362 # current_partition contains only first column of /etc/fstab
Note:
See TracChangeset
for help on using the changeset viewer.