Linux-Misc Digest #708, Volume #27 Tue, 24 Apr 01 13:13:02 EDT
Contents:
Re: Can't get program to run from inetd ([EMAIL PROTECTED])
Re: how to write a backup script? (Vilmos Soti)
Re: disable telnet (Vilmos Soti)
chap-secrets for pptpd ("Tom Edelbrok")
enabling root group permissions ("Jeffrey J. Bacon")
clock: how to tell date it's localtime ("Jeffrey J. Bacon")
Re: default console font/resolution -- still need help ("Jeffrey J. Bacon")
Re: default console font/resolution ("Jeffrey J. Bacon")
Re: RAID question. (Lee Allen)
Re: how to limit resources used by users? (Calder)
Re: how to limit resources used by users? (Calder)
Re: ipchain setup ? (Calder)
Re: disable telnet ("FooSi")
Re: Tired of XEMACS, moving to VIM (Matthias Warkus)
buscando programadores en Mexico ("Wayne Lundberg")
Re: disable telnet (Vladimir Melnik)
[ Printer ] - Driver for HP950C ("root")
Re: Help with wu-ftpd ("Peter T. Breuer")
Re: enabling root group permissions ("Peter T. Breuer")
Re: input/output error (5) when copying files from cd to hard drive ("Peter T.
Breuer")
Re: clock: how to tell date it's localtime ("Peter T. Breuer")
Re: RAID question. ("Peter T. Breuer")
Re: switch between kde/gnome ??? (John Todd)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Can't get program to run from inetd
Date: 24 Apr 2001 15:06:10 GMT
> > 1. inetd runs daemons. Your program is not a daemon.
>
> AHEM... No. inetd is especially designed to run programs that use a TCP
> socket as stdin/stdout. A 'true' daemon is a program that is written to
> run without help from its parent process.
>
> > 2. Daemons run by inetd do not have access to a tty. Your program is
> > using stdin and stdout.
>
> See above. The program *does* have stdin/stdout. It has no tty, true,
> but it does not use tty explicitly.
>
> > 3. Your inetd.conf entry says that your program uses port 62010 but it
> > does not use any ports.
>
> Programs run from inetd do not manage the port themselves; that's what
> inetd is for.
So can you see anything that I am doing wrong? It's been driving me
mad!
Cheers,
Kingsley.
------------------------------
Crossposted-To: comp.os.linux,comp.os.linux.networking,comp.os.linux.questions
Subject: Re: how to write a backup script?
From: Vilmos Soti <[EMAIL PROTECTED]>
Date: Tue, 24 Apr 2001 15:07:07 GMT
[EMAIL PROTECTED] (Mike) writes:
> P.S. If you find out how to ftp via unix script, I would like to know.
Create a file called ~/.netrc and 600 as permission.
Here is a sample .netrc:
machine members.home.net login myloginname password mypassword
machine ftp.freesoftware.com login anonymous password [EMAIL PROTECTED]
macdef init
passive
bin
hash
prompt
cd /pub/linux/redhat/old-releases/redhat-6.0/i386/RedHat/RPMS
machine ftp.crc.ca login anonymous password [EMAIL PROTECTED]
macdef init
passive
bin
hash
prompt
cd /ftp/systems/linux/redhat/contrib.redhat.com/libc6/i386
default login anonymous password [EMAIL PROTECTED]
macdef init
passive
bin
hash
prompt
=====================================================
So the explanation. Of course, look at ftp(1).
> machine members.home.net login myloginname password mypassword
This defines my login to my isp. All I have to write at the shell
prompt is "ftp members.home.net" and ftp will automatically send
the loginname and password.
> machine ftp.freesoftware.com login anonymous password [EMAIL PROTECTED]
> macdef init
> passive
> bin
> hash
> prompt
> cd /pub/linux/redhat/old-releases/redhat-6.0/i386/RedHat/RPMS
Here I define an ftp login to ftp.freesoftware.com. When I define
"macdef init", then everything upto two newlines (empty line) will
be passed as commands. You can have any valid ftp commands here.
> default login anonymous password [EMAIL PROTECTED]
This defines anonymous ftp login to sites which are not mentioned
in ~/.netrc. This is a catch all line which will be used when I
login to a site which has no definition in ~/.netrc.
> macdef init
> passive
> bin
> hash
> prompt
This is also a catch all macdef which will be used for sites which
are not defined in ~/.netrc.
If you want to login to a site which is mentioned in your ~/.netrc
file but with different credentials, then use the use the "-n" switch
of ftp which disables auto-login.
Very important to realize that an empty line is used in ~/.netrc as
separator for different sites. Also, the last line in the file should
be an empty line.
This is one method I got used to it. There are others like shell
scripting which someone already mentioned.
Vilmos
PS. This message was heavily crossposted. I have no idea why this was
posted to security and X related news groups. I removed a couple.
------------------------------
Subject: Re: disable telnet
From: Vilmos Soti <[EMAIL PROTECTED]>
Date: Tue, 24 Apr 2001 15:11:48 GMT
"FooSi" <[EMAIL PROTECTED]> writes:
> How to disable telnet for some users but allow them to use ftp.
> I have changed the shell in passwd of those users to /dev/true or /dev/null
> but they can't use telnet and ftp.
> How to set in order to allow them to use ftp but not telnet?
> I am using rh7.1
check the man page for hosts.allow and hosts.deny.
Vilmos
------------------------------
From: "Tom Edelbrok" <[EMAIL PROTECTED]>
Subject: chap-secrets for pptpd
Date: Tue, 24 Apr 2001 15:21:39 GMT
I have just installed PoPToP and activated pptpd. I am setting up the
chap-secrets file and am wondering why you need to put in a windows domain
and username.
(ie: MYDOMAIN\\myusername)
If the objective of PoPToP is to have a VPN using PPTP then why does it need
to know anything about a windows domain? Why doesn't it just create
connectivity between a remote client and the local network via a Linux box?
If the local network is an IP network then the remote machine gets to exist
on it as an IP address, but this has nothing to do with Windows does it?
In fact I have a Windows network behind the Linux box (the Linux box is a
firewall running pptpd). But why should I have to tell POPTOP about it?
Thanks in advance,
Tom
------------------------------
From: "Jeffrey J. Bacon" <[EMAIL PROTECTED]>
Subject: enabling root group permissions
Date: Tue, 24 Apr 2001 15:32:09 GMT
I have a couple of users who are in my root users group (me included).
It's a pain to have to switch to root to run some of the basic task that
I need to do as an administrator. Some of the jobs and files that
systems services (like news, apache) use/own I have to be root to access
as the user group on the files is (for example) news/news.
How can I enable root group users to access files/programs that normally
you have to be root to access? (Anything major I can still keep on root
user only permissions but there's a lot of stuff I'd like to do with out
having to switch to root)
--
================================
Jeffrey Bacon
================================
Administrator, Breakfast.ca
Student, Carleton U.
Java Programmer, Extrordinaire!
================================
[EMAIL PROTECTED]
http://www.breakfast.ca/~jjbacon
------------------------------
From: "Jeffrey J. Bacon" <[EMAIL PROTECTED]>
Subject: clock: how to tell date it's localtime
Date: Tue, 24 Apr 2001 15:32:10 GMT
my hardware clock is set to my localtime but the date program brings it
up -5 hours (I'm in eastern time zone). How do I get my system to know
the correct time? Logs all have wrong times on too.
--
================================
Jeffrey Bacon
================================
Administrator, Breakfast.ca
Student, Carleton U.
Java Programmer, Extrordinaire!
================================
[EMAIL PROTECTED]
http://www.breakfast.ca/~jjbacon
------------------------------
From: "Jeffrey J. Bacon" <[EMAIL PROTECTED]>
Subject: Re: default console font/resolution -- still need help
Date: Tue, 24 Apr 2001 15:32:10 GMT
ok I want to set in lilo.conf:
vga = 9
which is the mode I choose after running vga=ask and typing 'scan'.
When I try that, it brings up the prompt again to select mode, why???
Dances With Crows wrote:
>
> On Tue, 24 Apr 2001 02:46:04 GMT, Jeffrey J. Bacon staggered into the
> Black Sun and said:
> >is there somewhere that I can change the default font and resolution of
> >my console windows? the default font/resolution is huge and I only need
> >it half that size.
>
> By "console", I think you must mean "text console" and not "xterm or
> konsole or eterm". So,
>
> LILO: linux vga=ask
>
> and choose one that seems appropriate. Once you know the mode you want,
> you can make it permanent with the appropriate addition to
> /etc/lilo.conf . Or read /usr/src/linux/Documentation/fb/vesafb.txt and
> do what it says if you desire a bootup penguin logo at the cost of some
> slowdown.
>
> --
> Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
> Brainbench MVP for Linux Admin / Workin' in a code mine, hittin' Ctrl-Alt
> http://www.brainbench.com / Workin' in a code mine, whoops!
> -----------------------------/ I hit a seg fault....
--
================================
Jeffrey Bacon
================================
Administrator, Breakfast.ca
Student, Carleton U.
Java Programmer, Extrordinaire!
================================
[EMAIL PROTECTED]
http://www.breakfast.ca/~jjbacon
------------------------------
From: "Jeffrey J. Bacon" <[EMAIL PROTECTED]>
Subject: Re: default console font/resolution
Date: Tue, 24 Apr 2001 15:32:10 GMT
scratch that, I forgot to run 'lilo' again.
now it says undefined mode number. how do I get default access to the
modes shown after I type 'scan' ?
Dances With Crows wrote:
>
> On Tue, 24 Apr 2001 02:46:04 GMT, Jeffrey J. Bacon staggered into the
> Black Sun and said:
> >is there somewhere that I can change the default font and resolution of
> >my console windows? the default font/resolution is huge and I only need
> >it half that size.
>
> By "console", I think you must mean "text console" and not "xterm or
> konsole or eterm". So,
>
> LILO: linux vga=ask
>
> and choose one that seems appropriate. Once you know the mode you want,
> you can make it permanent with the appropriate addition to
> /etc/lilo.conf . Or read /usr/src/linux/Documentation/fb/vesafb.txt and
> do what it says if you desire a bootup penguin logo at the cost of some
> slowdown.
>
> --
> Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
> Brainbench MVP for Linux Admin / Workin' in a code mine, hittin' Ctrl-Alt
> http://www.brainbench.com / Workin' in a code mine, whoops!
> -----------------------------/ I hit a seg fault....
--
================================
Jeffrey Bacon
================================
Administrator, Breakfast.ca
Student, Carleton U.
Java Programmer, Extrordinaire!
================================
[EMAIL PROTECTED]
http://www.breakfast.ca/~jjbacon
------------------------------
From: [EMAIL PROTECTED] (Lee Allen)
Crossposted-To: alt.windows98
Subject: Re: RAID question.
Reply-To: [EMAIL PROTECTED]
Date: Tue, 24 Apr 2001 15:45:10 GMT
On Mon, 23 Apr 2001 10:45:04 -0600, "Steve Wolfe" <[EMAIL PROTECTED]>
wrote:
>> 1. RAID doesn't improve performance, it degrades it.
>
> What? Common sense, practical experience, and benchmarks all prove that
>wrong.
I'll match my common sense and practical experience against yours.
>> Some forms of RAID provide redundancy at the cost of performance, some
>> increase size by combining disk drives, which has no effect on
>> performance.
>
> I think that you're totally confused. You're thinking of the hacks that
>simply start writing at the first of one disk, fill it up, then start on the
>second disk. That is not how most RAID arrays work.
It's not a 'hack', its RAID-0, and if your application requires a
database of 100GB and you have only 30GB disks available, this is the
way you are going to store your database.
>In a RAID 0 array,
>when you write your data, it is split up and parts are written across all of
>the disks. When you go to read that, since the drives are working in
>parallel, there is a higher throughput than a single drive.
You have to access all N drives to read one byte of data. The
resulting access time is the longest access of all of the drives --
the drive that has to move the head furthest, and spin the disk the
farthest, to reach the data.
Writes are even worse, but in the case of hardware RAID, the
controller does this in background, which means the CPU doesn't wait
for it (good), but I find that scary from a reliability standpoint.
But none of those technical issues are as relevant as this:
If you (like the original poster) have a system with 2 drives, you
have a choice between deploying those drives independently, or as a
RAID array. If you configure the disks in RAID-1 (mirroring), your
read and write access will be almost exactly the same as a single
disk.
If you are really interested in performance, you would configure the
disks independently, putting separate filesystems on each disk. You
would allocate those filesystems among the 2 disks to balance the load
(disk access) on the two drives. As a result, you can conceivably
double the thruput of the disk drives, because the disk accesses on
the two drives can be done in parallel.
So: Given hardware configuration X, and a choice of configuring the
available disk drives in non-RAID or RAID, RAID will be slower.
You are propogating one of the myths of RAID, which is to compare the
performance of a single-disk non-RAID system, with a multi-disk RAID
system.
> The one area where performance can suffer is in writing data under
>certain RAID levels. Under RAID 1, there is a small performance hit in
>writing. In RAID 5, there is a bigger hit, as checksums must be computed.
>A lot of people will say "write performance sux under raid 5, dude!", but in
>my experience, that's not true. Even a relatively small SCSI RAID array can
>*write* significantly faster than a good IDE drive can *read*. While it's
>not as fast as it would be under RAID 0, that's still pretty good write
>performance.
Well sure an array of fast SCSI disks can write faster than a bunch of
IDE disks. But again: if you have a hardware configuration containing
multiple disks -- IDE or SCSI -- you have a choice between using them
in non-RAID or RAID mode. If you use them in RAID mode your writes
and reads will be slower because ALL of the drives are required for
EVERY activity. If you were to use that same array in non-RAID mode,
and you allocated your filesystems for overlapped I/O, you would
obtain much better performance.
And that's without addressing the CPU load involved in software RAID.
-Lee Allen
------------------------------
From: Calder <[EMAIL PROTECTED]>
Subject: Re: how to limit resources used by users?
Date: Tue, 24 Apr 2001 15:37:49 +0200
Markku Kolkka <[EMAIL PROTECTED]> wrote:
>Calder <[EMAIL PROTECTED]> writes:
>> Hello,
>> How can I limit a CPU time and amount of memory used by single user on a linux
>> server? I don't want it to be stuck by some zealous young experimentators ;-)
>> Can someone guide me where I should look for information about this matter?
>
>See the bash shell reference manual, look for builtin command "ulimit"
Thank you very much! This is what I've been looking for :)
--
*****************************
Calder
*****************************
E-MAIL : [EMAIL PROTECTED]
ICQ UIN : 4246387
*****************************
------------------------------
From: Calder <[EMAIL PROTECTED]>
Subject: Re: how to limit resources used by users?
Date: Tue, 24 Apr 2001 15:38:33 +0200
"Anonymous" <[EMAIL PROTECTED]> wrote:
>type: man nice
Thank you for your advice, but nice's abilities are very limited as far as I
can see :(
Thanks anyhow!
--
*****************************
Calder
*****************************
E-MAIL : [EMAIL PROTECTED]
ICQ UIN : 4246387
*****************************
------------------------------
From: Calder <[EMAIL PROTECTED]>
Subject: Re: ipchain setup ?
Date: Tue, 24 Apr 2001 15:41:03 +0200
Eric Chow <[EMAIL PROTECTED]> wrote:
>(...)
>I want to use ICQ, Telnet, FTP, NetMeeting, SMTP/POP3, etc,... Would you please to
>give me a setup sample for IPCHAINS ?
Hi,
I would suggest something like this:
At the beginning set up a DENY policy for any packets coming in and out through
the server:
ipchains -P input -j DENY
ipchains -P output -j DENY
Then allow the packets you want to go through, for example ftp (port 21 as far
as I rember):
ipchains -A input -s 0/0 -d 192.168.0.1 21 -p TCP -j ACCEPT
It means that TCP packets (-p TCP) coming from any IP (-s 0/0) can go to the
computer which has the address 192.168.0.1.
Now you want to allow www browsing (port 80) only from www.microsoft.com ;-) for
all the computers in your network:
ipchains -A input -s www.microsoft.com -d 0/0 80 -p TCP -j ACCEPT
You want also your ftp server to be seen from the outside world for anybody:
ipchains -A output -s ftp.mydomain.org -d 0/0 21 -p TCP -j ACCEPT
You can of course set the policy to ACCEPT:
ipchains -P input -j ACCEPT
ipchains -P output -j ACCEPT
And then block certain services or ports individually. For more information
find and read IPCHAINS-HOWTO.
Remember, that chains are executed in order of appearance ;-) so for example if
you want block ftp for everyone except 192.168.0.1 you have to do it in
following order:
ipchains -s 0/0 -d 192.168.0.1 21 -p TCP -j ACCEPT
ipchains -s 0/0 -d 0/0 21 -p TCP -j DENY
If you change the order the computer 192.168.0.1 will not be able to establish
any ftp connection.
Good luck to you!
--
*****************************
Calder
*****************************
E-MAIL : [EMAIL PROTECTED]
ICQ UIN : 4246387
*****************************
------------------------------
From: "FooSi" <[EMAIL PROTECTED]>
Subject: Re: disable telnet
Date: Tue, 24 Apr 2001 23:21:02 +0800
yes... but I want some users can use telnet and some users can't..
That's there are two groups
group1: they can use both telnet and ftp
group2: they can only use ftp
"Jeffrey J. Bacon" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó
news:[EMAIL PROTECTED]...
> why not just block port 22 (telnet) with iptables? i don't know the
> syntax of the command you need to type but there is doc on the net. Try
> searching for iptables on Google.
>
> FooSi wrote:
> >
> > How to disable telnet for some users but allow them to use ftp.
> > I have changed the shell in passwd of those users to /dev/true or
/dev/null
> > but they can't use telnet and ftp.
> > How to set in order to allow them to use ftp but not telnet?
> > I am using rh7.1
> >
> > Thanks..
>
> --
> ================================
> Jeffrey Bacon
> ================================
> Administrator, Breakfast.ca
> Student, Carleton U.
> Java Programmer, Extrordinaire!
> --------------------------------
> [EMAIL PROTECTED]
> http://www.breakfast.ca/~jjbacon
------------------------------
From: [EMAIL PROTECTED] (Matthias Warkus)
Crossposted-To:
gnu.emacs.help,alt.religions.vim,alt.religion.emacs,fj.editor.vi,comp.os.linux.advocacy
Subject: Re: Tired of XEMACS, moving to VIM
Date: Tue, 24 Apr 2001 01:35:30 +0000
Reply-To: [EMAIL PROTECTED]
It was the Mon, 23 Apr 2001 15:56:30 -0400...
...and Aaron R. Kulkis <[EMAIL PROTECTED]> wrote:
> magnetic disks are for weenies.
>
> real men use punch cards.
Real men use signatures no longer than four lines. You obviously not
being a real man I could now proceed to adressing you with "Miss
Kulkis" in the future, but that would be an insult to the female sex.
mawa
--
Around the corner lives a hacker with a terminal
And on his Web page is a PNG of RMS
He likes to keep his Sun workstation clean
It's a clean machine...
------------------------------
From: "Wayne Lundberg" <[EMAIL PROTECTED]>
Subject: buscando programadores en Mexico
Date: Tue, 24 Apr 2001 16:23:43 GMT
Seguimos buscando programadores en Linux en Mexico para proyectos de venta
en dolares en eeuu.
Wayne
--
http://www.superfactory.com/Resources/experts.htm
------------------------------
From: Vladimir Melnik <[EMAIL PROTECTED]>
Subject: Re: disable telnet
Date: Tue, 24 Apr 2001 16:24:28 +0000 (UTC)
FooSi <[EMAIL PROTECTED]> wrote:
F> How to disable telnet for some users but allow them to use ftp.
F> I have changed the shell in passwd of those users to /dev/true or /dev/null
F> but they can't use telnet and ftp.
Because you didn't add /dev/true or /dev/null into your /etc/shells.
man 5 shells
F> How to set in order to allow them to use ftp but not telnet?
F> I am using rh7.1
--
V.Melnik
------------------------------
From: "root" <[EMAIL PROTECTED]>
Subject: [ Printer ] - Driver for HP950C
Date: Tue, 24 Apr 2001 18:41:13 +0200
Hi,
I have a HP950C printer and i'm looking for a driver for RedHat 7.0 !
Any idea ?
Minh
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Help with wu-ftpd
Date: Tue, 24 Apr 2001 13:40:43 +0200
ironman <[EMAIL PROTECTED]> wrote:
> But !!!!!!!! Wu-ftpd is going to kill me I am sure. I have read various
> things and the how to's that I can find and I am sure I have followed the
> right path to achieve an operational server. The server is running, the
If it doesn't work, you can be sure you haven't. Approach it from that
perspective.
> hosts, ftpaccess ftpusers etc etc etc files all seem to have the right
Be specific. We can't tell you what's wrong with what you have done
until you tell us what you have done.
> things in them yet when i ftp localhost I get a 421 error. Any suggestions
421 error? What's that? Please cut and paste the error here. That's the
first step in anyone being able to diagnose your problem.
> would be greatly appreciated. A really dumbass's step by step guide ( as in
> type this, click here, save this, run that ) to set up a simple user access
Just do what the manpage says. Works for me!
> would result in me making all your dreams come true and raising your status
> to absolute legend :))))
> I know, read the man and how to's, I have and I am a windows user, I'm used
Check these points from the manpage (it's all that's required if you
have the server installed and enabled):
Ftpd authenticates users according to four rules.
1) The user name must be in the password data base,
/etc/passwd, or whatever is appropriate for the
operating system, and the password must not be
null. In this case a password must be provided by
the client before any file operations may be per
formed.
2) The user name must not appear in the file
/etc/ftpusers.
3) The user must have a standard shell returned by
getusershell(3).
(i.e. it must be listed in /etc/shells)
4) If the user name is `nonymous'' or ``ftp'', an
anonymous ftp account must be present in the pass
word file (user ``ftp''). In this case the user is
allowed to log in by specifying any password (by
convention this is given as the client host's
name).
(and the ftp account's home directory must also exist, and contain the
things mentioned below here in the manpage).
Please cut and paste the data that shows that you have complied.
But FIRST I would need to know that you had enabled the server in
hosts.deny, hosts.allow, inetd.conf (or xinetd, if appropriate)
in the generic way.
Peter
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: enabling root group permissions
Date: Tue, 24 Apr 2001 18:06:24 +0200
Jeffrey J. Bacon <[EMAIL PROTECTED]> wrote:
> I have a couple of users who are in my root users group (me included).
> It's a pain to have to switch to root to run some of the basic task that
man sudo
Peter
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: input/output error (5) when copying files from cd to hard drive
Date: Tue, 24 Apr 2001 18:05:48 +0200
stevek <skortjohnatmetrolinkdotnet> wrote:
> I am almost totally new to linux, and am using redhat7. Anyway,.. I have
> put some files on CDs (tars, rpms, bz2s, etc) using adaptec direct cd on an
> nt4 machine. Used the same setup to burn iso for install. No problem with
> the process of doing this. However, when I put this cd in my linux box,
> some times when I try to copy a file (tar, rpm, bin, etc) from the cd to the
> hard drive, I get an error (input/output error 5), and am offered ignore,
> retry, or skip. If instead, I untar the file then put the individual
> file/directories on the cd and then later try to copy to the linux hard
> drive, it succeeds.
> any thoughts are appreciated,
Please turn off ASCII mode when storing BINARY files!
Peter
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: clock: how to tell date it's localtime
Date: Tue, 24 Apr 2001 18:08:19 +0200
Jeffrey J. Bacon <[EMAIL PROTECTED]> wrote:
> my hardware clock is set to my localtime but the date program brings it
That's an error. Set it to UTC.
> up -5 hours (I'm in eastern time zone). How do I get my system to know
No it doesn't. Date does not touch the hardware clock. It changes the
system clock (a software artifact).
> the correct time? Logs all have wrong times on too.
Use date. The man page will tell you all you need to know. There is no
mystery.
Peter
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To: alt.windows98
Subject: Re: RAID question.
Date: Tue, 24 Apr 2001 18:03:42 +0200
In comp.os.linux.misc Lee Allen <[EMAIL PROTECTED]> wrote:
> On Mon, 23 Apr 2001 10:45:04 -0600, "Steve Wolfe" <[EMAIL PROTECTED]>
> wrote:
> I'll match my common sense and practical experience against yours.
Fortunately for the world, you are wrong.
[attribute lost, sorry]
>>In a RAID 0 array,
>>when you write your data, it is split up and parts are written across all of
>>the disks. When you go to read that, since the drives are working in
>>parallel, there is a higher throughput than a single drive.
> You have to access all N drives to read one byte of data. The
No. You have to access one disk to access one byte of data. The one on
which that byte is on.
> resulting access time is the longest access of all of the drives --
You are an idiot. I was about to post benchmarks from a raid0 pair of
two identical scsi disks, one BM from a raid0 partition across both disks,
and one from one of the disks alone, but I don't think I will! You
clearly don't merit the effort.
> the drive that has to move the head furthest, and spin the disk the
> farthest, to reach the data.
Ha!
If you are interested, a raid0 disk pair runs about 60% faster on
write, and about 40% faster on read. This is a lot less than I would
have expected on read, and more than I would have expected on write.
That is under bonnie benchmarks (200MB test, 128MB ram machine).
Peter
------------------------------
From: [EMAIL PROTECTED] (John Todd)
Subject: Re: switch between kde/gnome ???
Date: 24 Apr 2001 16:07:53 GMT
Pop up a terminal, type switchdesk<enter> ,
and follow instructions...
On Tue, 24 Apr 2001 14:43:52 GMT, Jeffrey J. Bacon
<[EMAIL PROTECTED]> wrote:
>how do I switch my Xwindow system from kde -> gnome or the reverse?
>--
>================================
>Jeffrey Bacon
>================================
>Administrator, Breakfast.ca
>Student, Carleton U.
>Java Programmer, Extrordinaire!
>--------------------------------
>[EMAIL PROTECTED]
>http://www.breakfast.ca/~jjbacon
--
John E. Todd [EMAIL PROTECTED]
Internet for All!
------------------------------
** 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 by posting to comp.os.linux.misc.
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-Misc Digest
******************************