Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > The Linux Kernel > Kernel function list

Forgot Password?
 The Linux Kernel   Compiling, theory, programming or other discussion about the linux kernel

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Closed Thread
 
Thread Tools Display Modes
Old 08-30-2005   #1 (permalink)
Just Joined!
 
Join Date: Feb 2005
Posts: 25
Kernel function list

Hi all,
I want a list of all the kernel functions (kernel version : 2.4.20) inlcuding their description in detail. Where can I get thnis ?
avk_ady
avk_ady is offline  


Old 08-30-2005   #2 (permalink)
Linux Guru
 
AlexK's Avatar
 
Join Date: Feb 2005
Location: Earth
Posts: 3,380
try googling, i cant find one specificially for 2.4.20, but heres a list of kernel functions:
http://kernelnewbies.org/documents/k...kernelapi.html
__________________
Life is complex, it has a real part and an imaginary part.
AlexK is offline  
Old 08-30-2005   #3 (permalink)
Just Joined!
 
Join Date: Feb 2005
Posts: 25
Thank you Alexk. But could you tell whether any function similar to 'lstat' is available for kernel programmer ? I've checked the list but could'nt find out.
I need this function because I've to check the presence of "/sbin/init" at booting time. I'm trying to implement a small filesystem on a Flash disk and trying to boot my machine with this. But everytime it gives an error message like "No init found".
avk_ady is offline  
Old 09-24-2009   #4 (permalink)
Just Joined!
 
Join Date: Sep 2009
Posts: 1
Is disk mounted?

Is this some kind of liveusb version of linux you're working on? lstat is a system call,
meaning it is implemented by the linux kernel. If this is a module you are working on
then lstat might not be available since your module will be running in kernel space
(I know nothing about programming modules). In any case, in order fuor /sbin/init to
be present on the virtual filesystem, the filesystem has to be mounted. If you need
to check for /sbin/init before it's mounted, you might be able to get the bootloader
to do that for you or something. If you cannot get by with your program starting
later in the boot process (i.e. after the filesystem is mounted) and the bootloader
can't help you, than you'll have to search for /sbin/init using direct reads from the
device, which if you are writing a filesystem you should have an idea how to do that.

Good luck!
jemi is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 05:50 PM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2