10-22-2011
We are currently working on OpenSolaris so ZFS is the filesystem we are aiming at....actually we came across the inode data structure and thought of a vital functionality which was not implemented...so we took this up as a project...
now we are looking for your help for the same...Any ideas how to add a field to the inode...
Our main purpose right now is to trace the inode structure so that we can make changes to it...
Please HELP!!
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Could someone please explain to me the concept of INodes?
Colour me a DOS/MacOS junkie, but I don't quite understand.
Is there any relation to clusters, or physical distro.?
ty. (3 Replies)
Discussion started by: boris888
3 Replies
2. Solaris
Does anyone know what command I can run to check how many inodes are in use on a specific filesystem. On Data General servers I used to run the df -k command to check the status of the inodes for all file system.s (1 Reply)
Discussion started by: soliberus
1 Replies
3. Solaris
hi
i need to find all the files that r linked to the current file as i need to delete the file as well as few of its links :confused:
thnx in advance (1 Reply)
Discussion started by: livemyway
1 Replies
4. UNIX for Dummies Questions & Answers
how is the location of inodes in the physical disk.
are they sequential like:
bootblock|superblock|inode1|inode2| ....| datablock1|datablock2|datablock3
or are they distributed among data blocks like:
bootblock|superblock|inode1|datablock1|inode2|datablock2|datablock3|inode3
|datablock4 (3 Replies)
Discussion started by: gfhgfnhhn
3 Replies
5. Linux
Any good sites, tutorials that explain Inodes clearly and completely ? (3 Replies)
Discussion started by: nitin09
3 Replies
6. Solaris
Hello Experts
How can i know Number of used and free inodes in a file system?
thanx in advance.. (3 Replies)
Discussion started by: younus_syed
3 Replies
7. Solaris
Hi ,
Can someone help me to increase "inode" in solaris 9?
Thanks in advance,
Gowtham (8 Replies)
Discussion started by: gowthamakanthan
8 Replies
8. Filesystems, Disks and Memory
Hi, sorry to have written in other language i think i could do that.
I would to know
A file system use inodes indexed allocation as a method of allocating space.
In the inode blocks are 10 references to direct, 1 indirect reference to a single block, 1 block indirect reference to a reference to... (1 Reply)
Discussion started by: maryprin
1 Replies
9. Solaris
Dear Forum,
Please help me i have SUNW,Sun-Fire-V240 with sun solaris 8,if i check inode in /var like below:
# df -F ufs -o i
Filesystem iused ifree %iused Mounted on
/dev/md/dsk/d0 62354 310638 17% /
/dev/md/dsk/d3 372992 0 100% /var... (2 Replies)
Discussion started by: fredginting
2 Replies
10. Shell Programming and Scripting
Hi,
Is there a restriction in the number of inodes a particular directory can have in Solaris.
If so how can we determine that.
Regards (3 Replies)
Discussion started by: @bhi
3 Replies
LEARN ABOUT DEBIAN
matchpathcon_filespec_destroy
matchpathcon_checkmatches(3) SELinux API documentation matchpathcon_checkmatches(3)
NAME
matchpathcon_checkmatches, matchpathcon_filespec_add, matchpathcon_filespec_destroy, matchpathcon_filespec_eval - check and report whether
any specification index has no matches with any inode. Maintenance and statistics on inode associations.
SYNOPSIS
#include <selinux/selinux.h>
void matchpathcon_checkmatches(char *str);
int matchpathcon_filespec_add(ino_t ino, int specind, const char *file);
void matchpathcon_filespec_destroy(void);
void matchpathcon_filespec_eval(void);
DESCRIPTION
matchpathcon_checkmatches checks whether any specification has no matches and reports them. The str argument is used as a prefix for any
warning messages.
matchpathcon_filespec_add maintains an association between an inode ino and a specification index specind, and checks whether a conflicting
specification is already associated with the same inode (e.g. due to multiple hard links). If so, then it uses the latter of the two speci-
fications based on their order in the file context configuration. Returns the specification index used or -1 on error.
matchpathcon_filespec_destroy destroys any inode associations that have been added, e.g. to restart for a new filesystem.
matchpathcon_filespec_eval displays statistics on the hash table usage for the inode associations.
RETURN VALUE
Returns zero on success or -1 otherwise.
SEE ALSO
selinux(8), matchpathcon(3), matchpathcon_index(3), freecon(3), setfilecon(3), setfscreatecon(3)
sds@tycho.nsa.gov 21 November 2009 matchpathcon_checkmatches(3)