Re: Accessing on-disk datastructures from a module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 19, 2011 at 1:03 PM, Manish Katiyar <mkatiyar@xxxxxxxxx> wrote:
> On Tue, Jan 18, 2011 at 11:23 PM, Martin DeMello
> <martindemello@xxxxxxxxx> wrote:
>> I would like to maintain some filesystem metadata as an on-disk
>> datastructure that can be read and written to from within the
>> filesystem module. I know file access from within the kernel is a bad
>> idea; what is the recommended alternative for this?
>
> You can try to have a reserved inode and use that.

That is what I was trying to do, but I can't find any documentation on
how to read/write to it. Could you point me towards some docs or
examples?

martin

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux