Comment 5 for bug 1282760

Revision history for this message
Nils Kassube (kassube) wrote :

Thanks for the review. With the cut command I want to select the mount point and not the device. The device is known inside the loop from "$part" but there are several ways to name the device in /etc/fstab (device, UUID, label). It is unknown which version is used for the partition in question. On your last output you can see the problem with several device names and one UUID. Therefore it is easier to determine the fstab line using the mount point, and that is at field 2. So the output of

grep -v '^#' /etc/fstab | tr -s ' ' '\t' | cut -s -f 2,6

should be the mount points and the pass numbers.