diff options
author | Chris Lumens <clumens@redhat.com> | 2008-03-11 17:20:31 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2008-03-11 17:21:01 -0400 |
commit | d0cfae88f1007c8d41a85708f6b3b114b356833a (patch) | |
tree | 1ce3c81267b268e848de6db6ed2e7570f49f4b5e /loader2 | |
parent | 755d06005efd488dcb5fabadf1ed09d2c787ef3b (diff) | |
download | anaconda-d0cfae88f1007c8d41a85708f6b3b114b356833a.tar.gz anaconda-d0cfae88f1007c8d41a85708f6b3b114b356833a.tar.xz anaconda-d0cfae88f1007c8d41a85708f6b3b114b356833a.zip |
Filter out /dev/ram* devices from the list of hdiso partitions.
Diffstat (limited to 'loader2')
-rw-r--r-- | loader2/getparts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loader2/getparts.c b/loader2/getparts.c index 3bde18e35..ace91ae58 100644 --- a/loader2/getparts.c +++ b/loader2/getparts.c @@ -35,7 +35,7 @@ static int isPartitionName(char *pname) { /* if it doesnt start with a alpha its not one */ - if (!isalpha(*pname)) + if (!isalpha(*pname) || strstr(pname, "/ram")) return 0; /* if it has a '/' in it then treat it specially */ |