• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 562
  • Last Modified:

Inode

I've been looking for importance  of Inode through the internet and books but
all i get is definition but i need the importance such as why we need inodes in the operating system and in unix?
0
negahdar
Asked:
negahdar
1 Solution
 
biraCommented:
(ī´nōd) (n.) Data structures that contain information about files in Unix file systems that are created when a file system is created. Each file has an inode and is identified by an inode number (i-number) in the file system where it resides. inodes provide important information on files such as user and group ownership, access mode (read, write, execute permissions) and type.
There are a set number of inodes, which indicates the maximum number of files the system can hold.

A file's inode number can be found using the ls -i command, while the ls -l command will retrieve inode information.

0
 
leisnerCommented:
You don't "need" inode, you need a way to identify the files on disk.

The FAT entries in DOS are similar to inodes.

An inode and a device (file system) gives you an accurate picture of WHERE
a file is...

To some degree, I guess you can form an analogy to IP addresses and DNS names --
inode/dev numbers and file paths...

0
 
ahoffmannCommented:
> .. but i need the importance such as why we need inodes in the operating system and in unix?
an operating system does not nead inodes, neither does unix.
It's the filesytem used which uses inodes, and the filesystem may be used by the OS.
0
 
gheistCommented:
and actually programs are exposed to vnodes - an abstraction of inode, since not all filesystems do uniquely number files e.g. CD-ROM or FAT12.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now