From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,c67359ca2e6582ee,start X-Google-Attributes: gid1164f8,public From: everhart@gce.com.gov (Glenn C. Everhart) Subject: Re: SWXCRMON/MGR why on floppies? Date: 1997/12/09 Message-ID: <66jhhf$q3a@top.mitre.org>#1/1 X-Deja-AN: 296593497 Distribution: world References: <881668802.521884@pong.ti.telenor.net> Organization: Speaking for me...remove .gov to use address Reply-To: Everhart@gce.com.gov Newsgroups: comp.sys.dec 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