Fix for 2.1.85 to make Solaris x86 /opt slice visible

James Bottomley (James.Bottomley@columbiasc.ncr.com)
Fri, 06 Feb 1998 11:03:16 -0600


This is a multipart MIME message.

--==_Exmh_19674905180
Content-Type: text/plain; charset=us-ascii

The following patch allows the solaris partition detection system to see /opt
slices (and several others). It changes the detection mechanism to skip over
slices with zero size rather than those with the UNASSIGNED tag. The side
effect will be that other unmountable slices (like swap and boot) will also
show up.

James Bottomley

--==_Exmh_19674905180
Content-Type: text/plain ; name="linux.solaris_opt.diff"; charset=us-ascii
Content-Description: linux.solaris_opt.diff
Content-Disposition: attachment; filename="linux.solaris_opt.diff"

--- 1.1 1998/02/04 17:46:45
+++ linux/drivers/block/genhd.c 1998/02/04 17:46:59
@@ -280,7 +280,7 @@
for(i=0; i<SOLARIS_X86_NUMSLICE; i++) {
s = &v->v_slice[i];

- if (s->s_tag == 0)
+ if (s->s_size == 0)
continue;
printk(" [s%d]", i);
/* solaris partitions are relative to current MS-DOS

--==_Exmh_19674905180--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu