LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 05-12-2005, 11:45 PM   #1
okter
LQ Newbie
 
Registered: May 2005
Posts: 4

Rep: Reputation: 0
Inodes and File System Management


Hi
How can I manage the Inodes?
I mean.. What librarie may I use.. Because Im trying to use /usr/include/linux/fs.h but.. its not recognized in the .c file where i do the "#include <linux/fs.h>"
How can I get an Inode structure? or How can I make that librarie known?...
By compilation line?
Some kind of weird #import thing?
Plz.. I need u help guys.. I must get the Desfragmenter for next Tuesday.. but until today I got nothing.
Thx for u help
see ya around

okter

Last edited by okter; 05-13-2005 at 01:23 AM.
 
Old 05-13-2005, 07:01 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,593

Rep: Reputation: 188Reputation: 188
"How can I manage the Inodes?"

Include stat.h and unistd.h. Then use the stat, fstat, and lstat functions to read inodes and inode information. You use mknod to create an inode. you can change fields within an inode with a variety of functions such as chmod and fchmod.

-----------------------
Steve Stites
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Resizing ext3 partitions (/usr) [file system management] xxx_anuj_xxx Red Hat 5 11-29-2005 04:35 AM
Document Management System saavik Linux - Software 1 10-06-2005 07:16 PM
What content management or file management software is best for the job? Niceman2005 Linux - Software 2 05-10-2005 11:02 PM
hosting management system newuser455 Programming 0 04-02-2005 02:24 AM
File Management System on MandrakeLinux 10.1 -newbie- moshpit Mandriva 5 01-11-2005 08:46 PM


All times are GMT -5. The time now is 03:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration