Re: ext4 features
From: Avi Kivity
Date: Sat Jul 08 2006 - 14:44:20 EST
Krzysztof Halasa wrote:
Pavel Machek <pavel@xxxxxx> writes:
> Why not? You use libextfs or how is it called to read the file from
> the disk directly (read-only access), then you write it back using
> regular calls.
>
> Of course, you can end up with "deleted" data being corrupted if
> kernel reused the area before undelete, or while you were doing
> undelete... but that's expected. They were _deleted_, right?
What if the "undeleted" file contained /etc/shadow because someone
was changing password at the time? :-)
As the undeleter already had read access to the raw device, /etc/shadow
was already compromised.
--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.
-
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/