> > I think you'd better use the standard init, which has support for > startup and shutdown scripts. If you customize them, together with a > custom inittab, then you can have your system start just your > application, but still do certain actions upon startup and shutdown. > This seems much cleaner way of doing it. But my only concern is that Will it affect the performance.. ?? I mean now I will be having one extra process with my application which will need some resources. Will init will compete with my application in CPU scheduling or it will sleep and wait for some event to happen? > This is (for example) explained in "Chapter 6. System Initialization" > of the book "Embedded Linux Primer. A Practical Real-World Approach" > (Christopher Hallinan ; publisher: Prentice Hall). > > Thomas > > > > > > I want to know if there is any way by which I can run my application > > in single-user-mode and still I should be able > > to halt the kernel properly so that there is no need to run > > file-system check on next boot. > > > > I am using kernel Linux 2.6.23 and my root file-system is EXT2. > > Please let me know if there is any way by which I can stop unclean > > unmounting in this case. > > > > -- > > Thanx and Regards, > > Pravin Shinde > > > > -- > > To unsubscribe from this list: send an email with > > "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx > > Please read the FAQ at http://kernelnewbies.org/FAQ > > > > > -- Regards, Pravin Shinde -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ