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!news2.google.com!news.glorb.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!feeder.news-service.com!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: Sat, 26 Feb 2011 07:16:01 +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 1298704561 67968 188.103.155.224 (26 Feb 2011 07:16:01 GMT) X-Complaints-To: news@freibergnet.de NNTP-Posting-Date: Sat, 26 Feb 2011 07:16:01 +0000 (UTC) X-Newsreader: knews 1.0b.1 Xref: g2news2.google.com comp.sys.dec:3098 In article , Johnny Billquist writes: > On 2011-02-25 17:40, Holm Tiffe wrote: >> ...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": > > You do know that the label area protection can be overridden? No need to > patch the code. > I think it's the disklabel program that you use to write-enable that part. Yes, and it is the only one where this mechanism ever gets used. I'm not shure if this feature is more a misfeature or a bug. Modern BSDs don't have this feature anymore. For what is it good for? Your can scrap easily the entire disk, only the label persists... If I would use this mechanism I had to write a program which handles the label area as special case and have to set the flag to allow overwriting of the label. dd is a program to dump disks, and this program doesnt work for dumping disks b'cause of this ugly label preserving feature... Regards, Holm > >> Maybe I run in the next problem, since the data are now put to DU2, RSX11 >> is build for DU1... > > Like I said before. With RSX, this is not a problem. The system is not > built for a system disk on a specific unit. It uses whatever unit it > actually is booted from. > > Johnny > hmm, yesterday eavening I've checked if sysgen works, sysgen couldnt find the 3 save files generatad at the previous runs on simh... Regards, Holm