Date: 19 Nov 1997 19:00:14 -0600 From: Chris Radek <cradek@in221.inetnebr.com> To: freebsd-emulation@FreeBSD.ORG Subject: Re: Running Linux FlagShip under FreeBSD-current Message-ID: <oaiutov0pt.fsf@hoser.inetnebr.com> In-Reply-To: "Jordan K. Hubbard"'s message of "Tue, 11 Nov 1997 13:41:16 -0800" References: <28090.879284476@time.cdrom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
"Jordan K. Hubbard" <jkh@time.cdrom.com> writes: > > Can anyone tell me what /dev/full is? If I can get around that, it looks > > like FlagShip should work. > > I believe it's like /dev/zero but generates all 1s instead of all 0s. I've seen a few guesses but none of them are correct so far; I hope there aren't a hundred people answering this by the time I do. The point of /dev/full is that a write() fails (returns -1) and sets errno to ENOSPC. On Linux, it looks like reading /dev/full is the same as reading /dev/zero. (from src/linux/drivers/char/mem.c) -Chris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?oaiutov0pt.fsf>