Re: Reading from file in module fails

From: Erik Mouw
Date: Mon May 03 2004 - 06:50:18 EST


On Mon, May 03, 2004 at 01:43:16PM +0200, Libor Vanek wrote:
> > (BTW, if you need to copy files from kernel, it's usually a sign of bad
> > design)
>
> It's not bad design - what I'm doing is writing snapshots for VFS as
> my diploma thesis. And I need to create copy of file before it's
> changed (copy-on-write). There is no other way how to do it in
> kernel-space (and user-space solutions like using LUFS are really
> slow)

Have a look at the cowlinks (copy-on-write links) thread from last
month, it might do the trick.


Erik

--
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands
-
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/