[comp.unix.aux] Using 1.1.1 file systems w/ 2.0

mss+@andrew.cmu.edu (Mark Sherman) (10/01/90)

I just converted my system from 1.1.1 to 2.0. From what I read in the manuals,
I should have been able to keep my extra disk that was formatted and ran
for 1.1.1 (which I infer means it is a 5.2 disk). My attempts to fsentry
(and/or mount) fail with the message that the system does not recognize the
file system. This happens both when I try to let the system guess and when
I explicitly tell it that it is a system V file system. In the latter case,
the entry created in /etc/fstab is the same as was in my 1.1.1 system. I am
trying to avoid reformatting my Great Wave 160 Meg (approx) disk since I don't
want to sit through all of those slice/block offset calculations and
partition-patching commands to set partition information.
Any ideas?
Another problem that awaits me is the transfer of files from Mac disks
back to AUX. The files were binary files copied using hfx from 1.1.1 to
MacOS (floppies). The obvious way of copying them back (dragging) does not work
2.0 adds special stuff in the front of the file specifying that it is a
Mac file (which it is not!). Is there some obvious trick to recover them?
(For example, does cat only take a data fork of a file, and hence I can
use cat to extract only that part?)

Or should I just bite the bullet and get another complete set of documentation?

           -Mark

alexis@panix.uucp (Alexis Rosen) (10/02/90)

Since I was so verbose in my last article, I 'll make up by being brief here:

1) To use the 1.1.1 disk with 2.0, run fsck on it. You can use sash (A/UX
Startup) for this.

2) Inside A/UX, drag the files into an A/UX disk. Cat won't help since the
data fork and Res fork are in the same A/UX (AppleSingle) file. Instead run
fcnvt on them. Check the man page, but I think you want:
fcnvt -o plain {inputfile} {outputfile}

The easiest way to do this for lots of files is to put them all in a folder,
then write a shell script which converts each one, puts it in a new folder
with the same name, and gets rid of all the .rsrc files.

---
Alexis Rosen
{cmcl2,apple}!panix!alexis
alexis@panix.uucp