Mount UFS under Linux (ZIP drive on Linux & Solaris)

Mount UFS under Linux (ZIP drive on Linux & Solaris)

Post by Brendan Mill » Fri, 17 Jan 1997 04:00:00



I would like to use a ZIP drive (the disks really) on both Linux and Solaris
x86 systems.  I know two ways to utilize the ZIP disks under Linux:

 - format in DOS (using ZIPtools) and mount -t msdos ...
 - fdisk and mke2fs in Linux and mount -t ext2 ...

The problem (as near as I can tell) is that Solaris x86 cannot mount
either msdos (FAT) or ext2 (second extended) filesystems.  (Somebody
please say I'm wrong.)

"http://blackhole.eas.asu.edu/zip/solaris2x/zip-install.html" shows how
to install a ZIP drive on Solaris 2.5 which involves using 'format' and
'newfs' to make a ufs filesystem on the ZIP disk.  UFS filesystems
(especially those done bu Sun), as far as I can tell, are not mountable
under Linux.  (Somebody prove me wrong?)

Any ideas?

Brendan Miller

 
 
 

Mount UFS under Linux (ZIP drive on Linux & Solaris)

Post by Espel Llima Rog » Sun, 19 Jan 1997 04:00:00




>I would like to use a ZIP drive (the disks really) on both Linux and Solaris
>x86 systems.  I know two ways to utilize the ZIP disks under Linux:

> - format in DOS (using ZIPtools) and mount -t msdos ...
> - fdisk and mke2fs in Linux and mount -t ext2 ...

>The problem (as near as I can tell) is that Solaris x86 cannot mount
>either msdos (FAT) or ext2 (second extended) filesystems.  (Somebody
>please say I'm wrong.)

>"http://blackhole.eas.asu.edu/zip/solaris2x/zip-install.html" shows how
>to install a ZIP drive on Solaris 2.5 which involves using 'format' and
>'newfs' to make a ufs filesystem on the ZIP disk.  UFS filesystems
>(especially those done bu Sun), as far as I can tell, are not mountable
>under Linux.  (Somebody prove me wrong?)

Linux supports UFS, and since that support was added specifically for
Linux/sparc so it would be able to read SunOS/Solaris's partitions,
I'd says there's a good chance it actually works for you.

As far as I can see, UFS seems to be more of a family of filesystemes
with minor differences between each other than just *one* well-specified
filesystem.  Which might explain why Linux won't mount FreeBSD's
partitions even tho all the docs in FreeBSD talk about them as "UFS".

        -Roger
--

WWW page & PGP key: http://www.eleves.ens.fr:8080/home/espel/index.html

 
 
 

Mount UFS under Linux (ZIP drive on Linux & Solaris)

Post by 0000 - Admin(0 » Tue, 21 Jan 1997 04:00:00



>I would like to use a ZIP drive (the disks really) on both Linux and Solaris
>x86 systems.  I know two ways to utilize the ZIP disks under Linux:

> - format in DOS (using ZIPtools) and mount -t msdos ...
> - fdisk and mke2fs in Linux and mount -t ext2 ...

>The problem (as near as I can tell) is that Solaris x86 cannot mount
>either msdos (FAT) or ext2 (second extended) filesystems.  (Somebody
>please say I'm wrong.)

>"http://blackhole.eas.asu.edu/zip/solaris2x/zip-install.html" shows how
>to install a ZIP drive on Solaris 2.5 which involves using 'format' and
>'newfs' to make a ufs filesystem on the ZIP disk.  UFS filesystems
>(especially those done bu Sun), as far as I can tell, are not mountable
>under Linux.  (Somebody prove me wrong?)

>Any ideas?

>Brendan Miller


well...if you take your floppy...stick it into the floppy drive on your sun wstation,
do `volcheck`, then `mount` you'll see that your floppy has been mounted somewhere in
/floppy/<label> or similar...meaning solaris can mount dos floppies...
as far as linux is concerned...I think linux has support for almost every fs on this planet. and if you have your two machines near by...you can allways nfs export your zip drive can't you? and mount it on your linux box...nfs mount that is...
?;)

Pele
--
Predrag Balorda
BSc. Hons Computer Science Student at the University of North London.

e-mail:
        University:



        Work:

        Home:

voice/fax/data:
       (+44) 181 342 8653 (8N1)

 
 
 

Mount UFS under Linux (ZIP drive on Linux & Solaris)

Post by Jorgen Andreas » Wed, 22 Jan 1997 04:00:00




Quote:

> I would like to use a ZIP drive (the disks really) on both Linux and Solaris
> x86 systems.  I know two ways to utilize the ZIP disks under Linux:

> Any ideas?

An alternative way of transfering data between Solaris and Linux is to
use tar. That way you can transport it from Linux to Solaris, remember that
the UFS support is read-only in Linux. If you use the GNU tar version you
can also handle compressed disks in an easy way.

> Brendan Miller


/J?rgen
 
 
 

Mount UFS under Linux (ZIP drive on Linux & Solaris)

Post by Alain Bor » Thu, 23 Jan 1997 04:00:00



: well...if you take your floppy...stick it into the floppy drive on your sun wstation,
: do `volcheck`, then `mount` you'll see that your floppy has been mounted somewhere in
: /floppy/<label> or similar...meaning solaris can mount dos floppies...
: as far as linux is concerned...I think linux has support for almost every fs
:  on this planet. and if you have your two machines near by...you can allways
: nfs export your zip drive can't you? and mount it on your linux box...nfs mount that is...
: ?;)
:
I have a more or less related question: has anybody written a 4.2 (that is
pre-Solaris SunOS) fs for Linux? I have a bunch of old magnetooptical disks
written by a Sun3 that I would be glad to read from Linux...

Thank you for your attention

Alain Borel

 
 
 

Mount UFS under Linux (ZIP drive on Linux & Solaris)

Post by Casper H.S. Dik - Network Security Engine » Thu, 23 Jan 1997 04:00:00



>I have a more or less related question: has anybody written a 4.2 (that is
>pre-Solaris SunOS) fs for Linux? I have a bunch of old magnetooptical disks
>written by a Sun3 that I would be glad to read from Linux...

The on-disk format of "4.2" SunOS 3.x/4.x should be almost identical
to the Solaris 2.x "ufs" format.  In principle they are identical, except
that filesystem created with SUnOS 4.0.x or older use what's called
"static table format" while newer ones use dynamic table formats.

So I think all you need is a big endian UFS.

Casper
--
Expressed in this posting are my opinions.  They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.

 
 
 

Mount UFS under Linux (ZIP drive on Linux & Solaris)

Post by Stefan Monnie » Sun, 26 Jan 1997 04:00:00



> I have a more or less related question: has anybody written a 4.2 (that is
> pre-Solaris SunOS) fs for Linux? I have a bunch of old magnetooptical disks
> written by a Sun3 that I would be glad to read from Linux...

As far as I know, the filesystem of SunOS-5 is the same as the one in SunOS-4,
so you should be able to use the exact same ufs support in Linux,

        Stefan

 
 
 

Mount UFS under Linux (ZIP drive on Linux & Solaris)

Post by Steinar Ha » Mon, 27 Jan 1997 04:00:00


[Stefan Monnier]

|  As far as I know, the filesystem of SunOS-5 is the same as the one in
|  SunOS-4, so you should be able to use the exact same ufs support in Linux,

Except Solaris has ACLs and the possibility of 32-bit uids and gids. The
on-disk inode formats are not 100% identical - compare 'struct icommon'
(particularly the last 16 bytes) in SunOS (/usr/include/ufs/inode.h) and
Solaris (/usr/include/sys/fs/ufs_inode.h).

As far as I know you can mount a SunOS filesystem on a Solaris machine,
without problems (at least I didn't have any). I believe you can also do
the reverse, but this depends on SunOS leaving certain fields untouched.