Re: need to get blocks per group in user space

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

 



On Wed, Apr 7, 2010 at 1:10 PM, Manish Katiyar <mkatiyar@xxxxxxxxx> wrote:
> On Wed, Apr 7, 2010 at 1:06 PM, nidhi mittal hada
> <nidhimittal19@xxxxxxxxx> wrote:
>> hello All
>>
>> I want to get some of filesystem specific information
>> like blocksize , s_blocks_per_group
>> etc in userspace c program
>>
>> How do i get it ?
>
> Use libext2fs or see the code of dumpe2fs
debugfs . Assuming you want it for ext2/3/4.

Thanks.
>
>> i have obtained block size by stat() function
>> but not more than that :(
>>
>>
>>
>>
>> --
>> Thanks & Regards
>> Nidhi Mittal Hada
>> Scientific officer D
>> Computer Division
>> Bhabha Atomic Research Center
>> Mumbai
>>
>>
>>
>
>
>
> --
> Thanks -
> Manish
> ==================================
> [$\*.^ -- I miss being one of them
> ==================================
>
> --
> To unsubscribe from this list: send an email with
> "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
> Please read the FAQ at http://kernelnewbies.org/FAQ
>
>

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[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