Re: inode



On 2007-05-09, tony <none@xxxxxxxx> wrote:
what exactly is an inode? And also how is it possible that there is
disk space on a partition and I cannot write to it? how is this
related to inode?

An inode is a data structure which contains all information about a file
except for its actual name and its contents, the metadata. The number of
inodes for a partition is preconfigured via an algorithm considering the
total size and average file size, but if a large number of (small) files
is put on that partition, you may end up running out of inodes before
you run out of actual space.

--
Riemer Palstra
riemer@xxxxxxxxxxx
.



Relevant Pages

  • Re: [PATCH 2/2] new bd_mutex lockdep annotation
    ... but to init the lockdep class in case this inode was ... disk would have to exists at the time we call bdget ... Use the gendisk partition number to set a lock class. ... struct block_device *bdget ...
    (Linux-Kernel)
  • Re: [opensuse] mv and cpio have new behavior. How do I get the old back?
    ... willing to bet that you moved the directory to another partition, ... means your directory got a new inode number, which in turn means all .. ... is the code in xfs that does it. ... so it only changes the ctime. ...
    (SuSE)
  • [PATCH 21/24] udf: remove some UDF_SB_* macros
    ... goto error_return; ... int bit, block, block_group, group_start; ... return udf_bitmap_free_blocks(sb, inode, ... uint16_t partition, uint32_t first_block, ...
    (Linux-Kernel)
  • Re: [PATCH 21/24] udf: remove some UDF_SB_* macros
    ... goto error_return; ... int bit, block, block_group, group_start; ... return udf_bitmap_free_blocks(sb, inode, ... uint16_t partition, uint32_t first_block, ...
    (Linux-Kernel)
  • Re: inode
    ... Riemer Palstra wrote: ... disk space on a partition and I cannot write to it? ... An inode is a data structure which contains all information about a file ... inodes for a partition is preconfigured via an algorithm considering the ...
    (linux.redhat)