Joey Hess, le Mon 12 Mar 2012 11:14:07 -0400, a écrit : > The particular OS string we see here comes from: > > # MS-DOS > if [ -z "$found" ] && item_in_dir -q dos "$2" && > [ -d "$2"/"$(item_in_dir dos "$2")" ]; then > long="MS-DOS 5.x/6.x/Win3.1" > short=MS-DOS > > found=true > fi > > item_in_dir checks for any case, so /DOS or /Dos would also do. > Perhaps your filesystem has a "/dos" directory? > > These checks don't try to avoid false positives like a /dos or /windows, > because the code earlier checks that the mounted filesystem is one of ntfs, > vfat, or msdos.
Mmm, why not looking for io.sys at the root? In all the versions of DOS that I know there has to be one for the partition to be bootable. Samuel -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org