* Re: SWXCRMON/MGR why on floppies?
[not found] <881668802.521884@pong.ti.telenor.net>
@ 1997-12-09 5:00 ` Glenn C. Everhart
1997-12-10 5:00 ` Thor Lancelot Simon
1 sibling, 0 replies; 2+ messages in thread
From: Glenn C. Everhart @ 1997-12-09 5:00 UTC (permalink / raw)
I worked on a utility to read UFS some time back. The issue with Sun is likely
that it's a big-endian machine, so any data item longer than 8 bits gets read
into memory in a different order. Think about reading an inode in, which contains
block numbers on disk. These are wider than 8 bits! They therefore come back
shuffled.
My premise was that there are some magic numbers on BSD FFS disks that can
be recognized so a filesystem can swap inode, directory, and so on, blocks
to get them right, and I was able to get the utility working, at least on the small
filesystem I had. I can't say however whether UFS means precisely BSD FFS or not,
At any rate, filesystems not designed and spec'd to work the same for either "sex"
machine are nontrivial to read.
In article <881668802.521884@pong.ti.telenor.net>
Tor Houghton <th@omaha.nextel.no> wrote:
> Tried reading the SWXCRMON and SWXCRMGR floppy on a SUN machine the other
> day, Digital claiming them to be UFS. The Sun machine failed to mount
> them. Then I tried a Linux machine, which, although mounted them, could
> not find any files on the floppy.
>
> A 'dd' found plenty of data.
>
> (My DEC machines were located several miles away, so I wanted to install
> the software remotely.)
>
> Why isn't this software distributed on a CD (or why can't it be downloaded
> from the 'net?)? It can't be much more expensive to whack it on a ISO CD-ROM
> than placing it on 3.5 floppies?
>
> Just a question, that is all. The software is installed now (DEC sent it to
> me via email).
>
> Tor.
>
> email: remove "omaha" from mail address!
^ permalink raw reply [flat|nested] 2+ messages in thread