Hi,
I have a question regarding mknod. If I created a pipe file using
mknod eg. mknod filename p, how do I "unpipe" it, if there is such a
thing?
> I have a question regarding mknod. If I created a pipe file using
> mknod eg. mknod filename p, how do I "unpipe" it, if there is such a
> thing?
If you want to delete it, just use 'rm'. Even if it's
made by 'mknod', it's just another file as far linux
is concerned.
If you meant how to "empty" the pipe after writing
to it, you just need something to read from it.
Example:
$ bunzip2 -c compressed_file.bz2 > named_pipe &
$ cat named_pipe
Of cource, there is no reason to use a pipe in
the above. You'll probably has to put the writing
to the pipe in the background (with &), as the pipe
gets "filled up", and don't accept any more until
it's "emptyed" by reading it.
-Koppe
Hi guys,
A friend of mine told me that it was possible to completely re-create
the /dev directory by using the mknod command...!!! How is this
done...???
The same friend deleted the /dev directory on one of my systems... Any
and all help will be appreciated... Thanks...
--
Trevor Penney,
A+, Network+ Certified...
-----------------------
That's alright, I still got my guitar...
3. mknod for /dev/zsh0 (serial port)
5. Jumpstarting from an NFS server without mknod abilities?
6. RuleTool; WARNING: TODC: Out of "kernelmap" map entries
7. filemgr mknod:permisson denied error
8. Need FTP site for Mosaic with term support
9. mknod
10. How to use mknod to create /dev/one
11. creating tty's, mknod, stuck after boot with wrong tty - help
12. Missing piece creating null device with mknod
13. mknod question.