386 demand paged pure executable

2005-09-05 Thread Nanakos Chrysostomos
Hi all, how can i produce from a working RH 7.3 env a 386 - demand paged pure executable from a C file??? My gcc version is 2.95 , if that matters Thanks in advance. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More

fdisk & LBA

2005-08-12 Thread Nanakos Chrysostomos
Hi all,i want to retrieve the partition table of a primary extended partition. My MBR partition table ,says that the LBA Partition Start sector for the extended partition is 10281600.It is the same that i find with my C code and through fdisk usage. How can i use this value to seek(lseek) to this p

Re: superblock & inode's

2005-07-27 Thread Nanakos Chrysostomos
I looked the sources and the programs use the libext2fs library.I found it in the sources but it is loss of time reading it just to understand and retrieve some simple things.So i finally did this below,but i am stack only in one thing.How to parse the information for a data block that contains the

x86 Endiannes and libc printf

2005-07-08 Thread Nanakos Chrysostomos
Hi all, i am searching for a few hours now the endianness in the x86 environment,and i have the following snippets of code,which in some places i cant understand.Please help me!!! endian.c - #include #include #include int main() { char *filename= "endian.txt"; unsigned