Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 29 Oct 2001 16:08:16 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 29 Oct 2001 16:08:06 -0500 Received: from pacujo.datastreet.com ([208.179.44.95]:46865 "EHLO lumo.pacujo.nu") by vger.kernel.org with ESMTP id ; Mon, 29 Oct 2001 16:07:55 -0500 Date: Mon, 29 Oct 2001 13:07:25 -0800 From: Marko Rauhamaa Message-Id: <200110292107.NAA09665@lumo.pacujo.nu> To: linux-kernel@vger.kernel.org Subject: Need blocking /dev/null Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org I noticed that I need a pseudodevice that opens normally but blocks all reads (and writes). The only way out would be through a signal. Neither /dev/zero nor /dev/null block, but is there some other standard device that would do the job? If there isn't, writing such a pseudodevice would be trivial. What should it be called? Any chance of including that in the kernel? Marko -- Marko Rauhamaa mailto:marko@pacujo.nu http://www.pacujo.nu/marko/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/