Subject: Re: enormously growing /dev
To: David Maxwell <email@example.com>
From: The Grey Wolf <firstname.lastname@example.org>
Date: 09/10/2004 13:02:28
-----BEGIN PGP SIGNED MESSAGE-----
Thus spake David Maxwell ("DM> ") sometime Today...
DM> > >> the rights are set like one expects them to be set, always:
DM> > >>
DM> > >> -rw-r--r-- 1 root wheel 54878535680 Sep 8 17:13 sd0
DM> > >
DM> > >This is a regular file (not suprising). After a MAKEDEV all it should
DM> > >be a device, like:
DM> > Its contents might give you a hint about its creator. You can make it a symlink
DM> > to /dev/null until you catch the culprit.
DM> If you're feeling ambitious, make it a named pipe - then write a reader
DM> program that will block, waiting for someone to write to the pipe. When
DM> the reader wakes up, have it do an fstat to identify the process that
DM> had opened the pipe for writing...
#! /bin/sh -
dd if=/dev/sd0 of=/dev/null count=1
should do the trick.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)
-----END PGP SIGNATURE-----