Hooooooooooola Hay algun problema si copio en UNIX un fichero la forma ls /tmp/fichero | cpio -oduvBO /dev/rdsk/f0q18dt y lo leo en un SuSE Linux cpio -iBdumvI /dev/fd0 /tmp/fichero es que lo lee pero no lo lee. Es decir el fichero se graba perfectamente en unix. Lo se porque desde otros sistemas Unix lo leo perfectamente, pero cuando lo leo en Suse tal y como pongo antes , pone 4 blocks como si hubiera hecho algo, pero voy al /tmp y no hay rastro de fichero alguno. que esta pasando? Alguien lo sabe? gracias de antemano -- Usuario Linux número 396108
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 El 2005-11-28 a las 11:59 +0100, Pedro Maria Castellanos escribió:
Hooooooooooola
Hay algun problema si copio en UNIX un fichero la forma
ls /tmp/fichero | cpio -oduvBO /dev/rdsk/f0q18dt
y lo leo en un SuSE Linux
cpio -iBdumvI /dev/fd0 /tmp/fichero
Probablemente el problema sea el formato: cpio supports the following archive formats: binary, old ASCII, new ASCII, crc, HPUX binary, HPUX old ASCII, old tar, and POSIX.1 tar. The binary format is obsolete because it encodes information about the files in a way that is not portable between different machine architectures. The old ASCII format is portable between different machine architectures, but should not be used on file systems with more than 65536 i-nodes. The new ASCII format is portable between different machine architectures and can be used on any size file system, but is not supported by all versions of cpio; currently, it is only supported by GNU and Unix System V R4. The crc format is like the new ASCII format, but also contains a checksum for each file which cpio calculates when creating an archive and verifies when the file is extracted from the archive. The HPUX formats are provided for compatibility with HPUX's cpio which stores device files differently. A lo mejor el comando "file" es capaz de decirte en que formato está hecho. También puede ocurrir que la linea de comandos necearia sea algo distinta, en linux usas gnu cpio. - -- Saludos Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFDivyttTMYHG2NR9URAqoJAJoCynCDAZv83hplOoz4DO+A8+4ssQCfR9RO 1bSnqSRR8SMGPUPq9r8jdb4= =NYcQ -----END PGP SIGNATURE-----
participants (2)
-
Carlos E. R.
-
Pedro Maria Castellanos