Blocking the access to the device files.

Mulyadi Santosa mulyadi.santosa at gmail.com
Wed Dec 29 14:07:02 EST 2010


Hi Greg...

On Thu, Dec 30, 2010 at 02:02, Greg Freemyer <greg.freemyer at gmail.com> wrote:
> I really don't remember what the problem was.  It was about 2003 or
> 2004 I think that I came across the issue.  I don't recall if it was
> XFS or ext2/3 or what.
>
> I just know I came to the conclusion that dd if=/dev/sda of=/dev/null
> was not always safe if the drive had a mounted filesystem.  Hopefully
> its been fixed by now.

2.4.x? If yes, I am not so surprised since buffer cache and page cache
aren't unified yet, unlike in 2.6.x. I highly guess that was indeed
synchronization issue....

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com



More information about the Kernelnewbies mailing list