Displaying 20 results from an estimated 288 matches for "mkfifo".
2015 Jan 15
1
[PATCH] mknod: filter modes in mkfifo, mknod_b, mknod_c (RHBZ#1182463).
Since mkfifo, mknod_b, and mknod_c add the correct file type to the
modes of the resulting file, make sure the specified mode contains only
permissions bits.
---
daemon/mknod.c | 15 +++++++++++++++
generator/actions.ml | 21 ++++++++++++++++++---
2 files changed, 33 insertions(+), 3 deletions(-)
diff -...
2005 May 18
1
cvs commit: src/usr.bin/make job.c
Max Okumoto <okumoto@ucsd.edu> wrote:
[CC changed to freebsd-security instead of the cvs list]
We're talking about replacing the home-grown mkfifo() funktion in make (a
modified copy of mkstemp()) with mkdtemp() and creating the fifo in this new
directory.
Max worries about a possible race with this new approach.
> Its not a race between two nice programs :-) The function mkdtmp()
> creates a uniq directory, but make would then need...
2004 Sep 22
6
[Bug 1804] FreeBSD's mknod can't create FIFOs and sockets
...Resolution| |WONTFIX
------- Additional Comments From wayned@samba.org 2004-09-22 09:56 -------
I believe that FreeBSD may enhance their mknod() so that it can handle FIFOs and
sockets. In the meantime, I suggest that the FreeBSD build package simply apply
the mkfifo.diff that will come with the final 2.6.3 release:
patch -d rsync-2.6.3 -p0 <patches/mkfifo.diff
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact...
2010 Nov 20
1
[PATCH 1/2] cat cleanup ugly ifdefery
no point in carrying those ifdefs along,
just cleanup the code that seems either BSD specific or
can't work on klibc.
Signed-off-by: maximilian attems <max at stro.at>
---
usr/utils/cat.c | 22 +---------------------
1 files changed, 1 insertions(+), 21 deletions(-)
diff --git a/usr/utils/cat.c b/usr/utils/cat.c
index 1108d2e..7465148 100644
--- a/usr/utils/cat.c
+++
2010 Jan 13
0
reading fifo with read.table hangs
...o with the
numbers 0,1,...7 and then gracefully exit. Any ideas why not?
A longer script that actually does the job in its 2nd clause is shown in
'LONG SCRIPT' below ... I'm confused that the open call is needed. Any
comments on this?
Regards MJ
--- SHORT SCRIPT BEGIN
#!/bin/bash
mkfifo chops
gawk 'BEGIN {for (i=0;i<8;i++){print i}}' > chops &
R --slave --no-save <<EOF
print ("Hello from R")
con.data <- read.table ("chops")
con.data
EOF
unlink chops
--- SHORT SCRIPT END
--- LONG SCRIPT BEGIN
#!/bin/bash
DO_1st=no
DO_2nd=yes
DO_3r...
2005 Oct 16
1
getting dmraid to use klibc
[please CC me on replies, I'm not subscribed]
Hi,
I'm trying to get dmraid 1.0.0rc9 [0] to compile with --enable-klibc, however I
have some troubles with mkfifo defined in /usr/lib/klibc/include/sys/stat.h.
/usr/lib/klibc/include/sys/stat.h: In function 'mkfifo':
/usr/lib/klibc/include/sys/stat.h:28: error: 'S_IFMT' undeclared (first use in
this function)
after investigating a little I found out that <features.h> is being included (...
2003 Feb 02
2
Encoding from fifo's
...source of input, I
decided I'd use a DVD, since the input would be of a good quality. Since
dumping the stream to a yuv4mpeg file is prohibitively expensive on my
system (no where near enough room), I decided I'd try encoding from two
fifos.
I set up mplayer to give me the output
cd /tmp
mkfifo stream.yuv
mkfifo audiodump.wav
mplayer -dvd 2 -vo yuv4mpeg -ao pcm
That part works fine.
I then set up encoder_example as follows
cd /tmp
encoder_example -a 3 -v 7 stream.yuv audiodump.wav
It correctly identifies the input streams (and therefore can read
correctly), however, when it gets to it...
2004 Jun 30
12
New addition to FAQ
Greetings,
I was on IRC about 7 hours ago and suggested that the FAQ be updated slightly.
Rather than sit on my ass and complain I figured I'd ask a few people, and see
if the idea was worth the time.
Here's what Ive started with:
http://www.dimension.net.nz/theora.html
I'll be adding to it over the next 24 hours - mostly in the area of Playback
and Encoding.
Just threw it together
2002 Jun 24
0
Rsync 2.5.5: FreeBSD mknod can't create FIFO's
...ync-2.5.5/config.h.in work.patch/rsync-2.5.5/config.h.in
--- work/rsync-2.5.5/config.h.in Tue Apr 2 03:50:49 2002
+++ work.patch/rsync-2.5.5/config.h.in Mon Jun 24 14:41:48 2002
@@ -140,6 +140,9 @@
/* Define if you have the `mknod' function. */
#undef HAVE_MKNOD
+/* Define if you have the `mkfifo' function. */
+#undef HAVE_MKFIFO
+
/* Define if you have the `mtrace' function. */
#undef HAVE_MTRACE
@@ -244,6 +247,9 @@
/* Define if you have the <sys/socket.h> header file. */
#undef HAVE_SYS_SOCKET_H
+
+/* Define if you have the <sys/un.h> header file. */
+#undef H...
2018 Nov 09
1
Custom Hooks
On Fri, Nov 09, 2018 at 11:19:43AM +0000, Philipp Schafft wrote:
> > pipe=/tmp/testpipe
>
> There are tools to make tempfiles such as mktemp(1). You can also
> consider using $$.
> > mkfifo $pipe
mktemp makes actual files, not pipes/fifos.
--
Paul Martin <pm at nowster.me.uk>
2010 Apr 08
2
Bash Question
Hey guys,
messing around with a snippet from a mailing list post,
#!/bin/bash
mkfifo -m 666 /var/spool/my_fifo
exec 42<> /var/spool/my_fifo
while true
do
while read -t 5 data <&42
do
echo "data is ($data)"
done
echo "read again"
done
What happens to this to invalidate the initial 'true' con...
2008 Jan 15
4
popen woes
From: "Michael S. Fischer" <michael at dynamine.net>
>
> I wanted my worker program (which uses EM) to pass the user''s password
> to the Expect script via standard input in order to avoid some
> security hazards associated with alternatives such as storing it in a
> file or in the environment, either of which may be observed by others
> logged into the
2010 Nov 20
3
[PATCH 1/4] utils: cleanup unused includes
...ood reasons.
cleanup losesetup which is not using getopt_long,
thus doesn't need getopt.h included.
Move stdarg.h include up in losesetup to more proper place.
Signed-off-by: maximilian attems <max at stro.at>
---
usr/utils/dmesg.c | 1 -
usr/utils/losetup.c | 4 +---
usr/utils/mkfifo.c | 1 -
usr/utils/nuke.c | 1 -
usr/utils/umount.c | 1 -
5 files changed, 1 insertions(+), 7 deletions(-)
diff --git a/usr/utils/dmesg.c b/usr/utils/dmesg.c
index 61e047e..1960713 100644
--- a/usr/utils/dmesg.c
+++ b/usr/utils/dmesg.c
@@ -1,5 +1,4 @@
#include <unistd.h>
-#in...
2011 Mar 24
4
Remote-logging nginx? (or other non-syslog-enabled stuff)
I'm looking for suggestions as to a good general method of
remote-logging services such as nginx or anything else which doesn't
support syslog natively.
I'm aware that there's an nginx patch, and we're evaluating this. It
may be the way we fly.
However there are other tools which may not have a patch for which
remote logging would be useful. If there's a general soution
2005 Aug 24
1
Testing libtheora-1.0alpha5
...ibtheora (somewhere in the PATH),
and Python 2.3.0 (this is fairly all standard stuff).
Consider the following clip:
http://lives.reimeika.ca/cvs/swath.ogg
As you can see there are a lot of obvious artifacts. I generate
this movie using a series on PNG images and the following command
sequence:
mkfifo -m 0600 stream.yuv
mplayer mf://*.png -mf type=png:fps=29.97002997 -vf dsize=16:9,hqdn3d -vo yuv4mpeg -ao null -nosound &
encoder_example -s 8 -S 7 -f 30000 -F 1001 -v 10 -a 10 -o swath.ogg stream.yuv
Any suggestions on how to improve this? In order to test I'm
making available the LiVES v...
2005 Nov 03
0
all2theora script
..."Usage:\n";
print "--help show this text\n";
print " this will only be possible if you are root\n";
print "--i Specify the Name of your Video file\n";
exit;
}
if ($divx eq "on") {
system ("mkfifo stream.yuv && chmod 777 stream.yuv && mencoder $input
-ovc lavc -oac copy -o tmp.avi -lavcopts
vcodec=mpeg1video:vbitrate=1200 -vf harddup -of mpeg && mplayer -vc
dummy -vo null -ao pcm:file=stream.wav tmp.avi && encoder_example
stream.wav stream.yuv > theora.ogg...
2011 Nov 25
1
Pipes (fifos) not working in concurrently
...of URLs (from a database, generated automatically
during tests) that I want to download using several wget processes at
the same time. With our internal web servers, this will be a lot faster
than downloading the pages one at a time with a single process.
So I create 20 pipes in my script with `mkfifo? and connect the read end
of each one to a new wget process for that fifo. The write end of each
pipe is then connected to my script, with shell commands like `exec
18>>fifo_file_name?
Then my script outputs, in a loop, one line with an URL to each of the
pipes, in turn, and then starts...
2007 Jul 17
3
TS from DVB-T to Theora + Vorbis
Hello,
Could you kindly point me to some instruction, how to encode demuxed
files (.m2v and .mp2) to .ogg (Theora + Vorbis)? I was trying to use
ffmpeg2theora, but I don't know, how to put two files to ffmpeg2theora
(one audio an one video) and did not found, how to mux them into one
file?
Exist a way, how to do two pass encoding?
I'm using Ubuntu Fiesty Linux.
Thank you,
Jiri Navratil
2015 Jan 05
2
use of qemu-kvm --chardev pipe, id=X, path=... argument ?
Please can anyone enlighten me as to why linux qemu-kvm always
creates the console on my terminal, when I am trying to direct
all of its input and output to a pipe ?
I have created :
$ mkfifo /tmp/el6x32{.in,.out,.monitor}
and use the command:
$ /usr/libexec/qemu-kvm -M rhel6.4.0 -cpu n270 -smp 1 \
-hda /home/rpmbuild/OEL6/img/OEL6_32.img \
-kernel /home/rpmbuild/OEL6/boot/vmlinuz-2.6.39-400.215.14.el6uek.i686 \
-initrd /home/rpmbuild/OEL6/boot/initramfs
2.6.39-400.215...
2004 Aug 06
1
Moving clients and JOrbis
One solution might be to make a named pipe (mkfifo live), add that item
to your playlist, and pipe data into that pipe. It works fine for local
files (cat music.ogg > live), but when I try with for example "wget
http://icecast2.ksl.com:8000/ksl.ogg -O live" ices keeps giving:
[2003-08-07 11:50:05] WARN input/input_sleep Extended slee...