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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1282760

Title:
  update-motd-fsck-at-reboot claims that partitions will be checked even
  if check is disabled in fstab

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1282760/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to