Re: 2.6.0, cdrom still showing directories after being erased

From: Pavel Machek
Date: Thu Feb 05 2004 - 16:08:20 EST


Hi!

> > mount
> > umount
> > cdrecord -blank
> > mount
> > see old data
> >
> > That looks pretty bad. If there's no other solution, we might just
> > document it, but...
>
> I think cdrecord should be hacked to complain loudly if the device is
> already mounted. Regardless of the device cache not being cleared,
> (which is a firmware bug, in my opinion), blanking a mounted device is
> usually not what the user intended. This is not a kernel problem as
> such, and should be dealt with in userspace.

But it is _not_ mounted at that point. User did no mistake.
Pavel

--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/