~ubuntu-branches/ubuntu/trusty/os-prober/trusty

« back to all changes in this revision

Viewing changes to os-probes/mounted/x86/30utility

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2011-04-10 00:36:21 UTC
  • Revision ID: james.westby@ubuntu.com-20110410003621-q22v5zqanw1l7bm5
Tags: 1.44ubuntu1
* Cherry-pick from trunk:
  - Use grub-mount if it exists.  This lets us do true read-only mounts,
    and works better on journalling filesystems that were mounted
    uncleanly (LP: #683355).
  - Attempt to load the fuse module, to improve the chances of grub-mount
    working.
* Depend on grub-mount-udeb.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
case "$type" in
12
12
        vfat)   debug "$1 is a FAT32 partition" ;;
13
13
        msdos)  debug "$1 is a FAT16 partition" ;;
 
14
        fuse|fuseblk) debug "$1 is a FUSE partition" ;; # might be GRUB
14
15
        *)      debug "$1 is not a FAT partition: exiting"; exit 1 ;;
15
16
esac
16
17