Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: holm@unicorn.tsht.lan (Holm Tiffe)
Subject: Re: RSX11 Tape file Structure?
Date: Fri, 25 Feb 2011 16:40:24 +0000 (UTC)	[thread overview]
Message-ID: <ik8m1o$b9t$1@news.freibergnet.de> (raw)
In-Reply-To: ik83b1$2mnv$1@news.freibergnet.de

...There is something curios with the RZ26L, an other disk does well.
Currently I'm copying the diskimage from simh with dd from 2.11BSD to
an empty disk partition (DU2). I had to disable a kernel protection mechanism
in 2.11BSDs ufs_disksubr.c which should prevent disklables from being over-
written. I could only wirte 2 blocks and got then an error "read only
filesystem":

		}
/*
 * Check for write to write-protected label area.  This does not include
 * sector 0 which is the boot block.
*/
	if	(bp->b_blkno + pi->p_offset <= LABELSECTOR &&
		 bp->b_blkno + pi->p_offset + sz > LABELSECTOR &&
		 !(bp->b_flags & B_READ) && !(dk->dk_flags & DKF_WLABEL))
		{
		bp->b_error = EROFS;
		goto bad;
		}
	return(1);		/* success */
bad:

I've commented the if(){} block out and build a new kernel, this kernel is
happyly  copying the data now.. lets see if it boots..

I can set the flag DKF_WLABEL only if I build my own dd program, I'm to lazy
to make that now...

Maybe I run in the next problem, since the data are now put to DU2, RSX11
is build for DU1...

Regards,

Holm



  reply	other threads:[~2011-02-25 16:40 UTC|newest]

Thread overview: 66+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-20 19:24 RSX11 Tape file Structure? Holm Tiffe
2011-02-20 19:44 ` Roger Ivie
2011-02-21  1:04 ` Johnny Billquist
2011-02-21 11:53   ` Holm Tiffe
2011-02-21 13:08     ` Bob Eager
2011-02-21 16:27       ` Holm Tiffe
2011-02-21 17:36         ` Bob Eager
2011-02-22 17:43           ` Holm Tiffe
2011-02-22 18:26             ` Bob Eager
2011-02-22 19:16               ` Bob Eager
2011-02-21 19:20     ` Johnny Billquist
2011-02-22 18:41       ` Holm Tiffe
2011-02-22 19:56         ` Rich Alderson
2011-02-22 22:26           ` Johnny Billquist
2011-02-23 23:32             ` Rich Alderson
2011-02-24  9:18               ` Johnny Billquist
2011-02-22 22:20         ` Johnny Billquist
2011-02-23 10:57           ` Holm Tiffe
2011-02-23 18:28             ` Holm Tiffe
2011-02-23 19:12               ` Holm Tiffe
2011-02-23 23:54                 ` Rich Alderson
2011-02-24  9:24                   ` Johnny Billquist
2011-02-24 16:52                     ` Holm Tiffe
2011-02-24 23:38                       ` Johnny Billquist
2011-02-25  7:02                         ` Holm Tiffe
2011-02-25  7:35                           ` Holm Tiffe
2011-02-25  9:13                           ` Johnny Billquist
2011-02-25 11:21                             ` Holm Tiffe
2011-02-25 16:40                               ` Holm Tiffe [this message]
2011-02-25 20:20                                 ` Holm Tiffe
2011-02-26  1:24                                   ` Johnny Billquist
2011-02-26  7:01                                     ` Holm Tiffe
2011-02-26  9:08                                       ` Johnny Billquist
2011-02-26  9:29                                         ` Holm Tiffe
2011-02-26  9:39                                           ` Holm Tiffe
2011-02-26  9:55                                             ` Johnny Billquist
2011-02-26 10:15                                               ` Holm Tiffe
2011-02-26 10:21                                                 ` Holm Tiffe
2011-02-26 10:35                                                   ` Johnny Billquist
2011-02-26 10:32                                                 ` Johnny Billquist
2011-02-26 11:00                                                   ` Holm Tiffe
2011-02-26 11:13                                                     ` Johnny Billquist
2011-02-26 12:37                                                       ` Holm Tiffe
2011-02-26 18:32                                                         ` Holm Tiffe
2011-02-26 23:47                                                           ` Johnny Billquist
2011-02-27 11:35                                                             ` Holm Tiffe
2011-02-27 11:59                                                               ` Johnny Billquist
2011-02-27 12:35                                                                 ` Holm Tiffe
2011-02-27 12:43                                                                   ` Holm Tiffe
2011-02-27 13:37                                                                     ` Johnny Billquist
2011-02-27 14:49                                                                       ` Holm Tiffe
2011-02-27 15:10                                                                         ` Holm Tiffe
2011-02-28  1:33                                                                           ` Johnny Billquist
2011-02-27 19:38                                                                         ` Holm Tiffe
2011-02-28  1:50                                                                           ` Johnny Billquist
2011-02-28 13:49                                             ` Bob Koehler
2011-02-26  9:53                                           ` Johnny Billquist
2011-02-26  1:20                                 ` Johnny Billquist
2011-02-26  7:16                                   ` Holm Tiffe
2011-02-26  9:15                                     ` Johnny Billquist
2011-02-26  1:18                               ` Johnny Billquist
2011-02-26  7:07                                 ` Holm Tiffe
2011-02-26  9:19                                   ` Johnny Billquist
2011-02-26 12:56                                     ` Holm Tiffe
2011-02-26 23:53                                       ` Johnny Billquist
2011-02-24  9:44             ` Johnny Billquist
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox