Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Feb 2013 13:08:30 +0100
From:      Polytropon <freebsd@edvax.de>
To:        mexas@bristol.ac.uk
Cc:        freebsd-questions@freebsd.org, freebsd-sparc64@freebsd.org
Subject:   Re: mount: /dev/da0p1: Invalid argument
Message-ID:  <20130209130830.762096cb.freebsd@edvax.de>
In-Reply-To: <201302081230.r18CUpkL034751@mech-cluster241.men.bris.ac.uk>
References:  <20130208121432.GV2522@kib.kiev.ua> <201302081230.r18CUpkL034751@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 8 Feb 2013 12:30:51 GMT, Anton Shterenlikht wrote:
> So what is the advice for transferring data
> via USB in such cases? Any other gpart partition
> I could use?

Use "the most universal file system" which isn't even a
file system: tar.

First, create a tar archive (not a _file_!) to the USB
media as if it was a tape. On the sparc machine:

	# tar cvf /dev/da0 <your stuff>

You can add compression flags like z and j if you need.
To list what you've got, use "tar t" accordingly.

Then uncompress directly from the media on the non-sparc
machine:

	# tar xvf /dev/da0

See "man tar" for other options you might want to add.
Also note that in this case, no file system is involved,
so you can't mount anything here.


> In the end I burned a CD with the files in question,
> but it's a bit of a waste, as I only need to
> move over several KB of data (wireless setup).

That's true. Don't you have any floppies at hand? ;-)

(Note: The tar approach also works on floppies, and even
across OS borders, e. g. between Solaris and Linux.)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130209130830.762096cb.freebsd>