The inode tag has no wiki summary.
3
votes
4answers
113 views
How to get the actual directory size (out of du)?
How do I get the actual directory size, using UNIX/Linux standard tools?
Alternative question: How do I get du to show me the actual directory size?
Since people seem to have different definitions ...
0
votes
1answer
25 views
where does boundary of file system lie in Linux?
I am curious that hard link cannot cross the boundary of file system. But where exactly is the boundary? I know hard disk and flash disk are two file systems; /home and /var are two file systems. But ...
0
votes
1answer
161 views
Changing max inode count number in ext3 filesystem in Cent OS
Assuming that I use ext3 filesystem in Cent OS:
Can I increase the number of Free Inodes in the filesystem? If Yes how?
When I run
tune2fs -l /dev/sda1
it got these inodes statistics:
Filesystem ...
2
votes
1answer
34 views
Using inode number to locate hardlinks
How can I use the inode number to locate all hardlinks to the file "file.txt" in my home directory?
0
votes
0answers
45 views
Dynamically allocated inode table size?
I want to know, how inodes in some file system (like xfs or reiser) are allocated. In a nutshell I can't understand, what part of disk space are reserved for inode table (or this size will be increase ...
0
votes
0answers
49 views
Can't delete files with special (and odd) filename characters
I was cleaning up my NAS and found this odd situation.
$ pwd
/Volumes/Backup/NoteHP/Outras/Ed Motta
$ ls -larit
total 12932
7786751625 -rwx------ 1 rjdsantos staff 3388293 Feb 2 2005 Ed Motta ...
0
votes
1answer
132 views
Can an inode table on the root partition be-rebuilt or salvaged?
A friend (not technical) has a Linux server running CentOS which will no longer boot. His IT guy looked at it and says the inode table on the root partition was basically gone. Since the inode table ...
0
votes
0answers
72 views
Show only files owned by the user
I have a folder containing lots of backup images. I want users to only see their own files. I've tried setting the permissions to 000 but they still can see the file using ls (the backups belong to ...
0
votes
1answer
48 views
Zip, tar: is there a file table
Is there a file table, or inode structure (like in filesystems) of a zip or tar file?
0
votes
1answer
47 views
What is the efficiency of NTFS Junctions?
Long story short, I am using the steamtool application, which was originally developed for the following reasons:
Steam by default would save all your games to C:\
SSDs are becoming the new primary ...
7
votes
7answers
260 views
Go to directory with unknown name
While unpacking a tarball, I encountered a directory which ls reports as "??????????????? ?????". Presumably, the name is not in unicode?
Anyway, I can't figure a way to access the folder.
I've tried ...
0
votes
1answer
24 views
When will the modified time of folder be changed?
When will the modified time of folder be changed, on both of windows and linux?
I know the modified time changed when its inode is changed. But when will the inode of folder be changed?
0
votes
0answers
131 views
Reverse lookup of inode/file from offset in raw device on linux and ext3/4?
In linux, given an offset into a raw disk device, is it possible to map back to an partition + inode?
For example, suppose I know that string "xyz" is contained at byte offset 1000000 on /dev/sda:
...
0
votes
2answers
103 views
Is it possible to create a file and a hardlink to it without initializing the data?
I want to create a file of 2GB, but I don't care about the contents of it. I currently use dd with /dev/zero, but this is fairly slow.
Is it possible to create a file and a hardlink to it, without ...
1
vote
1answer
138 views
How do “file headers”, “bit maps” and “inodes” come into the picture when managing filesystems?
I'm a little confused on how these terms are thrown around in a book that I am reading.
Are they all different terms that refer to the same concept, or are they slightly different implementations ...
4
votes
1answer
94 views
What exactly is an inode as pertaining to filesystems?
As I understand them, apparently an inode basically points to the beginning of a file stored on disk. But it also seems that directories have the same functionality as well (i.e., they store the ...
1
vote
0answers
110 views
When referring to filesystems, what is the difference between a “live” and a “dead” inode?
My understanding of 'inodes' (from http://en.wikipedia.org/wiki/Inode) is that they contain the information necessary to access certain blocks of a file, but not the file data itself. Then I was ...
0
votes
1answer
2k views
Cannot mkdir: Too many links
I'm trying to untar several tar files. I encountered something like this
tar: NCBI_SRA_Metadata_Full_20110601/SRA037312: Cannot mkdir: Too many links
Is there a limit to the number of files that ...
0
votes
1answer
478 views
Relationship of iNode indirect pointers to maximum file size
Let's say you have an iNode that is filled to capacity with no indirect pointers. If you give it one indirect pointer, does its maximum file size simply double?
2
votes
1answer
97 views
How does file systems know which folder a file is in?
The index nodes contain meta data and points to where the actual data is. But how does the system know where in the directory tree the file or folder is, and how does it translate the filename into an ...
3
votes
3answers
626 views
Linux filesystem with inodes close on the disk
I'd like to make the ls -laR /media/myfs on Linux as fast as possible. I'll have 1 million files on the filesystem, 2TB of total file size, and some directories containing as much as 10000 files. ...
4
votes
3answers
1k views
tail -f not tracking file changes
I was recently looking into using tail -f to monitor some text files like so: tail -f /var/sometext However, when I did some testing, it doesn't seem to work. What I did was I created a new file and ...
1
vote
3answers
1k views
Access file by its id and change file attributes
Just like every file also directories have file id.
You can see them by typing
ls -i
How do I view file content by its id?
How do I change directory attribute to file (remove D) and vice versa!
0
votes
2answers
590 views
1
vote
1answer
35 views
effect on inode while resizing the LV
In Linux when we resize the partition with the logical volume(LV), how is the inode adjusted?
1
vote
4answers
4k views
Remove a file on linux using the inode number
If you create a file on UNIX/linux with special chars, like touch \"la*, you can't remove it with rm "la*. You have to use the inode number(you can if you add the \ before the name, I know, but you'd ...
5
votes
2answers
4k views
How to calculate proper amount of inode/block sizes for a linux filesystem
I have an old reiser filesystem which I'm going to convert to Ext3.
The problem I have is to determine the proper block- and inode-sizes for this partition.
The partition is 44 GB large and has to ...
3
votes
1answer
796 views
Is it possible to find all files with a given inode? Efficiently?
It is possible to find all the paths to a file with a given inode, in general, using find's -inum option. But this has awful performance for typical filesystems. What options are there to improve ...
0
votes
1answer
2k views
how can I determine how many inodes a directory uses?
We're running into an inode limit on our fileserver and I'm doing an experiment to reduce the number of inodes. How can I find out how many inodes a directory uses? I read that the linux kernel ...
0
votes
1answer
479 views
Unable to boot to Ubuntu. Inconsistency in disk, X server didn't start. Illegal blocks in Inode
I am unable to boot into my Ubuntu system.
First I get that fsck died with exit status 4
Then I try to do it manually as prompted and I get that an Inode has illegal blocks and asked to clear it.
...
