home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aix
- Path: sparky!uunet!spillman!tye
- From: tye@spillman.uucp (E. Tye McQueen)
- Subject: Re: cpio: 0511-032 Cannot copy from the diskette.
- Message-ID: <1993Jan13.022154.31444@spillman.uucp>
- Date: Wed, 13 Jan 1993 02:21:54 GMT
- References: <2ZJ2wB1w163w@connect.com> <C0IwBv.MH6@austin.ibm.com>
- Organization: Spillman Data Systems
- Lines: 31
-
- woan@exeter.austin.ibm.com (Ronald S. Woan) writes:
- )In article <2ZJ2wB1w163w@connect.com> root@connect.com (Niles Mills) writes:
- )>I'm trying to get a directory from a tape that is labelled as being
- )>"CPIO format" via the following command lines: (label yields no
- )>clues as to density)
- )
- )You might try using smit to set the tape device to variable block size
- )(0).
-
- If you ever deal with tapes on AIX, save the following two commands away:
-
- chdev -l rmt0 -a block_size=000 (act like a Unix tape drive)
- and
- chdev -l rmt0 -a block_size=512 (act like an AIX tape drive)
-
- The first is for dealing with any tapes other than AIX and the second
- is for installing AIX tapes. You can also use
-
- chdev -l rmt0 -a block_size=NNN
-
- to make it act like a tape drive connected to "dd bs=NNN".
-
- Depending on your environment, you probably shouldn't assume anything
- about the what the block_size attribute is set to when you access the
- tape. Just get in the habbit of explicitly setting it yourself before
- each use.
-
- tye@spillman.com Tye McQueen, E.
- ----------------------------------------------------------
- Nothing is obvious unless you are overlooking something.
- ----------------------------------------------------------
-