Need blocking /dev/null

From: Marko Rauhamaa (marko@pacujo.nu)
Date: Mon Oct 29 2001 - 16:07:25 EST


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/



This archive was generated by hypermail 2b29 : Wed Oct 31 2001 - 21:00:37 EST