Subject: Re: enormously growing /dev
To: None <>
From: Chapman Flack <>
List: current-users
Date: 09/10/2004 15:10:22
> dd if=/dev/sd0 of=/dev/null count=1
> fstat /dev/sd0

Or more simply

  </dev/sd0 fstat /dev/sd0

The dd approach will send the writer a SIGPIPE as soon as dd exits, so you
might not catch it with the fstat.  This way the writer will be conveniently
blocked while you look, because it's trying to write and fstat isn't reading.