From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 1164f8,5289e984584236e0 X-Google-NewGroupId: yes X-Google-Attributes: gidd180ab3bd8,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!feeder.news-service.com!tudelft.nl!txtfeed1.tudelft.nl!newsfeed20.multikabel.net!spool10.prolocation.net!multikabel.net!newsfeed10.multikabel.net!feed.xsnews.nl!border-2.ams.xsnews.nl!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!news.envia-tel.net!news.freibergnet.de!not-for-mail From: holm@unicorn.tsht.lan (Holm Tiffe) Newsgroups: comp.sys.dec Subject: Re: RSX11 Tape file Structure? Date: Fri, 25 Feb 2011 16:40:24 +0000 (UTC) Organization: FreibergNet IT Systems Message-ID: References: <4D6623BF.7030408@softjar.se> NNTP-Posting-Host: dslb-188-103-155-224.pools.arcor-ip.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.freibergnet.de 1298652024 11581 188.103.155.224 (25 Feb 2011 16:40:24 GMT) X-Complaints-To: news@freibergnet.de NNTP-Posting-Date: Fri, 25 Feb 2011 16:40:24 +0000 (UTC) X-Newsreader: knews 1.0b.1 Xref: g2news2.google.com comp.sys.dec:3091 ...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