Linux-Development-Sys Digest #772, Volume #6 Thu, 3 Jun 99 16:14:07 EDT
Contents:
Re: Text virtual console in 2.2.9 (RH 6.0) (H. Peter Anvin)
Re: Redhat 6 & NFS (Mike Romberg)
Re: TAO: the ultimate OS (Matthias Warkus)
Re: uid and gid assignments as distributed (Phil Howard)
Re: uid and gid assignments as distributed (Phil Howard)
Re: the ultimate OS (Vladimir Z. Nuri)
Re: Terabite Plus Filesystems (Bob Hoekstra)
Re: What are the differences between mySQL and mSQL? (Paul D. Smith)
Re: lifting limit of four md devices ind 2.2.x kernels? (Marc Mutz)
Re: kernel vs egcs vs PentiumPro/II (Paul Kimoto)
Re: Compiling kernel w/ other than gcc (Pete Zaitcev)
Re: Terabite Plus Filesystems ("Al in Seattle")
Re: Terabite Plus Filesystems ("Stefan Monnier "
<[EMAIL PROTECTED]>)
Re: NFS Lock Deamon for Linux. Is there one? ("Stefan Monnier "
<[EMAIL PROTECTED]>)
Re: What are the differences between mySQL and mSQL? (bryan)
Re: Linux Device Driver Overflow? (Joe Pfeiffer)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (H. Peter Anvin)
Subject: Re: Text virtual console in 2.2.9 (RH 6.0)
Date: 3 Jun 1999 04:24:24 GMT
Reply-To: [EMAIL PROTECTED] (H. Peter Anvin)
Followup to: <3755de89$0$[EMAIL PROTECTED]>
By author: Phil Howard <[EMAIL PROTECTED]>
In newsgroup: comp.os.linux.development.system
>
> In 2.0.36 the right-ALT-Fn keys switched to virtual
> consoles 13 through 24. Now in 2.2.9 it does not work.
> I've created the appropriate ttys. left-ALT-arrow
> (right or left arrow) does rotate around the virtual
> consoles, but direct access doesn't work now.
>
> Looking through drivers in the source I am unable to
> find the place where the ALT-function keys make the
> virtual console switch. Anyone know where this is
> or maybe how to fix this?
>
That's defined in the keymaps. man loadkeys.
-hpa
--
"The user's computer downloads the ActiveX code and simulates a 'Blue
Screen' crash, a generally benign event most users are familiar with
and that would not necessarily arouse suspicions."
-- Security exploit description on http://www.zks.net/p3/how.asp
------------------------------
From: Mike Romberg <[EMAIL PROTECTED]>
Subject: Re: Redhat 6 & NFS
Date: 03 Jun 1999 11:38:47 -0600
>>>>> " " == James Linder <[EMAIL PROTECTED]> writes:
> Hi The modular kernel that RH supplies with RH6.0 works with
> NFS. Doing lsmod shows: nfs nfsd .. I'm trying to build a
> kernel, but the nfsd will not run and the fs/nfsd directory is
> not used. What do I do to build a kernel with NFS built in. I
> already have the NFS stuff configured, but I cannot see how
> CONFIG_NFSD gets to be set, or what I need to do to get nfs
> working. Trying to run nfsd yields an error "nfssvc not
> implemented"
I had to enable CONFIG_EXPERIMENTAL to get CONFIG_NFSD. Once
CONFIG_NFSD was set (as a module) the nfsd fired up and seemed to
work. So, it looks like redhat has things setup to use the kernel
nfsd.
Mike Romberg ([EMAIL PROTECTED])
------------------------------
From: [EMAIL PROTECTED] (Matthias Warkus)
Crossposted-To: alt.os.linux,comp.os.linux.advocacy,comp.os.misc,comp.unix.advocacy
Subject: Re: TAO: the ultimate OS
Date: Thu, 3 Jun 1999 14:09:24 +0200
Reply-To: [EMAIL PROTECTED]
It was the 2 Jun 1999 16:01:26 -0400...
..and Alexander Viro <[EMAIL PROTECTED]> wrote:
> In article <[EMAIL PROTECTED]>,
> Vladimir Z. Nuri <[EMAIL PROTECTED]> wrote:
> [Tons of marketspeak]
>
> Where is your code? Talk is cheap - unless you can demonstrate a code your
> words are worth nothing. Sorry, but you sound like a cross between manager and
> salesweasel and those animals are, erm, not too good in producing things.
> Write something that would work and demonstrate it.
Anyways, everything with "ultimate" in its name needs to be looked at
with extreme prejudice.
mawa
--
Well, there's this intellectual guy who walks up to the bar and says:
"I'll have a Martinus." Says the bartender: "A Martini?" Says the
intellectual guy: "If I'd wanted two, I'd have told you."
------------------------------
From: Phil Howard <[EMAIL PROTECTED]>
Subject: Re: uid and gid assignments as distributed
Date: 03 Jun 1999 04:06:04 GMT
On 31 May 1999 05:58:24 GMT H. Peter Anvin <[EMAIL PROTECTED]> wrote:
| Followup to: <j%i43.2964$[EMAIL PROTECTED]>
| By author: [EMAIL PROTECTED] (Phil Howard)
| In newsgroup: comp.os.linux.development.system
|>
|> Again, I upgrade, and again, uid and/or gid number conflicts.
|>
|> Is there a standard anywhere that indicates what range of uid/gid
|> numbers a distribution/vendor may use, vs. which ones I may use
|> (any administrator) such that I can expect in the future there will
|> never be any conflicts?
|>
|
| Yes, 0-99 are assigned by the distribution (with 0, of course, being root).
The conflicts went above 100 in Redhat 5.1 and above 500 now in Redhat 6.0
Would you then say that Redhat is violated the standard?
--
Phil Howard
[EMAIL PROTECTED]
[EMAIL PROTECTED]
------------------------------
From: Phil Howard <[EMAIL PROTECTED]>
Subject: Re: uid and gid assignments as distributed
Date: 03 Jun 1999 04:14:58 GMT
On 1 Jun 1999 11:09:48 GMT H. Peter Anvin <[EMAIL PROTECTED]> wrote:
| Followup to: <[EMAIL PROTECTED]>
| By author: Glen Turner <[EMAIL PROTECTED]>
| In newsgroup: comp.os.linux.development.system
|>
|> "H. Peter Anvin" wrote:
|> >
|> > Followup to: <j%i43.2964$[EMAIL PROTECTED]>
|> > By author: [EMAIL PROTECTED] (Phil Howard)
|> > In newsgroup: comp.os.linux.development.system
|> > >
|> > > Again, I upgrade, and again, uid and/or gid number conflicts.
|> > >
|> > > Is there a standard anywhere that indicates what range of uid/gid
|> > > numbers a distribution/vendor may use, vs. which ones I may use
|> > > (any administrator) such that I can expect in the future there will
|> > > never be any conflicts?
|> > >
|> >
|> > Yes, 0-99 are assigned by the distribution (with 0, of course, being root).
|>
|> Which was my understanding, then RH6.0 installed xfs as
|> UID 100 <sigh>
|>
|> ASAIK there is *no* standard for system UID and GID usage.
|>
|> We have Linux, FreeBSD, DEC, Sun and HP gear and finding
|> safe UID ranges is getting so difficult as to be silly.
|>
|
| Seems like an off-by-one error on their part. This probably is
| something for the LSB/FHS to take up.
It's more than just off by one.
Here's the /etc/passwd from a fresh RH 6.0 install of everything:
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:
daemon:x:2:2:daemon:/sbin:
adm:x:3:4:adm:/var/adm:
lp:x:4:7:lp:/var/spool/lpd:
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
mail:x:8:12:mail:/var/spool/mail:
news:x:9:13:news:/var/spool/news:
uucp:x:10:14:uucp:/var/spool/uucp:
operator:x:11:0:operator:/root:
games:x:12:100:games:/usr/games:
gopher:x:13:30:gopher:/usr/lib/gopher-data:
ftp:x:14:50:FTP User:/home/ftp:
nobody:x:99:99:Nobody:/:
xfs:x:100:102:X Font Server:/etc/X11/fs:/bin/false
gdm:x:42:42::/home/gdm:/bin/bash
postgres:x:101:233:PostgreSQL Server:/var/lib/pgsql:/bin/bash
squid:x:102:234::/var/spool/squid:/dev/null
and here is /etc/group:
root::0:root
bin::1:root,bin,daemon
daemon::2:root,bin,daemon
sys::3:root,bin,adm
adm::4:root,adm,daemon
tty::5:
disk::6:root
lp::7:daemon,lp
mem::8:
kmem::9:
wheel::10:root
mail::12:mail
news::13:news
uucp::14:uucp
man::15:
games::20:
gopher::30:
dip::40:
ftp::50:
nobody::99:
users::100:
utmp:x:101:
xfs:x:102:
floppy:x:19:
console:x:103:
gdm:x:42:
pppusers:x:230:
popusers:x:231:
slipusers:x:232:
postgres:x:233:
slocate:x:21:
squid:x:234:
What's silly is there are quite a number of UNUSED values below 100.
Further, if an application needs a dedicated uid and dedicated gid,
it would make sense to have them be the same value.
I assign all users their own distinct gid where gid==uid (eventually
I plan to write a tool to allow users to add other users to their own
group).
There question is what number can I start assigning uid/gid numbers
for staff and still put non-staff users in a separate range above.
I have been starting staff at 100 and users at 1000. Do I need to
make that be 1000 and 10000?
--
Phil Howard
[EMAIL PROTECTED]
[EMAIL PROTECTED]
------------------------------
Crossposted-To: alt.os.linux,comp.os.linux.advocacy,comp.os.misc,comp.unix.advocacy
From: [EMAIL PROTECTED] (Vladimir Z. Nuri)
Subject: Re: the ultimate OS
Date: Thu, 3 Jun 1999 17:25:06 GMT
Selious ([EMAIL PROTECTED]) wrote:
: You're idea is not very original. It is a logical outcome of a vision form a
: more experienced user. I am working (already have code running) on a object
: based OS (inspired by NDS, C++ and ActiveX (now I base on LDAP, Java and
: Corba, but that's because they are alternatives).
: How can I say this, without allowing denyal ??
denial? who is in denial? I acknowlege there are many
active development efforts going right now.
: Ehh, let's get back on you're progress in 6 months !!
I see, a passive bystander.
maybe I will inquire on YOUR progress in 6 months<g>
and be careful not to be influenced by what I wrote<g>
--
~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^
"in theory, there's no difference [EMAIL PROTECTED]
between theory and practice, mad genius research lab
but in practice there is!" http://www8.pair.com/mnajtiv/
------------------------------
From: Bob Hoekstra <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.ms-windows.nt.admin.misc,comp.sys.sun.admin,comp.sys.hp.misc,comp.os.linux.hardware
Subject: Re: Terabite Plus Filesystems
Date: Thu, 03 Jun 1999 20:09:49 +0200
gus wrote:
> Gene Heskett wrote:
> > ... IBM, SCO, and another that slips my mind, have made a
> > first port of Unix to the ia64(Merced)? Somewhat based on the AIX core
> > according to the half pager....
> AFAIK, Linux is ported to 64 bit architectures ...
>
> My understanding is that Linux will be on the Merced before NT ... ;-)
>
> gus
I suspect that Solaris will be there before NT as well. In any event, I douibt
that it will damage Linux much if it is on this platform later than NT. Let's
face it, there are very few applications where you *must* have a 64 bit OS.
Of far more interest is IBM's support of the Linux community and the
proclamation that they will be selling RS/6000 machines as well as high-end
PCs loaded with Linux :-)
The contents of this message express only the sender's opinion.
This message does not necessarily reflect the policy or views of
my employer, Merck & Co., Inc. All responsibility for the statements
made in this Usenet posting resides solely and completely with the
sender.
------------------------------
From: [EMAIL PROTECTED] (Paul D. Smith)
Crossposted-To:
comp.os.linux.development.apps,comp.os.linux.misc,comp.os.linux.setup,comp.lang.java.databases
Subject: Re: What are the differences between mySQL and mSQL?
Date: 03 Jun 1999 00:44:43 -0400
Reply-To: [EMAIL PROTECTED]
%% [EMAIL PROTECTED] (Philip Brown) writes:
pb> On 02 Jun 1999 10:56:17 -0400, [EMAIL PROTECTED] wrote:
f> Ruiming Chen wrote:
>> >> The Subject askes its all. Are they the same free database software
>> >> with two names? Or they are two different free database software?
>> >> Are they both run on Linux?
>> They are two different databases. Neither is 100% free. mSQL is
>> _significantly_ less than 100% free. MySQL is free for the large
>> majority of uses. They both run on Linux (and most other UNIX
>> platforms, as well as Windows).
pb> of course, if you have the disk space, sybase for linux is 100% free, last
pb> time I checked.
I'm talking about "free speech", not "free beer". MySQL is much more
free than Sybase, since it comes with complete source code, permission
to modify it, etc.
--
===============================================================================
Paul D. Smith <[EMAIL PROTECTED]> Network Management Development
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
===============================================================================
These are my opinions---Nortel Networks takes no responsibility for them.
------------------------------
Date: Thu, 03 Jun 1999 19:51:17 +0200
From: Marc Mutz <[EMAIL PROTECTED]>
Subject: Re: lifting limit of four md devices ind 2.2.x kernels?
Thanks. For those who want to now: it's parameter MD_MAX_DEV in
include/linux/md.h.
Marc Mutz
------------------------------
From: [EMAIL PROTECTED] (Paul Kimoto)
Crossposted-To: comp.os.linux.development.apps
Subject: Re: kernel vs egcs vs PentiumPro/II
Date: 3 Jun 1999 13:56:44 -0500
Reply-To: [EMAIL PROTECTED]
[c.o.l.d.s deleted from followups]
In article <7j6b49$9l0$[EMAIL PROTECTED]>, Matt Bartley wrote:
> gcc -v -Q -o hello hello.c
> [...]
> options passed:
> options enabled: -fpeephole -ffunction-cse -fkeep-static-consts
> -fpcc-struct-return -fcommon -fgnu-linker -fargument-alias -m80387
> -mhard-float -mno-soft-float -mieee-fp -mfp-ret-in-387 -mschedule-prologue
> -mcpu=i486 -march=pentium
>
> Aren't -mcpu=i486 and march=pentium mutually exclusive? This is on a
> Pentium MMX system with egcs-1.1.2.
The info pages would seem to indicate something like that.
The default -mcpu/-march options are probably set in your "specs" file
(in gcc-lib/i*86-*linux*/egcs-2.91.66).
--
Paul Kimoto <[EMAIL PROTECTED]>
------------------------------
Subject: Re: Compiling kernel w/ other than gcc
From: [EMAIL PROTECTED] (Pete Zaitcev)
Date: Thu, 03 Jun 1999 18:27:19 GMT
[EMAIL PROTECTED] (J.H.M. Dassen (Ray)) writes:
>William McBrine <[EMAIL PROTECTED]> wrote:
>>Just out of curiosity, has anyone here compiled a Linux kernel with
>>something other than gcc (or pgcc or egcs)?
>egcs is gcc (or rather, it will be, very soon; see http://egcs.cygnus.com/).
>The current Debian "unstable" systems has egcs 1.1.2 as the default C
>compiler. There have been no reports of kernel troubles with 2.2.x kernels
>caused by this choice of C compiler.
On the contrary, all egcs'es miscompile sparc kernel in places.
sparc64 suffers from that too but since all active developers hack
64 bit system, they work around that.
--Pete
------------------------------
From: "Al in Seattle" <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.ms-windows.nt.admin.misc,comp.sys.sun.admin,comp.sys.hp.misc,comp.os.linux.hardware
Subject: Re: Terabite Plus Filesystems
Date: Wed, 2 Jun 1999 21:37:52 -0700
Well after all the sh** that I have taken because I dared to stand up and
just *question* using NT versus Unix on this thread, I open up June 1999
WinNT mag and on page 78, is a story about NCSA using a 192 processor
cluster of off the shelf NT dual processor boxes, using off the shelf NT
SP3.
While I understand that this is not a terabite file system being used in it,
you Unix Bigots that have said that NT doesn't scale ought to at least read
the article. The person managing the system apparently has been very happy
with it. Considers it an unqualified success.
al in seattle (yes, it's close to Redmond, so what?)
------------------------------
From: "Stefan Monnier <[EMAIL PROTECTED]>"
<[EMAIL PROTECTED]>
Crossposted-To: comp.os.ms-windows.nt.admin.misc,comp.sys.sun.admin,comp.sys.hp.misc
Subject: Re: Terabite Plus Filesystems
Date: 03 Jun 1999 13:55:04 -0400
>>>>> "donaldlf" == donaldlf <[EMAIL PROTECTED]> writes:
> The total number of files in a directory can kill you. In nuclear
> stuff... I have seen 10k to 20k file counts in a machine destroy
> ALL performance. The filesystem MUST use a B-Tree to store
> filenames and the OS needs to be able to cache this.
At least the B-Tree part is partly untrue: it might indeed become slow,
but the workarounds are not that hard to setup (just split your one big
directory into a couple smaller ones: clever, hm?).
Now, I'm not saying that B-Trees as useless, just that if you end up needing
them, you can get similar benefit at a slight convenience cost.
Stefan
PS: yes, I know sometimes, the directory layout is out of your control.
But then, that's what you get from using software without its source.
------------------------------
From: "Stefan Monnier <[EMAIL PROTECTED]>"
<[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: NFS Lock Deamon for Linux. Is there one?
Date: 03 Jun 1999 14:00:14 -0400
>>>>> "David" == David Travers <[EMAIL PROTECTED]> writes:
> I am looking for program (rpc.lockd) that will allow file locking over a NFS
> link.
You need to use the kernel NFS daemon (knsfd, along with a 2.2 kernel).
Be warned that for some reason I ignore, the rpc.lockd daemon itself is
a kernel thread rather than a user-level program, so it appears on a
`ps' but it is not an executable and doesn't need to be started by the init.d
script (as opposed to rpc.statd).
Stefan
------------------------------
From: bryan <[EMAIL PROTECTED]>
Subject: Re: What are the differences between mySQL and mSQL?
Crossposted-To:
comp.os.linux.development.apps,comp.os.linux.misc,comp.os.linux.setup,comp.lang.java.databases
Date: Thu, 03 Jun 1999 19:02:13 GMT
In comp.os.linux.development.apps Jon Smirl <[EMAIL PROTECTED]> wrote:
: Don Baccus <[EMAIL PROTECTED]> wrote in message
: news:[EMAIL PROTECTED]...
: > Meanwhile, MySQL seems like a good choice if you don't
: > need the transaction model.
: > --
: You would have to be insane to implement any significant database app
: without transaction support.
not really. it depends on whether this is new development or porting
an existing model. for my work (snmp-based netmgt, saving polled and
topology info to sql) I simply don't need transactions. I know just
enough db stuff to get my work done but I'll admit I'm no sql guru.
maybe because of that is why I find that xactions are overkill and
extra fluff I can live without.
: I spent weeks trying to recover data out of an
: older non-transaction based system when the system failed. Transactions are
: critical to ensuring the integrity of your data.
again, depends on the app. when my poller gets data, it ALWAYS wants
to save to the db. and if I carve my pollers from separate
non-overlapping polled lists, there will NEVER be a collision and not
even any need for record locking. one writer, many readers. simple
model and mysql works just dandy for this.
: Apache also causes databases to be heavily multi-user even if they are
: running and the same machine with Apache. Each of Apache's multiple
: processes (there may be hundreds) looks like a separate user to the database
: engine. Transactions are a necessity for sorting this out.
again, like I said, with multiple writers contending for common
resources, yes you're right. for the "one writer, many readers" you
do NOT need xactions.
--
Bryan
------------------------------
From: Joe Pfeiffer <[EMAIL PROTECTED]>
Subject: Re: Linux Device Driver Overflow?
Date: 03 Jun 1999 13:07:00 -0600
"J�rgen Hermanrud Fjeld" <[EMAIL PROTECTED]> writes:
>
> After reading some material it is my impression that Minix has a rather
> flawfull implementation of the microkernel design.
That's probably a pretty gentle way to put it. It was probably a bit
of a cheap shot when I used it to point out that it doesn't provide
the protection advantages claimed for microkernels, but since its
author is one of the most vocal microkernel advocates...
> How does QNX compare with Linux?
> Doesn't QNX show that microkernel has potential, when implemented in a good
> manner?
> Does QNX implements drivers in user space, thus giving the protection that
> the microkernel design was thought to have?
I don't know anything about QNX, sorry.
> How about the the user space versus kernel space debate?
> What advantages do you see with either architecture?
Well, the obvious -- putting as much as possible in user space gives
better protection, putting it in kernel space gives fewer context
switches....
--
Joseph J. Pfeiffer, Jr., Ph.D. Phone -- (505) 646-1605
Department of Computer Science FAX -- (505) 646-1002
New Mexico State University http://www.cs.nmsu.edu/~pfeiffer
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list (and comp.os.linux.development.system) via:
Internet: [EMAIL PROTECTED]
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Development-System Digest
******************************