Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-24-2005, 09:24 AM   #1
LQ Newbie
Registered: Mar 2005
Posts: 2

Rep: Reputation: 0
Finding files and directories

I have some trouble on finding files and structures in Linux.(Mandrake 10.0).

For example, I have trouble finding the answers to such questions:

1)Find out in which directory and file in the kernel sources, process descriptor block(PCB) (a structure of type struct task) is defined.

2)Find out the file scheduler.c in the source code tree of kernel 2.6. Find out by searching the kernel sources how many different scheduling classes are there in Linux. Find out priority ranges.

3)In kernel sources, find out where the runqueue structure is defined(directory and file name).

I want to be able to do such finding and searching questions by myself. It's better if you know the answers directly, but it's also better that you teach me how to find a file or directory in linux.
Old 03-24-2005, 09:29 AM   #2
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Well there are two ways I can think of to go about this.

1) Go to Cross-referencing Linux. You can choose a kernel version and search through the source by a number of different menthods to find what your looking for.

2) Use grep/egrep and find to search through the linux source on your machine.


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
finding empty directories with bash Iriel Solaris / OpenSolaris 10 02-18-2016 03:59 AM
CHMOD directories.sub-directories.files zerojosh Linux - Software 2 11-19-2005 03:22 PM
finding directories w/ certain permissions secular Linux - Security 1 12-28-2004 04:36 PM
help with WINE...., not finding fake windows directories... Byan Linux - Newbie 2 08-03-2004 07:43 AM
finding empty directories... PokerFace Linux - General 2 10-16-2002 08:23 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:15 PM.

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
Open Source Consulting | Domain Registration