From: krw Date: Mon, 1 Sep 2008 16:28:50 +0000 (+0000) Subject: Bring comment into line with reality. We use sgi label info but don't X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d5b435e3918ce11bc22fbbb17cd07d2c6d27d19f;p=openbsd Bring comment into line with reality. We use sgi label info but don't create just partitions 'i' -> 'l'. jsing@ had noted same discord. --- diff --git a/sys/arch/sgi/sgi/disksubr.c b/sys/arch/sgi/sgi/disksubr.c index ef59b5e3ef2..ecc6b148264 100644 --- a/sys/arch/sgi/sgi/disksubr.c +++ b/sys/arch/sgi/sgi/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.10 2008/09/01 14:08:25 krw Exp $ */ +/* $OpenBSD: disksubr.c,v 1.11 2008/09/01 16:28:50 krw Exp $ */ /* * Copyright (c) 1999 Michael Shalayeff @@ -160,7 +160,7 @@ readsgilabel(struct buf *bp, void (*strat)(struct buf *), goto done; } - /* Set up partitions i-l if there is no BSD label. */ + /* Spoof info from sgi label, in case there is no OpenBSD label. */ DL_SETDSIZE(lp, (DL_GETDSIZE(lp)*lp->d_secsize) / dlp->dp.dp_secbytes); lp->d_secsize = dlp->dp.dp_secbytes; lp->d_nsectors = dlp->dp.dp_secs;