Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Sep 2004 12:21:10 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Jesse Guardiani <jesse@wingnet.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: mkfifo - disk backed?
Message-ID:  <20040913172109.GB18290@dan.emsphone.com>
In-Reply-To: <ci4c9u$vrr$1@sea.gmane.org>
References:  <ci4c9u$vrr$1@sea.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Sep 13), Jesse Guardiani said:
> Just curious: Are FIFOs made by mkfifo disk backed? Do they go away
> between reboots? Do they lose data between reboots?

Fifos are just pipes with a visible physical name.   The fifo itself
stays in the filesystem after a reboot, but since all the data passing
is handled in the kernel, a reboot will blow away any data (including
the processes reading/writing that data :).  If your FIFO is on an NFS
mount, a reboot of the remote server will have no effect on the
client's use of the fifo (since all fifo traffic is handled locally on
the client).

-- 
	Dan Nelson
	dnelson@allantgroup.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040913172109.GB18290>