Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

structure of superblock and inodetable

Posted on 2007-12-06
12
Medium Priority
?
391 Views
Last Modified: 2013-12-21
hi sir
 from where i can access the files <sys/ino.h>,<sys/inode.h>,<sys/fs/*>,<sys/fs/s5filsys.h>
and <sys/fs/s5inode.h>
these files contains the information abt the structures of superblock and inode table
Thanks
0
Comment
Question by:davinder101
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
12 Comments
 
LVL 40

Assisted Solution

by:omarfarid
omarfarid earned 1200 total points
ID: 20425863
Hi,

Normally these header files are under the dir /usr/include
0
 

Author Comment

by:davinder101
ID: 20426503
how can i access the contents of these files from terminal
0
 
LVL 40

Accepted Solution

by:
omarfarid earned 1200 total points
ID: 20426566
I assume that you can telnet or ssh to the m/c to login.

Then

cd /usr/include/sys

more ino.h
more inode.h
cd fs
more s5filsys.h
more s5inode.h
0
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 
LVL 10

Assisted Solution

by:Pétur Ingi Egilsson
Pétur Ingi Egilsson earned 300 total points
ID: 20428148
SSH into the box

You can use the program "putty.exe" (search for it on google) to connect from Windows computer to linux via SSH ( as long as the linux computer is accepting connections via ssh )

Use a text editor ( like vi, pico or vim )
vi filename
pico filename
vim filname

in vi\vim press "i" or INSERT to start editing the file
to exit from vi or vim press ESC and type ":q" [press enter]
:wq [press enter] to save and exit
:q! [press enter] to quit without saving

"man vi" for more information about vi
0
 

Author Comment

by:davinder101
ID: 20456000
i have linux as a primary disc,
ok the information about the structure of inode is stored in header file HTFS.h,
how can i access this file.?
0
 
LVL 40

Assisted Solution

by:omarfarid
omarfarid earned 1200 total points
ID: 20456009
If you want just view it use more:

cd /usr/include/sys  (or the dir it is in)
more HTFS.h

If you want to edit it use vi editor:

vi HTFS.h

0
 

Author Comment

by:davinder101
ID: 20456126
but it doesn't work
0
 
LVL 40

Assisted Solution

by:omarfarid
omarfarid earned 1200 total points
ID: 20456145
What is not working?

What OS do you use?

How do you access the m/c?

What exactly you want to do with the file? The word access is general.

0
 

Author Comment

by:davinder101
ID: 20456192
i have installed sco open server 5.03 with the following partitions
/boot->100M->EAFS
/ ->5G->HTFS
/abc->3G->HTFS

after  issuing
cd /usr/include/sys
more HTFS.h

it displays "No such file or Directory exists"

0
 
LVL 40

Assisted Solution

by:omarfarid
omarfarid earned 1200 total points
ID: 20456226
Ok

Please run the following command to find the location of the file:

find /usr/include -name HTFS.h

This will give you the full pathname to the file

you may then take this path and use cd to go to that dir then run

more HTFS.h

I noticed that the file name is in capital letters, if you don't find it try small letters for the file name.
0
 

Author Comment

by:davinder101
ID: 20456324
oh,it again says,"No such file or Directory exists"
 is it possible that HTFS.h doesn't exit in /usr/include
 
0
 
LVL 40

Expert Comment

by:omarfarid
ID: 20456592
Ok,

try

find /usr/include  | grep -i  HTFS.h

Where you found reference for this file?
0

Featured Post

AWS Certified Solutions Architect - Associate

This course has been developed to provide you with the requisite knowledge to not only pass the AWS CSA certification exam but also gain the hands-on experience required to become a qualified AWS Solutions architect working in a real-world environment.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question