[comp.unix.wizards] Where does Ultrix put the partition tables for RA[2568][01235]s?

thorinn@diku.UUCP (Lars Henrik Mathiesen) (06/15/87)

I've been thinking about hacking this into 4.3BSD, and I thought it would be
nice to put them in the same place that Ultrix does (we might have to run
Ultrix at some time ...). When are the tables read in, at boot time, at first
access to the drive, or when partition 'a' is mounted? (I know the last is an
easy way to get the info in, but then you have to mount all 'a' partitions,
before you access anything, and what about swapon, ...)
  Also, does anyone know the magic MSCP commands to do bad block replacement
on a UDA? Will Ultrix do it?
--
Lars Mathiesen, DIKU, U of Copenhagen, Denmark		..mcvax!diku!thorinn
Institute of Datalogy -- we're scientists, not engineers.

rbj@icst-cmr.arpa (Root Boy Jim) (06/23/87)

   I've been thinking about hacking this into 4.3BSD, and I thought it
   would be nice to put them in the same place that Ultrix does...

I always thought that using the odd blocks between the bad sector
info (DEC bad144 format, the first five even block of the last track)
would be a good idea.

   (we might have to run Ultrix at some time ...).

Well, then maybe it's a good idea to do it their way.

   When are the tables read in, at boot time, at first access to the
   drive, or when partition 'a' is mounted?

I would guess at boot time. My method has the advantage that you can
piggyback partitioning info onto the bad block processing, which has
to be done first anyway. Plus, the area is guaranteed to be good.

	(Root Boy) Jim Cottrell	<rbj@icst-cmr.arpa>
	National Bureau of Standards
	Flamer's Hotline: (301) 975-5688

chris@mimsy.UUCP (Chris Torek) (06/27/87)

In article <7954@brl-adm.ARPA> rbj@icst-cmr.arpa (Root Boy Jim) writes:
>I always thought that using the odd blocks between the bad sector
>info (DEC bad144 format, the first five even block of the last track)
>would be a good idea.

The current Berkeley kernels put pack labels, including partition
information, in sector zero.  On some disks this is the only place
you *can* put them.

Pack labels may well be in the first BRL 4.3-upgrade distribution.
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7690)
Domain:	chris@mimsy.umd.edu	Path:	seismo!mimsy!chris