Can I run linux without a file system?

2002-06-22 Thread Wolfgang Denk
In message 3.0.3.32.20020621143133.006d37a8 at hollabaugh.com you wrote: I can say that a minimum RedHat install uses 29,296 files ? 382.020MB, debian 10,734 files - 67.428MB, my minimal root filesystem 82 files and 4.8MB. You cannot really call this a minimal root filesystem. A small (not

Can I run linux without a file system?

2002-06-22 Thread Wolfgang Denk
In message 45B36A38D959B44CB032DA427A6E10640167CFE3 at cceexc18.americas.cpqcorp.net you wrote: Hmm, my minimal rootfs is (so far) 7 Mb, (as reported by du -s). Or, is this 4Mb you cite compressed? I wonder because my libc.so is over 5 Mb. (which I got from DENX eldk-1.0) Have a look at

Can I run linux without a file system?

2002-06-21 Thread Tim Lai
I am porting linux on a custom board. I am using the bootrom to load vmlinux onto RAM, and I am in the middle of getting the console/ serial driver to work. All the documents I read have refer the console as /dev/ttyS, and state that to communicate to the console, I have to set it up with

Can I run Linux without a file system?

2002-06-21 Thread Hihn Jason
- From: Tim Lai [mailto:[EMAIL PROTECTED] Sent: Friday, June 21, 2002 11:09 AM To: linuxppc-embedded at lists.linuxppc.org Subject: Can I run linux without a file system? I am porting linux on a custom board. I am using the bootrom to load vmlinux onto RAM, and I am in the middle of getting

Can I run Linux without a file system?

2002-06-21 Thread Tim Lai
Thanks, Jason. I am new to linux kernel. I'll have the main application run from init(), so I wasn't planning to have a file system. Yes. You will always have SOME kind of filesystem. But this begs another question. How much do you know about Linux, and what are you really asking? If /proc

Can I run linux without a file system?

2002-06-21 Thread Tim Lai
I am interested in both input/output operation on the console. If I just set CONFIG_SERIAL_CONSOLE, will I be able read input from the console? The main application will be started from init(), and the application will need to read and write to the console. Are there are method to communicate to

Can I run Linux without a file system?

2002-06-21 Thread Ricardo Scop
Tim, Maybe initrd and linuxrc is enough for your system. Read the file initrd.txt in the Linux source tree Documentation sub-directory. []'s, Scopmailto:scop at vanet.com.br -- It might look like I'm

Can I run Linux without a file system?

2002-06-21 Thread Dan Malek
Tim Lai wrote: I am new to linux kernel. I'll have the main application run from init(), so I wasn't planning to have a file system. So, why are you trying to use Linux? If you don't start up applications outside of the kernel, there aren't very many features that make it attractive or

Can I run linux without a file system?

2002-06-21 Thread Wolfgang Denk
In message 20020621150853.2021.qmail at web21104.mail.yahoo.com you wrote: Does that means I have to have some sort of file system in linux? Yes. Things like root directory, working directory, device files, ... are essential concepts of Unix; you cannot get rid of them that easily - nor

Can I run linux without a file system?

2002-06-21 Thread Ricardo Scop
Tim, See bellow... []'s, Scopmailto:scop at vanet.com.br -- It might look like I'm doing nothing, but at the cellular level I'm really quite busy. Friday, June 21, 2002, 4:42:34 PM, you wrote: TL I

Can I run linux without a file system?

2002-06-21 Thread Jerry Van Baren
You need at least a RAM file system for / and a bunch of subdirectories such as /dev, /lib, etc. The common way to do this on a minimalistic system is to create a file system image in ROM (often compressed) and copy it to RAM on start up. Given the questions you are asking, I am very confident

Can I run Linux without a file system?

2002-06-21 Thread Tim Lai
Well, there is memory protection for now. And when new hardware arrives, we'll have file system. --- Dan Malek dan at embeddededge.com wrote: Tim Lai wrote: I am new to linux kernel. I'll have the main application run from init(), so I wasn't planning to have a file system. So, why

Can I run linux without a file system?

2002-06-21 Thread Dr. Craig Hollabaugh
At 04:12 PM 6/21/2002 -0400, Jerry Van Baren wrote: You need at least a RAM file system for / and a bunch of subdirectories such as /dev, /lib, etc. The common way to do this on a minimalistic system is to create a file system image in ROM (often compressed) and copy it to RAM on start up.

Can I run linux without a file system?

2002-06-21 Thread Kerl, John
] Sent: Friday, June 21, 2002 1:12 PM To: linuxppc-embedded at lists.linuxppc.org Subject: Re: Can I run linux without a file system? You need at least a RAM file system for / and a bunch of subdirectories such as /dev, /lib, etc. The common way to do this on a minimalistic system is to create

Can I run linux without a file system?

2002-06-21 Thread Tim Lai
I can say that a minimum RedHat install uses 29,296 files ? 382.020MB, debian 10,734 files - 67.428MB, my minimal root filesystem 82 files and 4.8MB. Do I need to install all these files in the file system? Can I have /, with no file in it? ** Sent via the linuxppc-embedded mail list.

Can I run linux without a file system?

2002-06-21 Thread John W. Linville
Tim Lai wrote: Do I need to install all these files in the file system? Can I have /, with no file in it? Respectfully, I think perhaps you should call WindRiver or some other traditional RTOS vendor. If you insist on using Linux, I highly recommend you go to Amazon and order Craig's book

Can I run linux without a file system?

2002-06-21 Thread Dr. Craig Hollabaugh
At 01:49 PM 6/21/2002 -0700, Tim Lai wrote: I can say that a minimum RedHat install uses 29,296 files ? 382.020MB, debian 10,734 files - 67.428MB, my minimal root filesystem 82 files and 4.8MB. Do I need to install all these files in the file system? Can I have /, with no file in it?

Can I run linux without a file system?

2002-06-21 Thread Jerry Van Baren
OK, you and John Kerl caught me fear-mongering :-). Thank you for the link and shameless plug, it looks very, very useful. 4.8MB is very respectable but not what most people think about when they say minimal file system. Tim wants less than 1MByte, care to take up THAT challenge :-)? That

Can I run linux without a file system?

2002-06-21 Thread Cameron, Steve
Dr. Craig Hollabaugh wrote: I can say that a minimum RedHat install uses 29,296 files - 382.020MB, debian 10,734 files - 67.428MB, my minimal root filesystem 82 files and 4.8MB. Hmm, my minimal rootfs is (so far) 7 Mb, (as reported by du -s). Or, is this 4Mb you cite compressed? I wonder

Can I run linux without a file system?

2002-06-21 Thread Kerl, John
: Friday, June 21, 2002 1:42 PM To: 'Jerry Van Baren'; linuxppc-embedded at lists.linuxppc.org Subject: RE: Can I run linux without a file system? It's not *that* bad, is it? ;) I have to admit I stumbled around for a while before I got it right, but I do have a shell script for making a RAM disk image

Can I run linux without a file system?

2002-06-21 Thread Roland Dreier
John == John Kerl Kerl writes: John * I could bulk-copy (cp -R) from $xroot to the filesystem John image, *but* you can't cp around the files in /dev. The John script below is hackish in that I list out all the John subdirectories in $xroot except /dev and copy them, then

Can I run linux without a file system?

2002-06-21 Thread Cameron, Steve
Wolfgang Denk wrote: In message 45B36A38D959B44CB032DA427A6E10640167CFE3 at cceexc18.americas.cpqcorp.net you wrote: Hmm, my minimal rootfs is (so far) 7 Mb, [...] Have a look at the SELF Makefile... you should run $(CROSS_PREFIX)strip --remove-section=.note --remove-section=.comment

Can I run linux without a file system?

2002-06-21 Thread Conn Clark
everything using the -Os -mstring -mmultiple optimizations. As for the original question Can I run linux without a file system?, If you don't need a file system, mabey the question should be do you realy need linux. It may just be easier to make an executable to sit on something like PPCBoot. (just

Can I run linux without a file system?

2002-06-21 Thread Tim Lai
Do I need to install all these files in the file system? Can I have /, with no file in it? What do you want to do? Do you want a shell, run a program, load a device driver? What is it exactly? I 'll run my application which is build in the kernel. No shell in the beginning. But I will

Can I run linux without a file system?

2002-06-21 Thread David Blythe
use uclibc and busybox. it is pretty straightforward to get a root file system smaller than 1M with lots of useful stuff, either with or without shared libraries (shared uclibc is 300K including ld.so on my ppc system, busybox is 200K including ash,mv,cp,ls,...). The downside is you have to