[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PATCH: Vista support on os-prober



On Tue, May 29, 2007 at 05:59:49AM +0200, Thanatermesis wrote:
> Vista is not detected here, due to CASE sensitive stuff...

> For this you need to change the line 20 of the file
> /usr/lib/os-probes/mounted/20microsoft

> from:

> if [ -e "$2/bootmgr" ] && [ -e "$2/Boot/BCD" ]; then

> to:

> if [ -e "$2/bootmgr" ] && ([ -e "$2/Boot/BCD" ] || \
>    [ -e "$2/Boot/bcd" ] || [ -e "$2/boot/BCD" ] || \
>    [ -e "$2/boot/bcd" ]); then

Wouldn't it be simpler to mount the filesystem with case-insensitive
semantics at the kernel level?

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon@debian.org                                   http://www.debian.org/



Reply to: