Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.linux > #59613

Re: F. Russell's version of "init" (Was: sysvinit vs systemd)

From Aragorn <thorongil@telenet.be>
Newsgroups alt.os.linux
Subject Re: F. Russell's version of "init" (Was: sysvinit vs systemd)
Date 2019-10-14 19:06 +0200
Organization A noiseless patient Strider
Message-ID <20191014190632.3ee14ff6@nx-74205> (permalink)
References (2 earlier) <qo1qgi$v7g$1@news.xmission.com> <qo1stg0123e@news1.newsguy.com> <qo1ufj$3ju$1@news.xmission.com> <qo21eg$tiv$1@dont-email.me> <qo28jf$de9$1@dont-email.me>

Show all headers | View raw


On 14.10.2019 at 18:43, Soviet_Mario scribbled:

> On 14/10/2019 16:41, William Unruh wrote:
>
> > There was once an operating sysem called DOS. It all fit onto a
> > little floppy disk. Dropped you into a terminal window. If you
> > needed anything you ran a program to do it. In fact there was no
> > init system.   
> 
> I'm not so sure how to classify CONFIG.SYS and AUTOEXEC.BAT
> In order to get most peripherals drivers work you had to 
> manually load these with config (prequel) or autoexec 
> (sequel), so imho they were sort of halfway between 
> configuration files and init system, as they affected the 
> way the DOS would start

It's a good analogy, yes.  CONFIG.SYS would load device drivers and a
few TSRs, and AUTOEXEC.BAT would set up the runtime environment, which
could also include the loading of TSRs.

> > It was just the kernel that did it all   
> 
> in DOS????? dos kernel did very very little basic work, not 
> even able to see the whole memory without some further 
> drivers such as "highmem or himem.SYS" (i cant recall the 
> exact spell).

HIMEM.SYS (later HIMEM.EXE) for XMS support, and EMM386.SYS (later
EMM386.EXE) for either EMS or UMB support — it could not do both at the
same time.

In addition to that, all Windows versions up until and including
Windows ME — but excluding the NT-based Windows versions — still ran all
code and data in the processor's ring 0, using DPMS (DOS Protected Mode
Specification).  

> It just managed to support FAT and low / middle level disk 
> operations. Also the CD was not supported natively by many 
> DOS, and had to be "inited" by another external driver 
> loaded in config.sys

I think what Bill means is that in DOS, *everything* ran in kernel
mode — even user applications — because the 8086/8088 processor (and
any later x86 processor when running in real mode) doesn't have
privilege separation, nor does it have access to the processor's memory
management unit.

So there were plenty of occasions where DOS didn't have a device driver
for a specific device to be used in a certain application, but whereby
the application itself came with its own device driver.  

For instance, WordPerfect 5.x came with its own mouse driver, its own
printer drivers and its own graphics driver.  So did Lotus 123, dBASE
III/IV, TurboPascal, Freehand, and several other applications.

DOS was therefore not a real operating system.  It was essentially an
executable loader on top of the BIOS firmware, and it had some
rudimentary file management and memory management utilities.  

As soon as an application was loaded into memory, DOS would take a step
back, and the application had full control over the machine until it
exited again.  Then DOS had to reload its command interpreter
COMMAND.COM, either from the hard-coded default — i.e. the root
directory of the boot drive — or the path to COMMAND.COM as set via the
%COMSPEC variable, which was commonly set in AUTOEXEC.BAT.

-- 
With respect,
= Aragorn =

Back to alt.os.linux | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

sysvinit vs systemd Mike Easter <MikeE@ster.invalid> - 2019-10-07 12:56 -0700
  Re: sysvinit vs systemd F Russell <fr@random.info> - 2019-10-07 22:38 +0000
    Re: sysvinit vs systemd Aragorn <thorongil@telenet.be> - 2019-10-08 08:30 +0200
      Re: sysvinit vs systemd Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-08 19:14 +0200
        Re: sysvinit vs systemd Aragorn <thorongil@telenet.be> - 2019-10-09 07:12 +0200
    Re: sysvinit vs systemd Mike Easter <MikeE@ster.invalid> - 2019-10-08 16:40 -0700
      Re: sysvinit vs systemd "Carlos E.R." <robin_listas@es.invalid> - 2019-10-13 20:11 +0200
        Re: sysvinit vs systemd William Unruh <unruh@invalid.ca> - 2019-10-13 19:23 +0000
          Re: sysvinit vs systemd "Carlos E.R." <robin_listas@es.invalid> - 2019-10-14 00:44 +0200
            Re: sysvinit vs systemd William Unruh <unruh@invalid.ca> - 2019-10-14 05:14 +0000
              Re: sysvinit vs systemd "Carlos E.R." <robin_listas@es.invalid> - 2019-10-14 13:48 +0200
                Re: sysvinit vs systemd William Unruh <unruh@invalid.ca> - 2019-10-14 14:31 +0000
                Re: sysvinit vs systemd "Carlos E.R." <robin_listas@es.invalid> - 2019-10-15 11:40 +0200
              Re: sysvinit vs systemd "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2019-10-14 09:06 -0400
    Re: sysvinit vs systemd Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-08 19:10 +0200
      Re: sysvinit vs systemd William Unruh <unruh@invalid.ca> - 2019-10-08 20:59 +0000
        Re: sysvinit vs systemd "Carlos E.R." <robin_listas@es.invalid> - 2019-10-13 20:07 +0200
          Re: sysvinit vs systemd William Unruh <unruh@invalid.ca> - 2019-10-13 19:21 +0000
            Re: sysvinit vs systemd "Carlos E.R." <robin_listas@es.invalid> - 2019-10-14 00:48 +0200
      Re: sysvinit vs systemd "Carlos E.R." <robin_listas@es.invalid> - 2019-10-08 19:49 +0200
        Re: sysvinit vs systemd Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-09 14:21 +0200
          Re: sysvinit vs systemd "Carlos E.R." <robin_listas@es.invalid> - 2019-10-13 20:05 +0200
            Re: sysvinit vs systemd F Russell <fr@random.info> - 2019-10-14 10:23 +0000
              Re: sysvinit vs systemd "Carlos E.R." <robin_listas@es.invalid> - 2019-10-14 13:39 +0200
                Re: sysvinit vs systemd Aragorn <thorongil@telenet.be> - 2019-10-14 14:12 +0200
              F. Russell's version of "init" (Was: sysvinit vs systemd) gazelle@shell.xmission.com (Kenny McCormack) - 2019-10-14 12:42 +0000
                Re: F. Russell's version of "init" (Was: sysvinit vs systemd) "F. Russell" <frussell@random.info> - 2019-10-14 13:24 +0000
                Re: F. Russell's version of "init" (Was: sysvinit vs systemd) gazelle@shell.xmission.com (Kenny McCormack) - 2019-10-14 13:50 +0000
                Re: F. Russell's version of "init" (Was: sysvinit vs systemd) "F. Russell" <frussell@random.info> - 2019-10-14 14:21 +0000
                Re: F. Russell's version of "init" (Was: sysvinit vs systemd) gazelle@shell.xmission.com (Kenny McCormack) - 2019-10-14 15:28 +0000
                Re: F. Russell's version of "init" (Was: sysvinit vs systemd) "Cybe R. Wizard" <cybe_r_wizard@WizardsTower.invalid> - 2019-10-14 11:55 -0500
                Re: F. Russell's version of "init" (Was: sysvinit vs systemd) William Unruh <unruh@invalid.ca> - 2019-10-14 14:41 +0000
                Re: F. Russell's version of "init" (Was: sysvinit vs systemd) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-14 18:43 +0200
                Re: F. Russell's version of "init" (Was: sysvinit vs systemd) Aragorn <thorongil@telenet.be> - 2019-10-14 19:06 +0200
                Re: F. Russell's version of "init" (Was: sysvinit vs systemd) Eric Pozharski <whynot@pozharski.name> - 2019-10-15 11:24 +0300
                Re: F. Russell's version of "init" (Was: sysvinit vs systemd) Aragorn <thorongil@telenet.be> - 2019-10-15 11:43 +0200
                Re: F. Russell's version of "init" (Was: sysvinit vs systemd) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-15 13:41 +0200
                Re: F. Russell's version of "init" (Was: sysvinit vs systemd) Aragorn <thorongil@telenet.be> - 2019-10-15 14:42 +0200
                Re: F. Russell's version of "init" (Was: sysvinit vs systemd) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-15 20:45 +0200
                Old farts showing off their knowledge of ancient PC operating systems... (Was: F. Russell's version of "init" (Was: sysvinit vs systemd)) gazelle@shell.xmission.com (Kenny McCormack) - 2019-10-15 21:18 +0000
                Re: Old farts showing off their knowledge of ancient PC operating systems... (Was: F. Russell's version of "init" (Was: sysvinit vs systemd)) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-16 02:05 +0200
                Re: Old farts showing off their knowledge of ancient PC operating systems... (Was: F. Russell's version of "init" (Was: sysvinit vs systemd)) gazelle@shell.xmission.com (Kenny McCormack) - 2019-10-16 00:44 +0000
                Re: Old farts showing off their knowledge of ancient PC operating systems... (Was: F. Russell's version of "init" (Was: sysvinit vs systemd)) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-16 13:49 +0200
                Re: F. Russell's version of "init" (Was: sysvinit vs systemd) Eric Pozharski <whynot@pozharski.name> - 2019-10-16 11:25 +0300
                More archaic OS trivia... (Was: F. Russell's version of "init" (Was: sysvinit vs systemd)) gazelle@shell.xmission.com (Kenny McCormack) - 2019-10-16 10:20 +0000
                Re: More archaic OS trivia... (Was: F. Russell's version of "init" (Was: sysvinit vs systemd)) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-16 13:58 +0200
                Re: More archaic OS trivia... (Was: F. Russell's version of "init" (Was: sysvinit vs systemd)) Yrrah <Yrrah-aol@aol.invalid> - 2019-10-16 14:51 +0200
                Re: More archaic OS trivia... (Was: F. Russell's version of "init" (Was: sysvinit vs systemd)) gazelle@shell.xmission.com (Kenny McCormack) - 2019-10-16 20:15 +0000
                Re: More archaic OS trivia... (Was: F. Russell's version of "init" (Was: sysvinit vs systemd)) Yrrah <Yrrah-aol@aol.invalid> - 2019-10-17 14:52 +0200
                Re: More archaic OS trivia... (Was: F. Russell's version of "init" (Was: sysvinit vs systemd)) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-18 00:24 +0200
                Re: More archaic OS trivia... Bud Frede <frede@mouse-potato.com> - 2019-10-19 06:38 -0400
                Re: More archaic OS trivia... Bud Frede <frede@mouse-potato.com> - 2019-10-19 06:30 -0400
                Re: F. Russell's version of "init" (Was: sysvinit vs systemd) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-16 13:56 +0200
                Re: F. Russell's version of "init" (Was: sysvinit vs systemd) Eric Pozharski <whynot@pozharski.name> - 2019-10-17 09:32 +0300
              Re: sysvinit vs systemd Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-14 18:33 +0200
              Re: sysvinit vs systemd Bud Frede <frede@mouse-potato.com> - 2019-10-19 06:20 -0400
                Re: sysvinit vs systemd Aragorn <thorongil@telenet.be> - 2019-10-19 13:12 +0200
                Re: sysvinit vs systemd Bud Frede <frede@mouse-potato.com> - 2019-10-19 11:14 -0400
                Re: sysvinit vs systemd Aragorn <thorongil@telenet.be> - 2019-10-19 17:45 +0200
                Re: sysvinit vs systemd Ken Hart <kwhart1@frontier.com> - 2019-10-19 17:28 -0400
    Re: sysvinit vs systemd Bud Frede <frede@mouse-potato.com> - 2019-10-13 12:10 -0400

csiph-web