Solved

SunOS and Linux Filesystems

Posted on 1997-11-10
5
392 Views
Last Modified: 2013-12-15
I have a SParcStation LX that can boot SunOS 5.5 or Linux 2.0.3. Under Linux you can mount ufs filesystems but under SunOS you cannot mount Linux filesystems (type ext2) the two related questions: 1. How to recognize 'ext2' filesystem type under SunOS and 2. How to run SPAARC ELF Executables under Linux
0
Comment
Question by:jrg
  • 3
5 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1630471
There is no way to mount ext2 partitions if Solaris' mount doesn't support  ext2  filesystems :-(
ELF was designed to be more platform-independent, but AFAIK it isn't. You need ELF executables compiled and linked under Linux.
0
 
LVL 1

Expert Comment

by:demiurg
ID: 1630472
Sorry to dissapoint you, but I think that all this is not possible
0
 

Author Comment

by:jrg
ID: 1630473
Well, I know all of this is possible. To have Solaris (SunOS) understand a new filesystem type you have to install a new virtual file system type (VFS). The current types that are understood are many (ufs, pcfs, nfs, rfs, tmpfs....) The only question is writing the code and loading the module. I know how to do this, I guess I was hoping as a minumum for some info on the 'ext2' filesystem format so I could write the driver as a last resort. At best I thought maybe it had been done.

As for SPARC Executables under Linux I am certain this is also possible. There is Intel emulation for Linux on x86 and I know for a fact SPARC emulation has been done on other platforms. Just as ALPHA (MIPS) emulation has been done. In other words, cross-platform emulation is certainly a doable task. ELF Format is well-known and (surprisingly) well-documented. Again, I was hoping some workhad been done in this area.

To say it is not possile is not an answer!
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1630474
Ok, you need information about ext2. I've seen this on a OS/2 site. There was a documentation of ext2 **and** a discription how
the driver works under OS/2.
Sorry I haven't the info (ftp, www) handy right now, I'll give you an other comment tomorrow.
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 100 total points
ID: 1630475
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question