Re: Large File Support in Kernel 2.6

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

 



On 9/11/05, Andreas Baer <andreas_baer@xxxxxx> wrote:
> >
> > I think it's 2TB for the file size and 2e73 for the file system, but I
> > don't understand the second reference and the part about the CONIFG_LBD.
> > What is exactly the CONFIG_LBD option?
> >
> 

CONFIG_LBD option is for enabling large block devices support in
kernel ... If u see in the kernel code; if CONFIG_LBD is defined then
sector_t becomes 64bit field so it can go beyond the normal 32bit
sector_t field which limits device size to maximum (1ULL << 41) bytes
or { 4GB /*32-bit_limit*/ * 512 /*sector_size*/ }


-- 
Fawad Lateef

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           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