[comp.sys.apple] Help . . . $c7 files

jwolverton@pro-tcc.cts.com (John Wolverton) (11/19/89)

   In my installation of upgrade gs/os 5.0.2, I ran into problems and needed
to re-install the operating system. In doing this, I had to remove the old
system 5.0 from the hd.  I discovered that I could NOT delete the $c7 file
types.  I tried Cat.doctor, copy II+, BASIC all with the same result, either
an I/O error from BASIC or incompatable filetype error $FA.  I even used a
utility that would allow me to change filetype and aux. filetype, but still
persisted with the same problem.

   My solution was to rename the files and go ahead and re-install system 5.0
over the top (with no worry about the same filename being encountered).  Then,
I was able to use gs/os 5.0 to collect the trash and dump it (getting rid of
the files).  

   My question(s):  Why was I not able to delete thes files normally?  What
could I have done differently? (without going through the  L O N G  process
that I put myself through)  Has this ever happened to others?  What did you
do?

   Thanks.

                              John Wolverton
 __
|__|      Rosemont Center       | ProLine:  jwolverton@pro-tcc
| ro-tcc  2440 Dawnlight Ave.   | Internet: jwolverton@pro-tcc.cts.com
 [614]    Columbus, OH 43224    |
471-1265  [614] 471-2626 voice  | UUCP:crash!pro-tcc!jwolverton

lunatic@ucscb.UCSC.EDU (Lunatic) (11/19/89)

In article <2690.feeds.info-apple@pro-tcc> jwolverton@pro-tcc.cts.com (John Wolverton) writes:
>
>   In my installation of upgrade gs/os 5.0.2, I ran into problems and needed
>to re-install the operating system. In doing this, I had to remove the old
>system 5.0 from the hd.  I discovered that I could NOT delete the $c7 file
>types.  I tried Cat.doctor, copy II+, BASIC all with the same result, either
>an I/O error from BASIC or incompatable filetype error $FA.  I even used a
>utility that would allow me to change filetype and aux. filetype, but still
>persisted with the same problem.
>
[solution deleted]
>
>   My question(s):  Why was I not able to delete thes files normally?
    _
   |_
   |iles of type $C7 are CDEVs (Control Panel Devices) and they contain
resource forks.  Files with resource forks cannot be operated upon by
standard ProDOS 8 applications such as Cat.Doctor, Copy II Plus, or
Basic.System.  Changing the file/auxtypes would not help because the
files still have the resource forks.

>                                                                       What
>could I have done differently? (without going through the  L O N G  process
>that I put myself through)

   1.)  You could have deleted the files from Finder before you
        deleted the rest of the system files.  This would require a
        second step because Finder won't delete some of the system
        files on the disk (one is itself).
   2.)  You could have booted from a floppy disk containing GS/OS 5.0
        or later and Finder or ProSel 16 and deleted the files from there.
   3.)  You could just run Installer under the new system and have it
        delete the old files as it adds the new ones.

>                            Has this ever happened to others?
    _
   (_an't say that it has.  (:

>   Thanks.

   You're welcome.

>                              John Wolverton
> __
>|__|      Rosemont Center       | ProLine:  jwolverton@pro-tcc
>| ro-tcc  2440 Dawnlight Ave.   | Internet: jwolverton@pro-tcc.cts.com
> [614]    Columbus, OH 43224    |
>471-1265  [614] 471-2626 voice  | UUCP:crash!pro-tcc!jwolverton

-- 
___________________________________________________________________________
  ___________                         ARPA: lunatic@uscsb.UCSC.EDU        /
    ________/                         Internet: lunatic%ucscb@ucscc.edu  /
      ____//           _  ___     _   UUCP: ...!ucscc!ucscb!lunatic     /
     ___///__ {_} |\| /-\  |  ][ {_   GEnie: L.BRUCE  (Lunatic Bruce)  /
    __________________________________________________________________/  (:

mattd@Apple.COM (Matt Deatherage) (11/20/89)

In article <5890@lindy.Stanford.EDU> lunatic@ucscb.UCSC.EDU (Lunatic) writes:
>
>[solutions on how to remove extended files from the System Software]
>
>   1.)  You could have deleted the files from Finder before you
>        deleted the rest of the system files.  This would require a
>        second step because Finder won't delete some of the system
>        files on the disk (one is itself).
>   2.)  You could have booted from a floppy disk containing GS/OS 5.0
>        or later and Finder or ProSel 16 and deleted the files from there.
>   3.)  You could just run Installer under the new system and have it
>        delete the old files as it adds the new ones.
>
>  ___________                         ARPA: lunatic@uscsb.UCSC.EDU        /

    4.)  You could run the Installer, highlight "Latest System Files" and
         click "Remove" instead of "Install".  :)

-- 
-----------------------------------------------------------------------------
Matt Deatherage, Apple Computer, Inc. | "The opinions expressed in this tome
Send PERSONAL mail ONLY (please) to:  | should not be construed to imply that
Amer. Online: Matt DTS                | Apple Computer, Inc., or any of its
ThisNet: mattd@apple.com              | subsidiaries, in whole or in part,
ThatNet: (stuff)!ames!apple!mattd     | have any opinion on any subject."
Other mail by request only, please.   | "So there."
-----------------------------------------------------------------------------

blochowi@rt17.cs.wisc.edu (Jason Blochowiak) (11/21/89)

In article <2690.feeds.info-apple@pro-tcc> jwolverton@pro-tcc.cts.com (John Wolverton) writes:
> [Article mercilessly edited]
>   In my installation of upgrade gs/os 5.0.2, I ran into problems and needed
>to re-install the operating system. In doing this, I had to remove the old
>system 5.0 from the hd.  I discovered that I could NOT delete the $c7 file
>types.  I tried Cat.doctor, copy II+, BASIC all with the same result, either
>an I/O error from BASIC or incompatable filetype error $FA.  I even used a
>utility that would allow me to change filetype and aux. filetype, but still
>persisted with the same problem.

	Well, $c7's are (if I remember right) CDevs. CDevs are forked files,
and ProDOS 8 doesn't know about forked files, so it can't deal with them.
Btw, it was probably "incompatible storage type", not incompatible file type.
Since it's not the filetype, changing the filetype and auxtype won't make a
difference.

	I recently came across this personally, when I was (trying :( ) to
write a CDev. Normally when I write something that needs to go into the
*:System folder, I keep a disk around with just ProDOS 8 & Basic.System on it,
so that I can DELETE /SYS/SYSTEM/whatever and then reboot my hard drive. As
it sits, I ran a PD utility to change the auxtype from $0000 to $8000, so that
the CDev would be considered inactive. Of course, that wouldn't have done
you any good :)

	As something of an aside - would it be possible to convince the folks
that work on P8 to allow for deletion of forked files? I'd imagine it'd just
be one extra step (as in - if storageType == 5, then do a block read for the
key block, grab the two key block #'s, and then call the internal delete with
the two key block #'s), and it'd be useful for more people than just me :)

>   Thanks.

	No problem...
>                              John Wolverton
>| ro-tcc  2440 Dawnlight Ave.   | Internet: jwolverton@pro-tcc.cts.com


--
      Jason Blochowiak - blochowi@garfield.cs.wisc.edu or jason@madnix.uucp
       "Education, like neurosis, begins at home." - Milton R. Sapirstein

UD182050@VM1.NODAK.EDU (Mike Aos) (11/22/89)

In reply to someones $C7 files.  I dunno how a person goes about it, but I
seem to recall trying to delete some files from the System Dir (I wanna say
system.setup, but I'm almost positive that's not right) and it told me
something to the effect that I was not authorized to do it.  Something like
that.  I dunno.  It was late, and I took an alternate method.  Does this
ring any bells w/anyone?

Mike

BTW-This was on System 5.0, or 5.0.2, I don't recall exactly which.  It
happened shortly after I got System 5.0.2...

ST802148@BROWNVM.BROWN.EDU (Evan) (11/27/89)

If my memory serves me correctly, $C7 files are those uses primarily by GEOS. I
 remember I once installed at my GEOS accessories onto my hard drive for fast u
se, only to find it would not boot since I had a "ghost drive" for my hard driv
e. Anyway, I went to delete the files with C2plus, only to get errors.  I had t
o delete each file individually with GEOS desktop instead.