* mount semantics..?
@ 1995-06-08 4:00 The Artist
1995-06-09 4:00 ` oberman
1995-06-10 4:00 ` Charles Hedrick
0 siblings, 2 replies; 3+ messages in thread
From: The Artist @ 1995-06-08 4:00 UTC (permalink / raw)
here's a question....
what's the difference between the following
commands (besides the letter)
mount /dev/rrz9c /mnt
and
mount /dev/rz9c /mnt
the only difference i immediately found is that
"mount /dev/rrz9c /mnt" gives me a ":block device required"
error, and "mount /dev/rz9c /mnt" mounts my drive
with no apparent problems. so, i put it to you...
what does /dev/rrz9c imply that /dev/rz9c doesn't.
they both point to the same device...don't they?
well, it's just another question. unix workshops,
here i come =-)
eric
snafu@expert.cc.purdue.edu
p.s...i'm really running osf/1 v3.0b, not 3.1b. teach
me to ask someone else to look for me. thanks
for pointing it out, and thanks in advance for all the
help everyone's been giving me. must be some
shared sympathy....."yep, been there..."
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: mount semantics..?
1995-06-08 4:00 mount semantics..? The Artist
@ 1995-06-09 4:00 ` oberman
1995-06-10 4:00 ` Charles Hedrick
1 sibling, 0 replies; 3+ messages in thread
From: oberman @ 1995-06-09 4:00 UTC (permalink / raw)
In Article <3r7n1k$1r2@expert.cc.purdue.edu>
snafu@expert.cc.purdue.edu (The Artist) writes:
>what's the difference between the following
>commands (besides the letter)
>
>mount /dev/rrz9c /mnt
>and
>mount /dev/rz9c /mnt
>
>the only difference i immediately found is that
>"mount /dev/rrz9c /mnt" gives me a ":block device required"
>error, and "mount /dev/rz9c /mnt" mounts my drive
>with no apparent problems. so, i put it to you...
>what does /dev/rrz9c imply that /dev/rz9c doesn't.
>they both point to the same device...don't they?
The /dev/rrz* disks are so called "raw" disk devices while /dev/rz* disks are
the actual, block addressable devices. For all file system access purposes you
use the /dev/rz* device. the raw device is used for formatting, labeling,
partitioning, and such operations that access the disk at a low level. This in
not OSF/1 specific. It's common to most (all?) UNIX implementations.
The simple answer is that you don't mount "raw" devices as that interface
lacks the proper format to be mounted.
R. Kevin Oberman
Energy Sciences Network (ESnet)
National Energy Research Supercomputer Center (NERSC)
Lawrence Livermore National Laboratory (LLNL)
Internet: koberman@llnl.gov +1 510-422-6955
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: mount semantics..?
1995-06-08 4:00 mount semantics..? The Artist
1995-06-09 4:00 ` oberman
@ 1995-06-10 4:00 ` Charles Hedrick
1 sibling, 0 replies; 3+ messages in thread
From: Charles Hedrick @ 1995-06-10 4:00 UTC (permalink / raw)
snafu@expert.cc.purdue.edu (The Artist) writes:
>what's the difference between the following
>commands (besides the letter)
>mount /dev/rrz9c /mnt
>and
>mount /dev/rz9c /mnt
The main difference is that the second one works and the first one
doesn't. "raw" devices (with the extra r) bypass some of the kernel's
buffering. That may result in more efficiency for tape drives. It's
also OK for fsck, since fsck hacks on the raw partition rather that
mounting the file system. But the file system code is deeply
interwined with the disk buffer buffer management code, so you can
only use the non-raw ("block") version of the device for a mount. I
don't claim to have used every version of Unix, but the only one I've
seen where this distinction does not exist is Linux.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1995-06-10 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-06-08 4:00 mount semantics..? The Artist
1995-06-09 4:00 ` oberman
1995-06-10 4:00 ` Charles Hedrick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox