06-27-2002
That does not address my particular situation. I'm sorry, I should have included the specific code I was referring to:
rm -f pipefile
/etc/mknod pipefile p
nohup cat pipefile | /usr/contrib/bin/gzip >/oracleb/home/dba/exp/exp_full_MWOD.dmp.gz 2>/oracleb/home/dba/exp/cat_errors.log&
exp file=pipefile full=y consistent=y userid=sys/xxx log=/oracleb/home/dba/exp/exp_full_MWOD.log buffer=10000000 compress=y
Is "pipefile" something special? A device? What does the "p" indicate?
Thanks!
Beginner Bonnie
5 More Discussions You Might Find Interesting
1. Programming
I'm trying to use the "mknod" call in C to create a clone of /dev/null. I am stumped as to the final parameter I should provide to "mknod()". I am supposed to give it a type dev_t, which specifies a major & minor number. I want to specify major 3, minor 1, but how can I do this?
dev_t seems to... (2 Replies)
Discussion started by: nathan
2 Replies
2. Solaris
this is existing issue for this nfs client, which mounts windows exported
file system, and this is only one UNIX box has this problem, other boxes are
fine.
Here is from messages file.
Jan 24 03:11:10 venus nfs: NFS mknod failed for
server arc: error 2 (RPC: Can't decode result)
Jan... (0 Replies)
Discussion started by: steeles
0 Replies
3. HP-UX
Hey guys i dont quite understand mknod, can anyone explain it to me and what is its purpose in LVM. (4 Replies)
Discussion started by: sbn
4 Replies
4. UNIX for Dummies Questions & Answers
Hello All,
Friends i know mknod with -p option is used to create FIFO special file.:p
But i want to know some circumstance/scenario where these are used.:wall:
Actually i want to know where i can use it in real time.
Please advise.:) (3 Replies)
Discussion started by: Bibhudatta
3 Replies
5. AIX
Hi Guys,
On my AIX server , I have this file "mknod" present in the /etc/ directory. When i try opening it , I dont find
any ascii characters. It shows some encryption/binary format which is not readable. Is it any executable ? what is the
purpose of having this file in etc folder? what if... (2 Replies)
Discussion started by: DBTuner
2 Replies
HD(4) Linux Programmer's Manual HD(4)
NAME
hd - MFM/IDE hard disk devices
DESCRIPTION
The hd* devices are block devices to access MFM/IDE hard disk drives in raw mode. The master drive on the primary IDE controller (major
device number 3) is hda; the slave drive is hdb. The master drive of the second controller (major device number 22) is hdc and the slave
hdd.
General IDE block device names have the form hdX, or hdXP, where X is a letter denoting the physical drive, and P is a number denoting the
partition on that physical drive. The first form, hdX, is used to address the whole drive. Partition numbers are assigned in the order
the partitions are discovered, and only nonempty, nonextended partitions get a number. However, partition numbers 1-4 are given to the
four partitions described in the MBR (the "primary" partitions), regardless of whether they are unused or extended. Thus, the first logi-
cal partition will be hdX5. Both DOS-type partitioning and BSD-disklabel partitioning are supported. You can have at most 63 partitions
on an IDE disk.
For example, /dev/hda refers to all of the first IDE drive in the system; and /dev/hdb3 refers to the third DOS "primary" partition on the
second one.
They are typically created by:
mknod -m 660 /dev/hda b 3 0
mknod -m 660 /dev/hda1 b 3 1
mknod -m 660 /dev/hda2 b 3 2
...
mknod -m 660 /dev/hda8 b 3 8
mknod -m 660 /dev/hdb b 3 64
mknod -m 660 /dev/hdb1 b 3 65
mknod -m 660 /dev/hdb2 b 3 66
...
mknod -m 660 /dev/hdb8 b 3 72
chown root:disk /dev/hd*
FILES
/dev/hd*
SEE ALSO
chown(1), mknod(1), sd(4), mount(8)
COLOPHON
This page is part of release 3.44 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
Linux 1992-12-17 HD(4)