~ubuntu-branches/ubuntu/maverick/util-linux/maverick-security

« back to all changes in this revision

Viewing changes to tests/ts/mount/fstab-uuid2label

Tags: 2.17-0ubuntu1
* Merge from Debian experimental, remaining changes:
  - Since udev is required in Ubuntu, the hwclock.sh init script is
    not called on startup and the hwclockfirst.sh init script is
    removed.
  - Remove /etc/adjtime on upgrade if it was not used.
  - Install custom blkid.conf to use /dev/.blkid.tab since we don't
    expect device names to survive a reboot
  - No lsb_release call in mount.preinst since we'd need Pre-Depends
    (LP: #383697).
  - Do not install initramfs hook, since our initramfs already handles
    including blkid.
  - Mention mountall(8) in fstab(5) manpages, along with its special
    options.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
ts_device_has "LABEL" $LABEL $DEVICE \
34
34
 || ts_die "Cannot found LABEL '$LABEL' on $DEVICE" $DEVICE
35
35
 
36
 
ts_udev_dev_support "by-label" $LABEL || ts_skip "udev ignores /dev/loop*" $DEVICE
37
 
 
38
36
ts_device_has_uuid $DEVICE || ts_die "Cannot found UUID on $DEVICE" $DEVICE
39
37
 
40
38
UUID=$(ts_uuid_by_devname $DEVICE)