Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: everhart@gce.com.gov (Glenn C. Everhart)
Subject: Re: SWXCRMON/MGR why on floppies?
Date: 1997/12/09	[thread overview]
Message-ID: <66jhhf$q3a@top.mitre.org> (raw)
In-Reply-To: 881668802.521884@pong.ti.telenor.net


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!






       reply	other threads:[~1997-12-09  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <881668802.521884@pong.ti.telenor.net>
1997-12-09  5:00 ` Glenn C. Everhart [this message]
1997-12-10  5:00 ` SWXCRMON/MGR why on floppies? Thor Lancelot Simon
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox