~ubuntu-branches/ubuntu/feisty/os-prober/feisty

« back to all changes in this revision

Viewing changes to os-probes/mounted/x86/20microsoft

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2006-08-29 11:27:47 UTC
  • Revision ID: james.westby@ubuntu.com-20060829112747-znyelv2ks3k1kqxa
Tags: 1.14
Use udevinfo if available in parse_proc_mdstat to figure out whether a
device is a partition.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
  *) debug "$1 is not a MS partition: exiting"; exit 1 ;;
16
16
esac
17
17
 
 
18
# Vista/Longhorn
 
19
if [ -e "$2/bootmgr" ] && [ -e "$2/Boot/BCD" ]; then
 
20
  long="Windows Vista/Longhorn (loader)"
 
21
  short=Windows
18
22
# 2000/XP/NT4.0
19
 
if [ -e "$2/ntldr" -a -e "$2/NTDETECT.COM" ]; then
 
23
elif [ -e "$2/ntldr" ] && [ -e "$2/NTDETECT.COM" ]; then
20
24
  long="Windows NT/2000/XP"
21
25
  short=Windows
22
26
  if [ -e "$2/boot.ini" ]; then