* Difference bet. /dev/rmt0 and /dev/rmt0h
@ 1996-11-08 5:00 Benjie Gandionco
1996-11-08 5:00 ` Torsten Hehl
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Benjie Gandionco @ 1996-11-08 5:00 UTC (permalink / raw)
What's the difference if I do a tar to these two devices?
I noticed that using /dev/rmt0 is much faster, but it can only do small
files.
Thanks,
Benjie
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Difference bet. /dev/rmt0 and /dev/rmt0h
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.
2 siblings, 0 replies; 4+ messages in thread
From: Torsten Hehl @ 1996-11-08 5:00 UTC (permalink / raw)
Benjie Gandionco wrote:
>
> What's the difference if I do a tar to these two devices?
> I noticed that using /dev/rmt0 is much faster, but it can only do small
> files.
The /dev/rmt0* come in different densities, which depend on the tape
device connected to your computer. If you use e.g. an EXABYTE 8505, you
would have:
/dev/rmt0h 5 Gbyte compressed
/dev/rmt0m 5 Gbyte uncompressed
/dev/rmt0l 2 Gbyte compressed
/dev/rmt0a 2 Gbyte uncompressed
In the original version of MAKEDEV, there's NO such device as rmt0. I
suppose there is a link to one of the devices given above, apparently to
rmt0l or rmt0a. The explanation should be similar for DAT drives.
Cheers, Torsten.
******
Torsten Hehl, Physikalisches Institut Tuebingen.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Difference bet. /dev/rmt0 and /dev/rmt0h
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.
2 siblings, 0 replies; 4+ messages in thread
From: Boguslaw Kempny @ 1996-11-08 5:00 UTC (permalink / raw)
Benjie Gandionco wrote:
>
> What's the difference if I do a tar to these two devices?
> I noticed that using /dev/rmt0 is much faster, but it can only do small
> files.
The difference can be in the density or data compressing. Fo egzample
TLZ06 and TLZ07 drives use compression on /dev/rmt0m and /dev/rmt0h.
For mor read 'man tz'
Regards
Boguslaw Kempny
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Difference bet. /dev/rmt0 and /dev/rmt0h
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.
2 siblings, 0 replies; 4+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 1996-11-09 5:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1996-11-09 5:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox