Discussion Locked

Inode

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
It is possible to delete an inode number on Unix file system. But what are the consequences?

1 reply

by wls

Very abstractly, an inode represents a handle to a particular place on the disk that can hold a predefined quantity of data.

You can put data on the disk and indicate that the inode is allocated somehow, for instance to a file.

To release the inode from use, you can zap the bits on the disk and unlink the inode from any resources that reference it.

However, it would seem to me that "deleting an inode itself" would be like saying you want a sliver of a disk to disappear.

If you don'twant it used, you can always have it marked as 'bad' by the filesystem.

Why would you want to do this?

This discussion is closed to new replies.