Re: What is the difference between loopback device and ramdisk device

2009-03-07 Thread loody
2009/3/4 Peter Teoh : > all the question u asked are answered by yourself.   :=). > > but i do have some questions (MinChan or anyone else can help?): > > a.   after mounting the ramdisk or loopback file as devices, and > configuring it as say, ext2 filesystem, all I/O processing go through > the s

Re: File System Project

2009-03-07 Thread Peter Teoh
instead of starting a new project, why not answer a few questions: what are all the key functions traversed when creating a new file? new directory? new symlink? conceptually it should involved functions that: a. allocate a new inode. b. allocate some blocks of space. c. updating the blo

Re: File System Project

2009-03-07 Thread Manish Katiyar
On Sun, Mar 8, 2009 at 4:21 AM, "Stanisław T. Findeisen" wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Manish Katiyar wrote: > | Or you can try porting ext3grep to C :-) and add new features to it, > | that way you also learn the filesystem ondisk structures > | > | Let me know if y

RE: About Kernel preemption and kernel mode stack

2009-03-07 Thread Microbit_P43000
Hi Michi, Thanks for pointing this out. Of course I was describing an RTOS in general, but it's good to know now that one can pre-empt user space code w/o pre-empting kernel code. I thought that - given the general question - an initial general RTOS vs. "superloop" programming rundown would clarif

Solar flares effect in Fedora Core 10

2009-03-07 Thread Peter Teoh
While booting the latest kernel updates for FC10, kernel version: 2.6.27.19-170.2.35.fc10.i686, I was terribly amazed at the Solar Flares effect. Short of ploughing through the 67M (FC11 kernel source) of kernel source, can anyone tell me specifically where in the kernel this can be implemented?

Re: File System Project

2009-03-07 Thread Stanisław T. Findeisen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Manish Katiyar wrote: | Or you can try porting ext3grep to C :-) and add new features to it, | that way you also learn the filesystem ondisk structures | | Let me know if you are interested, we can work together. Are you porting ext3grep to C? What f

Re: HIGHMEM4G & PAE possible?

2009-03-07 Thread Rik van Riel
NAHieu wrote: hi, i heard that it is possible to have HIGHMEM4G and PAE options combined. Is that really possible? That is called HIGHMEM64G. -- All rights reversed. -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecar...@nl.linux.org Please read the FAQ a

RE: reverse-engineering a usb device

2009-03-07 Thread Microbit_P43000
Hi Christoph, Sorry I overlooked your reply. Comment below. -Original Message- From: kernelnewbies-bou...@nl.linux.org [mailto:kernelnewbies-bou...@nl.linux.org] On Behalf Of Christoph Gysin Sent: Sunday, 15 February 2009 8:25 AM To: micro...@virginbroadband.com.au Cc: kernelnewbies@nl.l

Re: Question about C Programming.

2009-03-07 Thread Stephen Roberts
I'm not to familiar with the x86 architecture but for an ARM architecture you can just look at the link register, R14. This will give you the address of the function that called you. It is used to store where the code goes to upon 'return' and therefore will contain the address you want. I would be

Re: Lost fedora Installation

2009-03-07 Thread Matthias Kaehlcke
El Sat, Mar 07, 2009 at 10:10:32PM +0530 Rishi Bhushan Agrawal ha dit: > I had an existing fedora 10 OS installed and the base FS on it was ext3. > > I needed to have a Fedora 10 system with base FS as ext2 ( for /) > > I wanted this because I wanted to change the code of ext3 FS. > > So I free

Re: Lost fedora Installation

2009-03-07 Thread Manish Katiyar
On Sat, Mar 7, 2009 at 10:10 PM, Rishi Bhushan Agrawal wrote: > Hello everyone, > > > I had an existing fedora 10 OS installed and the base FS on it was ext3. > > I needed to have a Fedora 10 system with base FS as ext2 ( for /) > > I wanted this because I wanted to change the code of ext3 FS. > >

Re: need help in understanding basics of block device driver

2009-03-07 Thread Rohit Sharma
Hi Nidhi, I might have confused u a bit more, so i would like to help you out. A page consists of one or more segments. Segments consists of various sectors. A block buffer contains sectors. Each disk I/O consists of segments. bio are descriptors for I/O operations consisting of one or more seg

Re: HIGHMEM4G & PAE possible?

2009-03-07 Thread Mulyadi Santosa
Hi On Sat, Mar 7, 2009 at 11:57 PM, NAHieu wrote: > hi, > > i heard that it is possible to have HIGHMEM4G and PAE options > combined. Is that really possible? > > I am on 2.6.28.2, and choose HIGHMEM4G. But there is no place to > enable PAE at all (??) I think the reason behind why you don't see

HIGHMEM4G & PAE possible?

2009-03-07 Thread NAHieu
hi, i heard that it is possible to have HIGHMEM4G and PAE options combined. Is that really possible? I am on 2.6.28.2, and choose HIGHMEM4G. But there is no place to enable PAE at all (??) Thanks, H -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecar...@nl.l

Lost fedora Installation

2009-03-07 Thread Rishi Bhushan Agrawal
Hello everyone, I had an existing fedora 10 OS installed and the base FS on it was ext3. I needed to have a Fedora 10 system with base FS as ext2 ( for /) I wanted this because I wanted to change the code of ext3 FS. So I freed some space on the HDD (aroung 25 GB) and using custom layout insta

Re: File System Project

2009-03-07 Thread Sandeep K Sinha
On Sat, Mar 7, 2009 at 10:16 AM, Manish Katiyar wrote: > On Sat, Mar 7, 2009 at 2:25 AM, Greg Freemyer wrote: >> On Fri, Mar 6, 2009 at 3:35 PM, Shyam Burkule >> wrote: >>> Hi Greg, Thanks for your reply. >>> >>> >>> Actually I am new to file system, I did work in memory management of Linux >>>