On Fri, Jun 27, 2008 at 1:18 PM, Richard L. Hamilton <[EMAIL PROTECTED]> wrote:
>> Paul Gress <[EMAIL PROTECTED]> wrote:
>>
>> > You could try the Universal Disk Format (UDF).  I
>> believe all three
>> > platforms should support it.  Check into this.

To get from a Linux machine to OpenSolaris or Solaris, with no data
loss at all, I do the following :

1 ) on the linux machine you get a decent copy of GCC
2 ) you get the sources for smake and star
    2.1) for smake see ftp://ftp.berlios.de/pub/smake/alpha/AN-1.2a41
            get source at
ftp://ftp.berlios.de/pub/smake/alpha/smake-1.2a41.tar.bz2
    2.2) for star please see ftp://ftp.berlios.de/pub/star/AN-1.5
           get source to star 1.5 at :
                ftp://ftp.berlios.de/pub/star/star-1.5.tar.bz2
3) climb into the source tree for smake and check for a file called
defaults.linux or similar. In there you will find the installation
directory for the final binary and man pages etc. Change that to point
to $HOME/local or don't change it at all. You can choose what to do
yourself but you will need the smake binary.
4) set CC=gcc and then simply run make , that should build smake for you
5) if you are okay with the installation directory defaults then type
make install
6) depending on what you did in (5) simply locate the binary smake and
drop it in your PATH somehow. You need it.
7) extract the sources for star and then check for the defaults.linux
file again. Make changes as needed.
8) run smake
9) when that is done you now have star on your linux machine, like so

[EMAIL PROTECTED]:~$ which star
/home/dclarke/local/bin/star
[EMAIL PROTECTED]:~$ star --version
star: star 1.5a88 (powerpc-unknown-linux-gnu)

Copyright (C) 1985, 88-90, 92-96, 98, 99, 2000-2008 Jörg Schilling
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[EMAIL PROTECTED]:~$

10) make a FAT32 filesystem on that USB key because you can read that
from either Solaris or Linux just fine. However FAT32 will not store
all the metadata or even the data that you need from your ext2fs ( or
whatever ) Linux based filesystems.

11) use star to make a dump of the stuff you want ot backup like so

star -c -v -p -acl -sparse -dump -C $SOURCE_DIRECTORY . file=$TARGET_FILE

When you get to Solaris just use star to extract everything with star
-x file=$TARGET_FILE

That should work flawlessly

Dennis
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to