Date: Thu, 30 Jan 2003 11:28:12 +0200 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Darren Pilgrim <dmp@pantherdragon.org> Cc: questions@FreeBSD.org Subject: Re: Why no /dev/one? Message-ID: <20030130092812.GB1262@gothmog.gr> In-Reply-To: <3E38E15C.7080302@pantherdragon.org> References: <3E38E15C.7080302@pantherdragon.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2003-01-30 00:25, Darren Pilgrim <dmp@pantherdragon.org> wrote: > Why isn't there a /dev/one device to provide an infinite number of > all-ones bytes? Because it's easy to get any sequence of equal bytes by using just /dev/zero and tr(1). Try this command and check the output of hd(1) :-) $ dd if=/dev/zero bs=512 count=1 | tr '\0' '\777' | hd - Giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030130092812.GB1262>