Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


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

Rep: Reputation: 0
Inodes and File System Management

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


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

Rep: Reputation: 229Reputation: 229Reputation: 229
"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


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 05:18 AM.

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