Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Diskless export/import - here's a method to do so

Re: Diskless export/import - here's a method to do so

From: Jared <jared_at_hwai.com>
Date: 24 Feb 2004 13:31:48 -0800
Message-ID: <480f610.0402241331.44a02c5d@posting.google.com>


I don't think you're wrong - I've been playing with /dev/fd1 and have the same problem as when I was using stdout as a file name. Definitely a no go on Solaris.

ilaletin_at_usa.net (Igor Laletin) wrote in message news:<f9226414.0402111635.34f2448f_at_posting.google.com>...
> Chuck <chuckh_nospam_at_softhome.net> wrote in message news:<Xns948B7B2D5AD39chuckhsofthomenet_at_130.133.1.17>...
> > Stephan Bressler <sbresslerx_no_spam_at_arcor.de> wrote in
> > news:bvvfbk$3ja$1_at_news.mch.sbs.de:
> >
> ...
> > > Hi,
> > > you could even run it without mknod from the source system (or
> > > target): exp xxx/xxx file=/dev/fd/1 volsize=0 | ssh target ".
> > > _setup_env_script; imp yyy/yyy /dev/fd/0"
> > >
> > > /dev/fd/* are alias to a process' file descriptors, 0=STDIN, 1=STDOUT,
> > > etc.
> > >
> > > I usually use this feature to transfer whole directory trees to other
> > > systems using tar.
> > >
> > > Stephan
> > >
> >
> > Doesn't work on AIX 4.3 with sh or ksh. In fact the only os/shell
> > com

bination I've gotten it to work on is cygwin/bash. Is that a
> > requirement or am I doing something wrong?
>
> It works because "bash handles several filenames specially when they
> are used in redirections" (from bash man page) and /dev/fd is one of
> those names. My understanding is fdesc filesystem exists in Linux and
> BSD but is not implemented in major proprietary Unixes (e.g. HP-UX). I
> might be wrong though.
>
> Regards,
> Igor
Received on Tue Feb 24 2004 - 15:31:48 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US