~ubuntu-branches/ubuntu/lucid/os-prober/lucid

Viewing all changes in revision 5.

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2009-09-21 14:55:23 UTC
  • mfrom: (4.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20090921145523-3t8xnvadpdzists4
Tags: 1.34
* Only look for a smart version of mount if we're using busybox mount. In
  a normal system, mount probably already handles labels and UUIDs, and
  using mount from another filesystem is risky enough that it's worth
  avoiding if possible.
* Memoise calls to 'basename $0' in log function.
* Handle escaped special characters in /etc/fstab and /proc/mounts
  (LP: #433910).
* dash defines test's -nt operator differently from bash, as it's entitled
  to do since this is an extension not defined in POSIX. If file1 exists
  and file2 does not, bash returns true but dash returns false. Don't rely
  on bash's behaviour when checking whether to use GRUB Legacy or GRUB 2
  configuration files, otherwise we end up using neither when only one set
  of configuration exists and /bin/sh is dash.
* Try to map LABEL= and UUID= ourselves in linux_mount_boot rather than
  relying on mount to do it, to further reduce the chance that we need to
  use mount from another filesystem.
* If the filesystem identified by linux-boot-prober as /boot is already
  mounted somewhere else, then bind-mount it rather than trying to mount
  it again.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: