* 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
* Re: SWXCRMON/MGR why on floppies?
[not found] <881668802.521884@pong.ti.telenor.net>
1997-12-09 5:00 ` SWXCRMON/MGR why on floppies? Glenn C. Everhart
@ 1997-12-10 5:00 ` Thor Lancelot Simon
1 sibling, 0 replies; 2+ messages in thread
From: Thor Lancelot Simon @ 1997-12-10 5:00 UTC (permalink / raw)
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.
This is hardly surprising. UFS is does not use network byte order so
of course you can't read UFS filesystems from a DEC machine (which is
litt-endian) on a SUN machine (which is big-endian).
As for the problems with Linux -- who knows? Almost everyone who uses
Linux uses ext2fs, so I don't expect that you'll run into a lot of people
with experience reading some other operating system's UFS floppies (even
of the same byte order) under Linux.
--
Thor Lancelot Simon tls@rek.tjls.com
"And where do all these highways go, now that we are free?"
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-12-10 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <881668802.521884@pong.ti.telenor.net>
1997-12-09 5:00 ` SWXCRMON/MGR why on floppies? Glenn C. Everhart
1997-12-10 5:00 ` Thor Lancelot Simon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox