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

« back to all changes in this revision

Viewing changes to os-probes/mounted/x86/10freedos

  • 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:
10
10
case "$type" in
11
11
        vfat) debug "$1 is a FAT32 partition" ;;
12
12
        msdos) debug "$1 is a FAT16 partition" ;;
 
13
        fuse|fuseblk) debug "$1 is a FUSE partition" ;; # might be GRUB
13
14
        *) debug "$1 is not a FAT partition: exiting"; exit 1 ;;
14
15
esac
15
16