11274fafb184ce9640b6dfca1a901a7328f6c545
[dragonfly.git] / usr.sbin / installer / libinstaller / survey.c.patch
1 $DragonFly: src/usr.sbin/installer/libinstaller/Attic/survey.c.patch,v 1.1 2008/07/14 23:57:10 swildner Exp $
2
3 Index: survey.c
4 ===================================================================
5 RCS file: /home/dcvs/src/contrib/bsdinstaller-1.1.6/src/lib/libinstaller/survey.c,v
6 retrieving revision 1.1.1.1
7 diff -u -r1.1.1.1 survey.c
8 --- survey.c    12 Mar 2008 22:15:55 -0000      1.1.1.1
9 +++ survey.c    14 Jul 2008 22:29:54 -0000
10 @@ -201,10 +201,12 @@
11                         continue;
12  
13                 /*
14 -                * If the disk is a memory disk or CD-ROM, skip it.
15 +                * If the disk is a memory disk, floppy or CD-ROM, skip it.
16                  */
17                 if (strncmp(disk, "md", 2) == 0 ||
18 -                   strncmp(disk, "cd", 2) == 0)
19 +                   strncmp(disk, "cd", 2) == 0 ||
20 +                   strncmp(disk, "acd", 3) == 0 ||
21 +                   strncmp(disk, "fd", 2) == 0)
22                         continue;
23  
24                 aura_dict_store(di, disk, strlen(disk) + 1, "", 1);