Explain inode

Answers were Sorted based on User's Feedback



Explain inode..

Answer / nagaswamy kumar

When a file system is created, data structures are created
that contain information about files. Each file is
associated with an inode that is identified by an inode
number (often referred to as an "i-number" or "inode") in
the file system where it resides.

Inodes store information on files, such as user and group
ownership, access mode (read, write, execute permissions)
and type of file. On many types of file systems the number
of inodes available is fixed at file system creation,
limiting the maximum number of files the file system can
hold. A typical fraction of space allocated for inodes in a
file system is 1% of total size.

The inode number indexes a table of inodes in a known
location on the device; from the inode number, the kernel
can access the contents of the inode, including the data
pointers, and so the contents of the file.

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

Some Unix-style file systems such as ReiserFS may avoid
having a table of inodes, but must store equivalent data in
order to provide equivalent functions. The data may be
called stat data, in reference to the stat system call that
provides the data to programs.

File names and directory implications:

Inodes do not contain file names, only file metadata.
Unix directories are lists of "link" structures, each of
which contains one filename and one inode number.
The kernel must search a directory looking for a particular
filename and then convert the filename to the correct
corresponding inode number if the name is found.
The kernel's in-memory representation of this data is
called struct inode in Linux. Systems derived from BSD use
the term vnode, with the v of vnode referring to the
kernel's virtual file system layer.

Is This Answer Correct ?    6 Yes 0 No

Explain inode..

Answer / sbrahman75

It contain the information of the files and directory

Like ( date, home directory, rights, modified date, etc)

Is This Answer Correct ?    3 Yes 0 No

Explain inode..

Answer / poola surendrareddy

Inodes are the objects the solaris OS uses to record
information about a file. In general, Inodes contain two parts.
1.Inodes contain information.
2.Inodes contain pointers.
1> Inodes contain information about the file,including its
owner,its permissions,and its size.
2> Inodes contain pointers to data blocks associated with
the file content.
Inodes are numbered,and each file system contains its
own list of inodes. When a new file system is created, a
complete list of new inodes is also created in taht file system.

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More Solaris Commands Interview Questions

Syntax for useradd commad

4 Answers  


How can youy check the disk status in , is it locally connected or remotely connected?

4 Answers   Thomson Reuters,


What does pkgadd command do?

0 Answers  


How can you recover the backup of NIC card if it is corrupted?

1 Answers   Thomson Reuters,


How to configure mirror with hot spare in vxvm I know how to create mirror with vxassist: #vxassist -g <diskgroup name> make <volume name> <vol size> layout=mirror I know how to create hot spare with vxedit #vxedit -g <diskgroup name> set spare=on diskname but i don't how to attach hot spare to mirror? can some one plz help in this issue.. Thanks & Regards, SaiKrishna. kanuparthi_sai@yahoo.com my alternate E-Mail id: ksaikrishna7@gmail.com

2 Answers   Wipro,






How to find the VERITAS License?

7 Answers  


how many clients have in our server ? how we find that?

7 Answers   IBM, Wipro,


how will you execute backup and restore using the tar command in a single command

1 Answers   CMS,


How do you add the disk without reboot the server?

2 Answers  


I have a "telnet" error then what you will do?

4 Answers   Thomson Reuters,


How do you check the no of user logged into the system

3 Answers  


How to Freeze svcgroup, (disable onl. & offl.)

2 Answers  


Categories
  • Solaris Commands Interview Questions Solaris Commands (360)
  • Solaris Threads Interview Questions Solaris Threads (9)
  • Solaris IPC Interview Questions Solaris IPC (30)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (3)
  • Solaris System Calls Interview Questions Solaris System Calls (25)
  • Solaris General Interview Questions Solaris General (170)
  • Solaris AllOther Interview Questions Solaris AllOther (297)