Inode Quiz Crossword
                                      
                                      
                                      
                                      
                                      
                                      
                                      
                                      
                                      
                                      
                                      
                                      
                                      
                                      
                                      
                                      
                                      
                                      
                                      
                                      
                                      
                                      
                                      
                                      
                                      
                                      
                                      
                                      
 
 
Down: 1) ls -lc -- lists ctime -- CTIME = INODE CREATED time. Remember that time_t, is count of seconds since 1/1/1970.2) atime = the time of the last access of the file, i_atime is the inode structure; time_t generates the count in seconds for i_atime; we use the unix command ls -lu to see the atime.3) Each inode stores metadata including -- Location on DISK --Type (directory, file, sym link) --Size in Bytes -- CTIME = INODE MODIFIED TIME --MTIME = FILE MODIFIED TIME -- ATIME = FILE ACCESSED TIME. --UID of Owner --GID Group -- MODE (Permissions).4) i_blksize is block size used when storing to disk. I_sem is the kernel semaphore... to provide for mutual exclusion (only one may write to the file at a time). Across: 5) ctime = the time the information in the inode was created; i_ctime is the inode structure; time_t generates the count in seconds for i_ctime; we use the unix command ls -lc to see the ctime.6) mtime = is used by i_mtime as the time the data in the file was last modified; time_t generates the count in seconds for i_mtime; we use the unix command ls -l to see the mtime.7) Inodes do NOT have names. --Inodes have INDICES (numbers) indicating their position in an ARRAY of inodes.8) i_mode defines the security mode or permissions for struct_inode. #define S_ISSUIG = 04000 --Set user id on execution. #define S_ISGID = 02000 --Set Group Id on execution. #define S_IRUSR = 0400 -- Read perm for owner. #define S_IWUSR = 0400 = read permission for owner. #define S_IXUSR = 0100 = execute permission for owner. (Plus all other Unix modes).9) time_t is a count of seconds since 1/1/1970; time_t is used to generate inode and file times for forensics (atime, mtime and ctime) which in reality are inode structures (struct_inode) called i_atime; i_mtime; i_ctime (MAC). 10) When a file is opened, a structure representing that file is loaded into memory... this is the inode_struct. --struct_inode is kept in memory. --To SPEED UP ACCESS times, a POINTER is stored in a HASH TABLE (inode_hashtable).
 

 

Create your own Crossword Puzzle for Free!
 Show Errors as I Type