Re: new file in kernel.

From: Arnaldo Carvalho de Melo
Date: Sat Jan 19 2008 - 08:48:50 EST


Em Sat, Jan 19, 2008 at 10:42:40AM -0300, Rafael Sisto escreveu:
> Dear forum,
> can anybody help me with this issue?
>
> How do I create a new file in kernel mode?
> I am trying to create a file in a system call I am building.

Look at how NFS does.

fs/nfsd/nfs3proc.c
nfsd3_proc_create

- Arnaldo
--
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/