11-23-2004
Thank you. I tried this:
mknod lawpipe.pipe p
gzip -c lawpipe.pipe > test.gz
I get the following error:
gzip: lawpipe.pipe is not a directory or a regular file - ignored
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Can anyone please help....
how can I dump just a single file to tape using the ufsrestore command!!! I'm a newbie to unix and It's driving me mad..
Thanks in advance. (2 Replies)
Discussion started by: Jonathan
2 Replies
2. UNIX for Advanced & Expert Users
How would i go about dumping my /home/ directory and my /root directory
i currently have.....
dump -f /root/backup.dp /home/ /root/
...but dump only seems to see only my first source directory and not the second (/root in this case)
anyone know a way around this..or if it is even... (1 Reply)
Discussion started by: Freakytah
1 Replies
3. UNIX for Dummies Questions & Answers
I'm trying to dump files to tape and im just wondering can i dump from /tmp swap partition?
ufsdump 0ubf 126 /dev/rmt/1 swap/tmp/blah.tar
DUMP: Cannot open dump device `swap/tmp/blah.tar': No such file or directory
ufsdump 0ubf 126 /dev/rmt/1 /tmp/NotificationServer_1.bku
DUMP:... (1 Reply)
Discussion started by: kingdbag
1 Replies
4. UNIX for Dummies Questions & Answers
Hi,
My Solaris Workstation has got 4 NICS, out of which one of them(bge3) is unplugged from the rest of the external network & connected to other interface(bge1). The isolated NIC serves as a simulated Ethernet Interface for my application under development.
Now, I'd like to capture RAW... (1 Reply)
Discussion started by: smanu
1 Replies
5. Programming
strcat dumping core in the situation like
main()
{
char* item;
char* p=sat_item;
char type;
item=(char*) malloc(strlen(p));
strncpy(type,p,4);
type='\0';
strcat(item,type); //dumping core
}
I couldn't get why strcat dumping core? (3 Replies)
Discussion started by: satish@123
3 Replies
6. Red Hat
How to now if the server is core dumping into the same filesystem? (4 Replies)
Discussion started by: 300zxmuro
4 Replies
7. IP Networking
I would like to know if there is a way to dump the network traffic of a single application. I tried with tcpdump but I couldn't find a way. Is there a patch, which enables that or does someone know an other application to do this? (2 Replies)
Discussion started by: smf15
2 Replies
8. Shell Programming and Scripting
Hello wise scripters
This is my first post and I am glad to join this community.
I am trying to make work a mysqldump via ssh tunnel in a shell script.
The problem is that running this sequence of commands manually works fine, but when I put these in a bash script they give me the following... (8 Replies)
Discussion started by: Solidus
8 Replies
9. Shell Programming and Scripting
hey I am dumping two database results into two text files and doing checksums on them.
Anyone know how to do this.
I originally was doing line by line comparison and diff but I need something faster for larger gb size files. anyone got tips? (5 Replies)
Discussion started by: Samuel12
5 Replies
mknod(1M) System Administration Commands mknod(1M)
NAME
mknod - make a special file
SYNOPSIS
mknod name b major minor
mknod name c major minor
mknod name p
DESCRIPTION
mknod makes a directory entry for a special file.
OPTIONS
The following options are supported:
b Create a block-type special file.
c Create a character-type special file.
p Create a FIFO (named pipe).
OPERANDS
The following operands are supported:
major The major device number.
minor The minor device number; can be either decimal or octal. The assignment of major device numbers is specific to each system. You
must be the super-user to use this form of the command.
name A special file to be created.
USAGE
See largefile(5) for the description of the behavior of mknod when encountering files greater than or equal to 2 Gbyte ( 2**31 bytes).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
ftp(1), in.ftpd(1M), mknod(2), symlink(2), attributes(5), largefile(5)
NOTES
If mknod(2) is used to create a device, the major and minor device numbers are always interpreted by the kernel running on that machine.
With the advent of physical device naming, it would be preferable to create a symbolic link to the physical name of the device (in the
/devices subtree) rather than using mknod.
SunOS 5.10 16 Sep 1996 mknod(1M)