Linux-Development-Sys Digest #653, Volume #6 Mon, 26 Apr 99 19:13:46 EDT
Contents:
Re: NFS vs DFS ("G. Sumner Hayes")
inb, outb 2.0.35<->2.2.x (Jens Decker)
Change from gcc to egcs gives seg fault in make (Stefan Skopnik)
Re: Modprobe can't file module char-major-6... (Christopher Mahmood)
Re: Symbolic link and chroot (Andreas Schwab)
Re: ncurses: detecting ALT key?? (Andreas Schwab)
Re: physical Memory (Martin Recktenwald)
Re: Threads >> PThreads or LinuxThreads?? (Martin Recktenwald)
Kernel 2.2.6 and IP Aliasing (Irve Towers)
Re: NFS vs DFS ("G. Sumner Hayes")
how can i find CPU-type in the linux kernel? (lckun)
Re: Linux for CompactPCI BUS? (Tom Woelfel)
Re: how can i find CPU-type in the linux kernel? (James Stevenson)
Alan Cox Patch Summaries? (Robert Knop)
Why so long to mount big ext2 filesystems? (Robert Knop)
system inventory howto question (James R. Mashburn)
Get caller's address of a telnet connection (Francois Desarmenien)
Re: redhat 6.0? ("Bobby D. Bryant")
Re: Security issues (Bill Turner)
----------------------------------------------------------------------------
From: "G. Sumner Hayes" <[EMAIL PROTECTED]>
Subject: Re: NFS vs DFS
Date: Mon, 26 Apr 1999 04:09:54 -0400
[EMAIL PROTECTED] wrote:
>
> I would like to know the essential differences between
> Network File System and Distributed File System.
>
> NFS works by mounting remote file system ( exported by server)
> on client machines. Incremental modifications made in a shared file
> will not be visible across other clients.
>
> I think NFS doesn't support migration of file from one
> server/machine to other. Are there any othe primary differences. Could
> you list any true DFS implemenatations.
Well, I'm not an authority on this but nobody else seems to have
answered for several days so I'll give it a shot. Feel free to
correct me if I misspeak.
DFS is the filesystem used by OSF DCE. The design of DFS is based upon
that of AFS (Transarc, CMU, et al.). It is not as widely used as
either of those OSes, and AFAIK there are no open-source DFS
implementation. DCE never caught on in a big way, and is considered
dead by a lot of people. There are some large sites that continue to
use it, and it is still sold by several companies and advocated by
OSF's -- the Open (hah!) Software Foundation -- successor, the
Opengroup. I'd recommend against going with DCE or DFS unless you know
a fair amount about it and why you need it. You basically have to
have a DCE Kerberos setup and a number of other DCE facilities installed
and running in order to use DFS. That requires some dedicated servers.
It's also tricky to admin if you don't already know DCE
Transarc, IBM, and SGI all sell implementations of DCE/DFS. I'm sure
there are others.
Note that Microsoft has a distributed filesystem called dfs that is
not related to DFS -- there may also be DCE/DFS implementations
for Windows, I don't know.
Coda is another networked filesystem being developed at CMU (where AFS
originated). It's far cooler, and it's open source. With Windows,
Linux, and BSD support. But it's not reached a release state yet, so
isn't an option for serious use yet. It is independent of DCE. Coda
allows for disconnected use, local caching, etc.
AFS, DFS, and Coda are the only networked filesystems I am aware of that
are really designed as highly scalable, high-performance solutions. All
three use Kerberos for authentication and encryption.
For completeness I ought to mention Samba and CIFS, I guess. Samba
competes more in the NFS local-file-sharing category. I don't know much
about CIFS (from Novell), but I get the impression that it's at least
got a security mechanism.
It may be worth noting that when I was at CMU in 1995 they were
talking about moving to DFS; they seem to have found enough problems
with it that they're developing their own system (Coda) rather than
using it, though.
The Opengroup has DCE information (including DFS) at:
http://www.opengroup.org/tech/dce/
Transarc has white papers, including some covering AFS and DFS, at:
http://www.transarc.com/Library/whitepapers/index.html
Coda info is at:
http://coda.cs.cmu.edu
The Linux DCE FAQ is at:
http://jrr.ne.mediaone.net/FAQ/FAQ.html
Kerberos is at MIT somewhere on ftp.athena.mit.edu or similar.
It says there is no DFS implementation for Linux. It also claims that
DCE isn't dead, which is debatable. Also check:
http://www.bu.edu/~jrd/FreeDCE/ for an attempt at a complete
open-source DCE implementation.
There area two AFS clients for Linux; a real one from Transarc (and
alternatively Derrick Atkins at MIT), and Arla, a GPL'd implementation.
Coda support is included in Linux 2.2.
--Sumner
------------------------------
From: Jens Decker <[EMAIL PROTECTED]>
Subject: inb, outb 2.0.35<->2.2.x
Date: 26 Apr 1999 09:29:30 GMT
Hello!
Does someone know whether there is a significant
performance difference for inb(), outb() calls for
these kernels (and libc5 versus new one)? I have to
change bits with a z8536 interface chip which takes
about 1.9 us on my pentium 90 machine.
Jens Decker
___________________________________________________________
* Jens Decker, Uni Regensburg, Lehrst. Prof. Dick *
* Institut fuer Physikalische und Theoretische Chemie *
* Email: [EMAIL PROTECTED] *
* WWW : http://www-dick.chemie.uni-regensburg.de *
* http://www.fcho.schule.de *
___________________________________________________________
------------------------------
From: [EMAIL PROTECTED] (Stefan Skopnik)
Subject: Change from gcc to egcs gives seg fault in make
Date: 26 Apr 1999 09:35:26 GMT
Hi,
I updated from gcc 2.7.2 to egcs 1.1.? on my SuSe 6.1 system via rpm packages.
Now I get sporadic Segmentation faults from make when compiling the
kernel and other software packages.
I'm sure it worked before: I compiled a number of kernels successfully
with gcc.
Now I have to restart 'make bzImage' a dozend times before the kernel compile
is finished.
The errors definitly come from the make tool not the compiler
and mostly when make changed to another directory and restarts again
Any help ?
Stefan
------------------------------
From: Christopher Mahmood <[EMAIL PROTECTED]>
Subject: Re: Modprobe can't file module char-major-6...
Date: 25 Apr 1999 09:22:06 -0700
check your aliases for your modules. they should be in conf. modules or
modules.conf. make sure there's one like 'alias char-major-6 lp', then
modprobe it.
if it still doesn't work, just compile the bastard in. from the sound of the
kernel documentation, the module system seems to be going through a
pretty big change right now.
-ckm
------------------------------
From: Andreas Schwab <[EMAIL PROTECTED]>
Subject: Re: Symbolic link and chroot
Date: 26 Apr 1999 12:05:23 +0200
David Corredor Lacha <[EMAIL PROTECTED]> writes:
|> James Youngman wrote:
|> >
|> > David Corredor Lacha <[EMAIL PROTECTED]> writes:
|> >
|> > > Hi,
|> > >
|> > > How can I do a symbolic link into a chrooted directory?
|> >
|> > Just use "ln -s". It's symbolic links *out* of chroot() environments
|> > that are the problem.
|> >
|> Yes, my problem is how to do a symbolic link in a chroot
|> environment to a extern file. I see some times ago a library
|> to do it, but I don't remember where find it.
You can't. Symbolic links are always interpreted in the context of the
current process. Only hard links can refer to files outside the chroot
jail, if they were created before.
--
Andreas Schwab "And now for something
[EMAIL PROTECTED] completely different"
[EMAIL PROTECTED]
------------------------------
From: Andreas Schwab <[EMAIL PROTECTED]>
Subject: Re: ncurses: detecting ALT key??
Date: 26 Apr 1999 12:08:38 +0200
[EMAIL PROTECTED] (Chris Vine) writes:
|> On Mon, 19 Apr 1999 11:51:03 -0700, "Dan Miller" <[EMAIL PROTECTED]>
|> wrote:
|>
|> >Is there some way I can detect that the ALT key is pressed?? When I use
|> >getch(), Alt-<key> seems to return the same as <key> in most cases...
|> >I don't see any functions in ncurses for separately testing the state
|> >keys...
|> >???
|>
|> It normally returns 27 (escape character) followed by <key>
This works only for keys that emit a single character, not for funtion
keys. And it depends on the state of setmetamode.
--
Andreas Schwab "And now for something
[EMAIL PROTECTED] completely different"
[EMAIL PROTECTED]
------------------------------
From: Martin Recktenwald <[EMAIL PROTECTED]>
Subject: Re: physical Memory
Date: 26 Apr 1999 13:11:18 +0200
[EMAIL PROTECTED] (Robert Kaiser) writes:
> There is also Matt Walsh's "bigphysarea" patch which works similar
> to this. Sorry, no URL, but "bigphysarea" should be a significant
> enough search expression to find it with any of the popular search
> engines.
AFAIR the bt848 and the sound drivers in current linux versions use
DMA to user-space buffers. If they do there is no need for any kernel
patches.
bigphysarea's main usage is to provide large contiguous physical
memory areas, using it for DMAing small amounts of data to user space
seems unnecessary to me.
Martin.
--
Sign the petition against spam:
http://www.politik-digital.de/spam/
------------------------------
From: Martin Recktenwald <[EMAIL PROTECTED]>
Subject: Re: Threads >> PThreads or LinuxThreads??
Date: 26 Apr 1999 13:18:57 +0200
"G. Sumner Hayes" <[EMAIL PROTECTED]> writes:
> Not with current glibc and kernel if I understand correctly. (glibc
> 2.1 and linux 2.2) The LinuxThreads package in glibc2.1 uses its own
> signals is you are running a kernel that supports them.
>
> At least that's what I've heard. I haven't actually tested it -- please
> correct me if I'm wrong.
>
I heard the same but couldn't verify; on the linuxthreads-homepage it
still says SIGUSR1/2 is not usable and glibc2.1 is currently not
available.
Martin.
--
Sign the petition against spam:
http://www.politik-digital.de/spam/
------------------------------
From: [EMAIL PROTECTED] (Irve Towers)
Subject: Kernel 2.2.6 and IP Aliasing
Date: Mon, 26 Apr 1999 11:38:48 GMT
I just put up this kernel and the IP-Aliasing doesn't work. There is no
IP-Alias source in the ipv4 directory. The kernel config is set IP-Alias = Y
but nothing gets built. I no longer see the Net_Alias prompt in the config
either. Is something missing or am I missing?
Thanks
------------------------------
From: "G. Sumner Hayes" <[EMAIL PROTECTED]>
Subject: Re: NFS vs DFS
Date: Mon, 26 Apr 1999 03:57:07 -0400
[EMAIL PROTECTED] wrote:
>
> I would like to know the essential differences between
> Network File System and Distributed File System.
>
> NFS works by mounting remote file system ( exported by server)
> on client machines. Incremental modifications made in a shared file
> will not be visible across other clients.
>
> I think NFS doesn't support migration of file from one
> server/machine to other. Are there any othe primary differences. Could
> you list any true DFS implemenatations.
DFS is the filesystem used by OSF DCE. The design of DFS is based upon
that of AFS (Transarc, CMU, et al.). It is not as widely used as
either of those OSes, and AFAIK there are no open-source DFS
implementation. DCE never caught on in a big way, and is considered
dead by a lot of people. There are some large sites that continue to
use it, and it is still sold by several companies and advocated by
OSF's -- the Open (hah!) Software Foundation -- successor, the
Opengroup. I'd recommend against going with DCE or DFS unless you know
a fair amount about it and why you need it. You basically have to
have a DCE Kerberos setup and a number of other DCE facilities installed
and running in order to use DFS. That requires some dedicated servers
and can run big bucks. It's certainly tricky to admin if you don't
already know DCE and Kerberos.
Transarc, IBM, and SGI all sell implementations of DCE/DFS. I'm sure
there are others.
Coda is another networked filesystem being developed at CMU (where AFS
originated). It's far cooler, and it's open source. With Windows,
Linux, and BSD support. But it's not reached a release state yet, so
isn't an option for serious use yet. It requires Kerberos for secure
operation, but is independent of DCE.
It may be worth noting that when I was at CMU in 1995 they were
talking about moving to DFS; they seem to have found enough problems
with it that they're developing their own system (Coda) rather than
using it, though.
The Opengroup has DCE information (including DFS) at:
http://www.opengroup.org/tech/dce/
Transarc has white papers, including some covering AFS and DFS, at:
http://www.transarc.com/Library/whitepapers/index.html
Coda info is at:
http://coda.cs.cmu.edu
The Linux DCE FAQ is at:
http://jrr.ne.mediaone.net/FAQ/FAQ.html
Kerberos is at MIT somewhere on ftp.athena.mit.edu or similar.
It says there is no DFS implementation for Linux. It also claims that
DCE isn't dead, which is debatable. Also check:
http://www.bu.edu/~jrd/FreeDCE/
There area two AFS clients for Linux; a real one from Transarc (and
Derrick Atkins at MIT), and Arla, a GPL'd implementation. Coda support
is included in Linux 2.2.
--Sumner
------------------------------
From: lckun <[EMAIL PROTECTED]>
Subject: how can i find CPU-type in the linux kernel?
Date: Mon, 26 Apr 1999 23:00:54 +0900
Hi all..
I try to modify the linux kernel now for my studying..
How can i find CPU-Type in the linux kernel-2.0.36?
I can't find in the source where i write the function printk to output
for cpu-type in the kernel.
Thanks
lckun
------------------------------
From: Tom Woelfel <[EMAIL PROTECTED]>
Subject: Re: Linux for CompactPCI BUS?
Date: 26 Apr 1999 18:18:30 +0200
[EMAIL PROTECTED] (Bob Hauck) writes:
> > Does Linux Support Compact PCI bus?
>
> Yes. Compact PCI is (mostly) just PCI in a different form
> factor. The Compact PCI FAQ says that Linux will work and I
> have talked to at least one board vendor that confirmed this.
> But also AFAICT, Linux does not support the hot swap feature.
> But then, neither do any of the other popular PC operating
> systems.
Any links ?
Thanx,
Tom
------------------------------
From: [EMAIL PROTECTED] (James Stevenson)
Subject: Re: how can i find CPU-type in the linux kernel?
Reply-To: [EMAIL PROTECTED]
Date: Mon, 26 Apr 1999 18:12:57 +0100
Hi
if you have the procfs compiled into the kernel try
cat /proc/cpuinfo
On Mon, 26 Apr 1999 23:00:54 +0900, lckun <[EMAIL PROTECTED]> wrote:
>
>Hi all..
>
>I try to modify the linux kernel now for my studying..
>How can i find CPU-Type in the linux kernel-2.0.36?
>I can't find in the source where i write the function printk to output
>for cpu-type in the kernel.
>
>Thanks
>
>lckun
>
--
Check Out: http://www.users.zetnet.co.uk/james/
E-Mail: [EMAIL PROTECTED]
6:10pm up 5:13, 2 users, load average: 1.04, 1.10, 1.11
------------------------------
From: [EMAIL PROTECTED] (Robert Knop)
Subject: Alan Cox Patch Summaries?
Date: 26 Apr 1999 10:32:22 -0700
I know where to find 'em, I know how to apply 'em. However, is there
somewhere where I can find a summary of what is in the Alan Cox "ac" patches
to the 2.2.x kernels, without having to read through the whole diff file
myself?
Thanks,
-Rob
--
-=-=Rob [EMAIL PROTECTED]=-=http://www.ncal.verio.com/~rknop-=-=
Amiga PGP information at http://www.ncal.verio.com/~rknop/amiga_pgp.html
Visit the Dramatic Exchange at http://www.dramex.org
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
------------------------------
From: [EMAIL PROTECTED] (Robert Knop)
Subject: Why so long to mount big ext2 filesystems?
Date: 26 Apr 1999 11:12:15 -0700
I'm curious as to why it takes so long to mount a large ext2 filesystem. I
have a Linux box with several 18GB disks mounted on it. At boot-up, when
the disks are all being mounted, it takes something like 30 seconds to mount
each disk. What is happening during all this time? Is there any way to
speed it up?
Thanks,
-Rob
--
-=-=Rob [EMAIL PROTECTED]=-=http://www.ncal.verio.com/~rknop-=-=
Amiga PGP information at http://www.ncal.verio.com/~rknop/amiga_pgp.html
Visit the Dramatic Exchange at http://www.dramex.org
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
------------------------------
From: [EMAIL PROTECTED] (James R. Mashburn)
Subject: system inventory howto question
Date: Mon, 26 Apr 1999 18:58:43 GMT
Reply-To: [EMAIL PROTECTED]
I'm not sure where I should post this question. Hopefully you will
look over me this time if this is a cross post or off topic.
What I am looking for is information on how to query a pc and find out
what type of components are used. For example: the type, size, etc of
the hard drive, how much memory, bios type, mfgr name, model numbers,
etc.
Any help would be greatly appreciated.
TIA
Jim
------------------------------
From: Francois Desarmenien <[EMAIL PROTECTED]>
Subject: Get caller's address of a telnet connection
Date: Mon, 26 Apr 1999 17:48:56 +0000
I wonder if I there is a way to get the IP address of
the client which made a connection through telnet.
The problem is I'm in a running process and I know
it's through a telnet connection. At some point in the
process, I need to connect to a service on the system
that connected through telnet.
Can I get this information with the pseudo-tty I'm on ?
Does someone have any clues on how I could do that ?
--
Fran�ois D�sarm�nien
Membre de l'ACM <http://www.acm.org>
Membre de l'AFUL <http://www.aful.org>
================================
Hiroshima 45 - Tchernobyl 86 - Windows 98
================================
------------------------------
From: "Bobby D. Bryant" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy
Subject: Re: redhat 6.0?
Date: Mon, 26 Apr 1999 11:42:07 -0500
[EMAIL PROTECTED] wrote:
> Any word from RedHat when on the official release date for RedHat linux 6.0
> is going to be?
Earlybird Alert: Slashdot is reporting that it is already hitting the mirrors.
Bobby Bryant
Austin, Texas
------------------------------
From: Bill Turner <[EMAIL PROTECTED]>
Subject: Re: Security issues
Date: 26 Apr 1999 18:32:23 GMT
Here's a great posting from the Bugtraq list. Links & articles on "writing
secure code":
http://www.geek-girl.com/bugtraq/1998_4/0622.html
Michael Schuerig wrote:
>
>
> Most of the stuff on security I've seen is concerned with administrative
> issues, that I'm not particularly intersted in. Rather, I'd like to get
> an idea of the programming side of things: What do I have to do to
> ensure my programs aren't easily exploitable? Any pointers, where I can
> get started?
>
> Thanks,
> Michael
>
> --
> Michael Schuerig
> mailto:[EMAIL PROTECTED]
> http://www.schuerig.de/michael/
================== Posted via SearchLinux ==================
http://www.searchlinux.com
------------------------------
** 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
******************************