From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,553e98546e86675 X-Google-Attributes: gidfee84,public From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Subject: Re: Difference bet. /dev/rmt0 and /dev/rmt0h Date: 1996/11/09 Message-ID: <5615lk$knt@nntpd2.cxo.dec.com>#1/1 X-Deja-AN: 195433669 distribution: world references: <01bbcd54$6a161680$99d3bb8b@pc-blg.nsc.com> organization: Digital Equipment Corporation reply-to: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) newsgroups: comp.unix.osf.osf1 In article <01bbcd54$6a161680$99d3bb8b@pc-blg.nsc.com>, "Benjie Gandionco" writes: >What's the difference if I do a tar to these two devices? The difference is that rmt0h is probably a character special device file corresponding to the first tape on your system and rmt0 is probably a regular file that is filling up the root file system. One of most common mistakes made with tape programs that accept a tape device name as an argument, is to mistype the name. The program, with sufficient privilage, will very happily create a regular file instead of writing to the desired tape device: tar cvf /dev/rmt0h . # writes to the tape tar cvf /dev/rmt0 . # writes to a file >I noticed that using /dev/rmt0 is much faster, but it can only do small >files. Yes, disks are often faster than tapes, and the root file system much smaller. A common mistake. >Thanks, >Benjie -- Alan Rollow alan@nabeth.cxo.dec.com