Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
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	[thread overview]
Message-ID: <5615lk$knt@nntpd2.cxo.dec.com> (raw)
In-Reply-To: 01bbcd54$6a161680$99d3bb8b@pc-blg.nsc.com



In article <01bbcd54$6a161680$99d3bb8b@pc-blg.nsc.com>, "Benjie Gandionco" <benjieg@corp.nsc.com> 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




      parent reply	other threads:[~1996-11-09  5:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-11-08  5:00 Difference bet. /dev/rmt0 and /dev/rmt0h Benjie Gandionco
1996-11-08  5:00 ` Torsten Hehl
1996-11-08  5:00 ` Boguslaw Kempny
1996-11-09  5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes. [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox