ggatec+gmirror

Dmitriy Kirhlarov dimma at higis.ru
Fri Aug 5 16:19:50 GMT 2005


Hi, all!

I can't use in my script this variant:
ggate=`sbin/ggatec ${ggatec_flags}`
/sbin/gmirror insert ${mirror} ${ggate}

I have to use:
/sbin/ggatec ${ggatec_flags} > /dev/null
ggate=`/sbin/ggatec list`
/sbin/gmirror insert ${mirror} ${ggate}

Think in $ggate I get father-process STDOUT, but device name return child STDOUT.
Is it correct behaviour?

$ uname -rs
FreeBSD 5.4-RELEASE-p5

By.
Dmitriy


More information about the freebsd-stable mailing list