faltou um peda�o!!!
L� vai:

if ! `losetup $LOOPDEV $TMPFILE`; then
echo "losetup did NOT run correctly."
echo "Please make sure that you are root and that the losetup binary is in
the p
ath."
echo "Also make sure that you have the loop device compiled in the kernel or
the
 module loaded."
exit 0
fi

# make ext2 fs on loopdev and mount it
mke2fs -m 0 $LOOPDEV 2> /dev/null >/dev/null
mount $LOOPDEV $MNTDIR -t ext2

_________________________________________________________________
Deimon Vianei Machado
Consultoria, projetos e instala��es de redes e servidores Linux
Cursos de Hardware e Linux, treinamento e manuten��o de redes Windows/Linux
Curitiba - PR - R. XV de Novembro, 297 7o. Andar - fone (41) 224-9208





Assinantes em 31/01/2002: 2231
Mensagens recebidas desde 07/01/1999: 152962
Historico e [des]cadastramento: http://linux-br.conectiva.com.br
Assuntos administrativos e problemas com a lista: 
            mailto:[EMAIL PROTECTED]

Responder a