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:21 PM, Martin DeMello <martindemello@xxxxxxxxx> wrote:
On Wed, Jan 19, 2011 at 1:18 PM, Manish Katiyar <mkatiyar@xxxxxxxxx> wrote:
>
> Once you have your reserved inode, you can open it using iget to get
> the inode pointer. After that it would be same way as you would have
> done if you were allowed file ops in kernel. For eg.. If my reserved
> inode is 100 and I'm using ext2, it would be something like
> [...]

Thanks a lot, that's really helpful!

hello guys,

can anyone  tell me how to make a disk based file reserved ?
as manish said : buy making a file reserved for a file system the above task can be achieved.but how to make it reserved?

martin

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



--
........................
MOHIT VERMA

_______________________________________________
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