Article View: comp.unix.admin
Article #4301Re: Difference between Unix and Linux?
From: Steve Mading
Date: Sat, 06 Jul 2002 01:17
Date: Sat, 06 Jul 2002 01:17
47 lines
4192 bytes
4192 bytes
In comp.unix.questions Jeffrey Siegal <jbs@quiotix.com> wrote:
: Steve Mading wrote:
:> : This is not quite correct. You can start a single user program from the
:> : kernel command line with init=. That could be enough for some systems.
:>
:> Alright, then switching from programs to other files, would that
:> one userland process function very well without any of the
:> libraries in /lib, without the ability to interface with with
:> system routines because the library to interface with the kernel
:> is not there? How well will the system function without all the
:> config files in /etc? (for example, will the kernel allow this
:> "init=" program to run when there is no /etc/passwd file? Perhaps
:> as root, but not as any other UID, I would suspect.)
: The program can be written to make system calls directly, without using
: a library, or it can be statically linked with a minimal library. The
: kernel *will* allow the program to run if there is no /etc/passwd file.
: It will always be run as root, though it can then change its uid using a
: system call without referencing /etc/passwd.
:> I still maintain that there is a bit more to the core linux OS than
:> just a running kernel, given that the kernel on it's own is entirely
:> useless without at least a filesystem to mount as '/'.
: What difference does this make? The file system support itself is part
: of the kernel anyway.
No, not the software that controls the filesystem, but the actual
filesystem itself - the blocks and inodes stored out on the
disk - are not part of the kernel but are part of the OS, for
without them you have no ability to run a program. (or even boot
the kernel for that matter, since the kernel image itself is on
the filesystem. {In theory you could write the kernel image to
"dumb" blocks on a partition that isn't formatted to a filesystem,
and then make a LILO entry that chains those blocks together as the
kernel image, but does anyone actually do that?) )
And that leads to another question: Does "Another method that avoids
using foo could be used to get the OS to work, in theory", mean that
foo isn't part of the OS even if in practice foo is always used?
After all, in theory memory protection doesn't need to be in an OS,
if you don't care about security, and you don't mind that this makes
programs rather hard to debug, but does that mean it's not part
of the OS? If in theory you could create a linux installation that
contains no filesystem on any device (not even burned on a chip),
would that mean filesystems are not part of the OS?
Technical Details
Message-ID:
<ag5gf2$gd7$1@news.doit.wisc.edu>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!uwm.edu!newsfeed.cs.wisc.edu!news.doit.wisc.edu!not-for-mailReferences:
<25fc8d92.0206150829.2aba827b@posting.google.com> <aelarj$5qt$1@tilde.itg.ti.com> <aermut$1vt9$1@agate.berkeley.edu> <n36dhucf8bochbnh1lfhtp78lkrrerjpug@4ax.com> <afddm8$94k$1@tilde.itg.ti.com> <3D1A3FFD.4CE18AAC@quiotix.com> <m3ptyc6872.fsf@latakia.dyndns.org> <afiqt1$t1j$1@news.doit.wisc.edu> <3D1CF4D0.8090600@quiotix.com> <afkubh$4t$5@news.doit.wisc.edu> <3D1E6E23.EC9BAD89@quiotix.com> <afs1b3$iki$2@news.doit.wisc.edu> <3D2249E8.C130121A@quiotix.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f8c9b,c2f5a7a6eb2eb0a9
X-Google-Attributes: gidf8c9b,public
X-Google-Thread: 1020c6,c2f5a7a6eb2eb0a9
X-Google-Attributes: gid1020c6,public
X-Google-Thread: 1025b4,7144e36039d56e89
X-Google-Attributes: gid1025b4,public
X-Google-ArrivalTime: 2002-07-05 18:30:04 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!uwm.edu!newsfeed.cs.wisc.edu!news.doit.wisc.edu!not-for-mail
From: Steve Mading <madings@baladi.bmrb.wisc.edu>
Newsgroups: comp.unix.admin,comp.unix.questions,gnu.misc.discuss
Subject: Re: Difference between Unix and Linux?
Date: Sat, 6 Jul 2002 01:17:22 +0000 (UTC)
Organization: University of Wisconsin, Madison
Lines: 48
Message-ID: <ag5gf2$gd7$1@news.doit.wisc.edu>
References: <25fc8d92.0206150829.2aba827b@posting.google.com> <aelarj$5qt$1@tilde.itg.ti.com> <aermut$1vt9$1@agate.berkeley.edu> <n36dhucf8bochbnh1lfhtp78lkrrerjpug@4ax.com> <afddm8$94k$1@tilde.itg.ti.com> <3D1A3FFD.4CE18AAC@quiotix.com> <m3ptyc6872.fsf@latakia.dyndns.org> <afiqt1$t1j$1@news.doit.wisc.edu> <3D1CF4D0.8090600@quiotix.com> <afkubh$4t$5@news.doit.wisc.edu> <3D1E6E23.EC9BAD89@quiotix.com> <afs1b3$iki$2@news.doit.wisc.edu> <3D2249E8.C130121A@quiotix.com>
NNTP-Posting-Host: baladi.bmrb.wisc.edu
X-Trace: news.doit.wisc.edu 1025918242 16807 144.92.167.208 (6 Jul 2002 01:17:22 GMT)
X-Complaints-To: abuse@doit.wisc.edu
NNTP-Posting-Date: Sat, 6 Jul 2002 01:17:22 +0000 (UTC)
User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (Linux/2.2.17 (i686))