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!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!newsfeed.Update.UU.SE!news.Update.UU.SE!not-for-mail From: Johnny Billquist Newsgroups: comp.sys.dec Subject: Re: RSX11 Tape file Structure? Date: Sat, 26 Feb 2011 12:13:21 +0100 Organization: Update Computer Club Message-ID: References: <4D6623BF.7030408@softjar.se> NNTP-Posting-Host: 178-83-28-113.dynamic.hispeed.ch Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: Iltempo.Update.UU.SE 1298718801 12951 178.83.28.113 (26 Feb 2011 11:13:21 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Sat, 26 Feb 2011 11:13:21 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 In-Reply-To: Xref: g2news2.google.com comp.sys.dec:3111 On 2011-02-26 12:00, Holm Tiffe wrote: > In article, > Johnny Billquist writes: >> On 2011-02-26 11:15, Holm Tiffe wrote: >>> In article, >>> Johnny Billquist writes: >>>> On 2011-02-26 10:39, Holm Tiffe wrote: >>>>> [..] >>>>> >> Hmpf. I thought that the directory entries would be deleted even though >> you got that error, but okay. Let's be simple, and just remove the >> directory entries then. >> >> PIP LB:[1,6]SYSSCAN.TMP;*/RM >> >> (this is the same as doing unlink in Unix) >> >>>> What this error basically meant is that the files themselves had already >>>> been deleted, but the directory entry pointing to them was still around. >>>> >>>> Johnny > > Ok, this has worked now, no complaints from the system anymore. Good. If that had failed, it would have been very interesting. However, at some point you might want to run the RSX equivalent to fsck, which is VFY. >>>> >>> >>> Next one: >>> >>>> set uic=[1,54] >>>> run $FMT >>> FMT>du2:/verify >>> >>> ** WARNING - Data will be lost on DU2: ** >>> >>> Continue? [Y OR N]: y >>> >>> Start formatting >>> FMT -- Privilege violation >>> >>> FMT> >> >> Huh? That was weird. Could you tell me what the result of a "DEV TI:" tells? >> >> Johnny >> > > Hmm.. whats the difference from FTM and initialize? FMT is formatting the disk. Ah! Right now I realized what your problem is as well. Anyway... Formatting is the actions of physically formatting a disk. It has nothing to do with file systems and similar stuff. INI is the creation of a file system on a disk. By the way, notice how you get errors when you do SET UIC=[...]. It should be SET /UIC=[...] (notice the slash) >> RUN $FMT > FMT>DU2:/VERIFY > > ** WARNING - Data will be lost on DU2: ** > > Continue? [Y OR N]: Y > > Start formatting > FMT -- Privilege violation Your problem is actually that RSX do not allow you to format this kind of disks. >> MOUNT DU2: >> INITIALIZE DU2: > INI -- Volume mounted Files-11 >> DISMOUNT DU2: > MCR -- Task not in system >> R DISMOUNT > MCR -- Illegal function >> DEV DU2: > DU2: Mounted Loaded Label= Type=RA81 >> HELP DMO > > DMO ddnn:[["]volume-label["]][/keyword(s)] > /DEV > /TERM=term: > /LOCK=option > > DMO /USER [/keyword(s)] > /DEV > /TERM=term: > /LOCK=option > > The DISMOUNT command requests the file system to mark a volume for dismount and > release its control blocks. The DISMOUNT /USER command dismounts all volumes > that you have mounted. > > If you specify a volume-label, it is checked against the label on the volume > to ensure that the proper volume is being dismounted. Privileged users can > dismount any volume. > > For more information on the DISMOUNT keywords, type HELP DISMOUNT keyword. >> DMO DU2: > DMO -- TT0: dismounted from DU2: *** Final dismount initiated *** >> > 11:49:08 *** DU2: -- Dismount complete > >> INITIALIZE DU2: > INI -- Device is not mounted foreign >> MOUNT DU2:/FOR >> RUN $FMT > FMT>DU2: > > ** WARNING - Data will be lost on DU2: ** > > Continue? [Y OR N]: Y > > Start formatting > FMT -- Invalid Operation > > FMT>^Z >> INITIALIZE DU2: > INI -- Device not allocated to this terminal - DU2: >> DMO DU2: > 11:50:18 *** DU2: -- Dismount complete > DMO -- TT0: dismounted from DU2: *** Final dismount initiated *** >> ALLOCATE DU2: >> MOUNT DU2:/FOR >> RUN $FMT > FMT>DU2:/VERIFY > > ** WARNING - Data will be lost on DU2: ** > > Continue? [Y OR N]: Y > > Start formatting > FMT -- Invalid Operation > > FMT>^Z >> INITIALIZE DU2: > WARNING -- This volume is not backwards compatible > > Searching for bad block descriptor file > INI -- Failed to read bad block file >> > > > ...have something read about BAD before.. Yes. BAD is the program used to scan for bad blocks on a disk. However, since DU disks guarantee to be free of bad blocks, BAD is not really neccesary. I think there is a switch to INI to tell it to ignore bad block information, and just initialize the file system. > It seems that a volume to be formated has to be mounted in some way, > allocated exclusively to a terminal..? > > ... always interresting to how to get some command started .. :-) > Will try to find out how big DU2 currently is at next... Yes. To create a file system on a disk, the disk must be allocated exclusively to you, and it must be mounted foreign. Have to go away for a while. Write more later... Johnny -- Johnny Billquist || "I'm on a bus || on a psychedelic trip email: bqt@softjar.se || Reading murder books pdp is alive! || tryin' to stay hip" - B. Idol