Linux-Misc Digest #309, Volume #20               Sun, 23 May 99 03:13:31 EDT

Contents:
  Re: Linux or linux? (Darren Spiteri)
  Re: Benchmarking a file system. (Seth Van Oort)
  Re: Mindcraft may be partly right about Apache (Jim Richardson)
  Re: SETI comparisons (Tim Sutherland)
  Re: Silly Question (Tim Sutherland)
  Re: Linux or linux? (eloki)
  Re: A Capitalists view of freedom (Peter Seebach)
  File permissions on Linux (java servlets) (Zach Bagnall)
  Re: prevent detection of 2nd HD (James Daniels)
  Re: Can't communicate through 2nd NIC ("Andrey Smirnov")
  Re: AutoInstall is for experts, not beginners!!! ([EMAIL PROTECTED])
  Re: FTP with Resume feature? (Vilmos Soti)
  There is something wrong with the clock on your computer or on your NNTP servier 
because your post has the time and date of: Wed, 22 Sep 1999 20:41:52 -0500 (DGH)
  What-to-do's when updating software (TonyC)
  Re: WordPerfect 8 & Printers (John Hong)

----------------------------------------------------------------------------

From: [EMAIL PROTECTED] (Darren Spiteri)
Crossposted-To: aus.computers.linux
Subject: Re: Linux or linux?
Date: Sat, 22 May 1999 20:39:14 +1000

In aus.computers.linux ENTERforNone <[EMAIL PROTECTED]> wrote:
> The GNU is not there because of who wrote the utilities, it is there
> to make people aware of the philosophy behind a copylefted operating
> system.  The recent comercialisation of Linux has made a lot of people
> forget that the most important feature of GNU/Linux is its freedom.

Stallman is the man who has made this so. Thanks to him I can build my
software on whatever platform I choose, Linux, Hurd, Solaris, the list goes
on. We aren't just free from proprietary vendors, we're free to choose the
hardware and OS we base our systems around. I use Debian because it follows
the FSF ideal and badges itself appropriately.
-- 
+-\___  ___  ______   __ __/=\=/=\=/=\=/=\=/=\=/=\=/=\=/=\=/=\=/=\=/=\-+
: / __)| _ \||_   _| /__/_/  NOTE: Above email address is fictitious.  :
|:__  \:  _:: :: :   @# '') "Bunch of savages in this town..." - Dante |
`(____/|_|><|_||_|><><\__3- - -*(at)hempseed(dot)com><><><><><><><><><>'

------------------------------

From: Seth Van Oort <[EMAIL PROTECTED]>
Subject: Re: Benchmarking a file system.
Date: Sat, 22 May 1999 23:05:59 -0500

Go to lxr.linux.no/source. It makes finding stuff easy.

Seth

Vijay Boyapati wrote:
> 
> Hi guys,
> 
> I want to bench mark the performance of a file system (minix). I
> basically want to keep track of how many times certain functions get
> called (and how much total time they take) --- ie the inode_operations
> defined in file.c in the /minix directory under /usr/src/fs.
> 
> I want these statistics to be available in a file in /proc for viewing
> on demand.
> 
> My problem is: How can you determine when an inode_operation is called.
> My idea was to redefine all the inode_operations (in the
> inode_operations structure in file.c) to point to functions I define and
> have those functions call the actual inode_operations (so I can do the
> benchmarking in between).
> 
> The problem I am having is that not all the inode_operations are defined
> (they are NULL) meaning that they default to some default
> inode_operation defined somewhere in /fs. My question is, how do I find
> out where these default operations are. I don't really know which file
> to look in. If I cant find them then I can't get my functions to call
> the appropriate inode_operation, cause I don't know their name!.
> 
> Hope this makes sense.
> 
> thanks in advance,
> 
> Vij.
> 
> please forward any reply to [EMAIL PROTECTED]

------------------------------

From: [EMAIL PROTECTED] (Jim Richardson)
Subject: Re: Mindcraft may be partly right about Apache
Date: 23 May 1999 04:25:21 GMT
Reply-To: [EMAIL PROTECTED]

On Sat, 22 May 1999 12:15:38 GMT, 
 Dave Seyster, in the persona of <[EMAIL PROTECTED]>,
 brought forth the following words...:

>On 22 May 1999 01:14:34 GMT, Cameron Spitzer <[EMAIL PROTECTED]> wrote:
>>
>>It reflects well on the Apache team that they have not gone
>>benchmark-happy and put in an rDNS cache to look better in a
>>configuration that will only ever be used by people who care nothing
>>about server performance, people who want to make Apache look bad in a
>>benchmark, and idiots.  It is to Mindcraft's shame that they cooked the
>>benchmark with this old trick.  I'm surprised that for all the gnashing
>>of teeth about it in this newsgroup that nobody has pointed this out.
>
>
>If you were to do a Deja News lookup on this subject, you would find
>that this particular misconfiguration was pointed out almost from day
>one of this "Mind(less)craft" benchmark report. This is not news.
>
>Dave Seyster

Linux today is showing an article on Apache, saying that the apache dudes
have found three flaws or non-optimizations in the linux kernel code, which
when fixed, give apache a 3-4X boost in performance. IOW, M$ fud and the
mindcraft tests have exposed problems in linux... which have been fixed. M$
spent $$$ to tell us where to improve linux. Great!, I hope they keep this up!



-- 
Jim Richardson
        www.eskimo.com/~warlock
All hail Eris
"Linux, where do you want to go tomorrow?"


------------------------------

From: [EMAIL PROTECTED] (Tim Sutherland)
Subject: Re: SETI comparisons
Date: 23 May 1999 04:12:43 GMT

In article <[EMAIL PROTECTED]>, Fred Kuipers wrote:
>However, every attempt to redirect the output results in a 0-byte file as if 
>it's offended with the idea.  Here's what I tried:
>
>./setidirect > setilog
>
>And all I get is a 0 -byte file...  Any suggestions or could it be a bug??

It's probably writing the output to stderr, not stdout. Try
./setidirect &> setilog

to redirect both stdout and stderr. This assumes bash.

-- 
That, that is, is.
That, that is not, is not.
That, that is, is not that, that is not.
That, that is not, is not that, that is.

------------------------------

From: [EMAIL PROTECTED] (Tim Sutherland)
Subject: Re: Silly Question
Date: 23 May 1999 04:12:45 GMT

In article <7ht8h3$k3g$[EMAIL PROTECTED]>, John Hong wrote:
>       Which one of the dist's is the best at upgrading?

Debian, without a doubt.

apt-get update
apt-get dist-upgrade

-- 
Excusing bad programming is a shooting offence, no matter _what_ the
circumstances.
        -- Linus Torvalds, to the linux-kernel list

------------------------------

From: [EMAIL PROTECTED] (eloki)
Crossposted-To: aus.computers.linux
Subject: Re: Linux or linux?
Date: 23 May 1999 04:10:43 GMT

Brodo <[EMAIL PROTECTED]> wrote unto us:

>        People need to get out of user-land for a minute and remember what
>this is all about.  Maybe nexttime your dad asks 'but I don't understand, why
>do they do it all for nothing?', you'll be able to answer.

  Well I know what the GPL is, and I don't need to call it "GNU/Linux" to be
able to explain it to someone else.  Maybe some people do, but I find it
quite possible to make other people "get" free software without calling it
that...

>    If your computer booted the Hurd kernel (when it's done) or some other
>kernel one day running Metro-X you probably wouldn't even notice.

  Do you also think that if my computer booted Windows 9x with a port of
Metro-X running on it instead of explorer, I wouldn't notice? :)

>Most commercial Unices have little GNU stuff in them off the CD. These
>Symantec/Windows analogies etc, demonstrate a total ignorance of the way it
>works.

  Well, how so?  It's easy to just dismiss it out of hand if you don't
justify your claim.  (I'm aware that commercial Unices don't usually have
much GNU software with them.)

>        I think people should glow with idealism at the opportunity of
>being able to say GNU/Linux whereever appropriate.

  I'm sure there are many people who are very idealistic and evangelistic
regarding free software and yet who don't feel that Linux needs to be called
GNU/Linux.  Seems to me you're cheapening their stance by implying that if
they don't think it's GNU/Linux then they're not a True Believer(tm).



-- 
    eloki
eloki/at/zip.com.au

Dare I disturb the universe?  You bet I do! :)

------------------------------

Crossposted-To: comp.os.ms-windows.advocacy,comp.os.linux.advocacy,gnu.misc.discuss
Subject: Re: A Capitalists view of freedom
From: [EMAIL PROTECTED] (Peter Seebach)
Date: Sun, 23 May 1999 05:31:51 GMT

In article <[EMAIL PROTECTED]>,
Jeffrey C. Dege <[EMAIL PROTECTED]> wrote:
>How do we count instances were the potential perpetrator simply decides
>not to attempt a crime because of the possibility that the victim is
>armed?  Answer: we can't.  But I, at least, would consider it a valid
>defensive use of a gun.

Actually, there's a number of ways you can try to count this, but you'll have
to settle for estimates.  Lott's book goes into this somewhat...

-s
-- 
Copyright 1999, All rights reserved.  Peter Seebach / [EMAIL PROTECTED]
C/Unix wizard, Pro-commerce radical, Spam fighter.  Boycott Spamazon!
Will work for interesting hardware.  http://www.plethora.net/~seebs/
Visit my new ISP <URL:http://www.plethora.net/> --- More Net, Less Spam!

------------------------------

From: Zach Bagnall <[EMAIL PROTECTED]>
Crossposted-To: 
comp.lang.java.programmer,comp.lang.java.security,comp.lang.java.help,comp.os.linux.security,comp.os.linux.development.apps
Subject: File permissions on Linux (java servlets)
Date: Sun, 23 May 1999 17:25:21 +1200

Hi All. Can someone please explain how java works with file
permissions on Linux? I am using JDK1.2pre-v1 from Blackdown.
                     
I have a servlet running on Jserv on Apache. Jserv is set to start
automatically. Apache (& Jserv) are running as user nobody.
                     
Ideally I want linux users to ftp in (not anonymous) and upload
files. Then I want them to be able to log in to the servlet and
have process those files (involves moving the files, scaling
images, writing new files, database writes).

But no matter what I do I can't get the servlet to recognise
the files with canRead() or even isFile(). I've tried setting
the directories with

chmod -R 777 *
chown -R nobody *
chgrp -R nobody *
                     
but still it can't access them.
                     
What permissions/owner/group should I put on the users and
their home directories to allow this to work? Do I need to
run JServ as a different user/group maybe?
                     
Any help greatly appreciated!
                     
Zach.

------------------------------

From: James Daniels <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.misc,alt.uu.comp.os.linux.questions,uk.comp.os.linux
Subject: Re: prevent detection of 2nd HD
Date: Sun, 23 May 1999 06:01:39 GMT

Wayne Kovsky wrote:

> [EMAIL PROTECTED] wrote:
>
> > How can I prevent Linux (or Windows, for that matter) from knowing about
> > the 2nd hard disk? I would like it to stay spun down, but every now and
> > then linux accesses it for whatever reason. (Windows does too.) The OS
> > is RH5.2.
>
> In addition to the answers you've already received, I believe you can
> modify your /etc/fstab file to remove any references to partitions on
> that second hard drive.  If those partitions are never mounted, Linux
> can't access them.
>
> --
> Wayne Kovsky <[EMAIL PROTECTED]>
> Colorado Software Summit (A Java Programming Conference)
> http://www.SoftwareSummit.com

Wayne

Here I'm again.
You got correct info on removing reference to the drive in /etc/fstab and
disabling it in the BIOS.  This will prevent Windows and LINUX from using
them.  Howerver if you are using APM, I believe this is why the drives will
spin up or down.
Jim


------------------------------

From: "Andrey Smirnov" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.hardware
Subject: Re: Can't communicate through 2nd NIC
Date: Sat, 22 May 1999 23:02:22 -0700

Hello!

Try adding this line to your ifcg-eth? for the local card:
GATEWAY=24.4.162.173

Good luck!

Steve Snyder wrote in message ...
>I am attempting to configure my server (RedHat v5.2 /w kernel v2.2.9) to
>act as a gateway to @Home through a cable modem.
>
>Apart from any name resolution issues that I have not yet addressed, I
>can't even communicate through the 2nd NIC using a static IP address.  Note
>that I am not yet trying to communicate across my LAN, but to just
>establish communications locally on the server with the Internet via the
>cable modem.
>
>Attempting to ping @Home's name server (IP = 24.4.162.33) fails.  The ping
>just hangs until killed.  Attempts to telnet to the same IP address gets me
>the message "Unable to connect to remote host:  No route to host".  Hmm...
>
>Device eth0 (IP = 192.168.0.12) is connected to my LAN's hub and has been
>working all alone.  Device eth1 (IP = 24.4.162.173, assigned by @Home) is
>the NIC connected to the cable modem.  The LEDs on the 3Com USR cable modem
>indicate that it is communicating with my NIC and that it recognizes the
>signal on the coax cable.
>
>Here is where I'm at:
>
>At boot time
>----------
>eth0: 3Com 3c905B Cyclone 100baseTx at 0xe400,  00:10:4b:9a:82:e5, IRQ 11
>  8K byte-wide RAM 5:3 Rx:Tx split, autoselect/Autonegotiate interface.
>  MII transceiver found at address 24, status 786d.
>  MII transceiver found at address 0, status 786d.
>  Enabling bus-master transmits and whole-frame receives.
>eth1: 3Com 3c900 Boomerang 10Mbps Combo at 0xe800,  00:60:97:c8:01:c8, IRQ
10
>  8K word-wide RAM 3:5 Rx:Tx split, autoselect/10baseT interface.
>  Enabling bus-master transmits and whole-frame receives.
>
>#cat /etc/sysconfig/network
>-----------------------
>NETWORKING=yes
>FORWARD_IPV4=yes
>HOSTNAME="corona.snydernet.lan"
>DOMAINNAME=snydernet.lan
>GATEWAY=24.4.162.173
>GATEWAYDEV=eth1
>
>#cat /etc/sysconfig/network-scripts/ifcfg-eth0
>---------------------------------------
>DEVICE="eth0"
>IPADDR="192.168.0.12"
>NETMASK="255.255.255.0"
>NETWORK=192.168.0.0
>BROADCAST=192.168.0.255
>ONBOOT="yes"
>BOOTPROTO="none"
>
>#cat /etc/sysconfig/network-scripts/ifcfg-eth1
>---------------------------------------
>DEVICE="eth1"
>IPADDR="24.4.162.173"
>NETMASK="255.255.255.0"
>ONBOOT="yes"
>BOOTPROTO="none"
>
>#netstat -nr
>----------
>Destination     Gateway         Genmask         Flags   MSS Window  irtt
Iface
>192.168.0.12    0.0.0.0         255.255.255.255 UH        0 0          0
eth0
>24.4.162.173    0.0.0.0         255.255.255.255 UH        0 0          0
eth1
>192.168.0.0     0.0.0.0         255.255.255.0   U         0 0          0
eth0
>24.4.162.0      0.0.0.0         255.255.255.0   U         0 0          0
eth1
>127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 lo
>0.0.0.0         24.4.162.173    0.0.0.0         UG        0 0          0
eth1
>
>Can someone advise me on what to configure just to get basic communications
>going?  If there's any info missing from above I would happily provide it.
>
>Thank you.
>
>
>***** Steve Snyder *****
>
>
>



------------------------------

From: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux,uk.comp.os.linux
Subject: Re: AutoInstall is for experts, not beginners!!!
Date: 22 May 1999 18:19:35 +0100

Graham Murray <[EMAIL PROTECTED]> writes:

> For libraries, could this not be done by running ldd on all of the
> binaries and grepping the output for the library concerned? Then if
> the library is found, then it is still (potentially[1]) being used
> otherwise it could be a candidate for removal.

Yes, but then you have to ldd every program on the system not known to
the package manager.  It might be worthwhile if you were desparately
short of disc space, I suppose.

-- 
http://www.greenend.org.uk/rjk/

------------------------------

Date: Sat, 22 May 1999 15:09:34 +0000
From: Vilmos Soti <[EMAIL PROTECTED]>
Subject: Re: FTP with Resume feature?

> Hi
>
> Can some one recoment a download or FTP prog for linux that supports
> resume?
>
> Thanks

Hi,

ftp supports resume. Just try "reget filename" although I think it has
to be supported on the other and as well.

Vilmos

------------------------------

From: DGH <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: There is something wrong with the clock on your computer or on your NNTP 
servier because your post has the time and date of: Wed, 22 Sep 1999 20:41:52 -0500
Date: Sun, 23 May 1999 00:52:05 -0500

There is something wrong with the clock on your computer or on your NNTP
servier because your post has the time and date of: Wed, 22 Sep 1999
20:41:52 -0500


meany wrote:
> 
> ok!!!!!!!!!!!, finally a way to use the one way surfboard external modem
> with linux!!!!!!  I have text instructions and screen shots available
> at http://www.owenmeany.com/linux/howto.shtml
> 
> No more suffering through mediaone's unwillingness to help!!!!

------------------------------

Date: Mon, 17 May 1999 13:29:05 +0100
From: TonyC <[EMAIL PROTECTED]>
Subject: What-to-do's when updating software

When you've installed some software via an RPM from a
particular distribution but then want to update it from the
latest available sources -What's the best way to do it?

Compile and install it, more or less, as the maintainers
suggest?
Then change the distribution's boot scripts, whatever, to
match.

Change the source around so that it fits in with
distribution's idea of where things should go, who should
own stuff, etc.?
Maybe build an RPM for others to use? -or is that the
distributors prerogative?

I know I could do whatever I liked but I'm looking for some
advice on what's easiest to maintain and anything I haven't
thought about.

I'm particularly thinking of INN and SUCK at the minute but
it's more general advice that I'm after.


Thanks
TonyC

------------------------------

From: [EMAIL PROTECTED] (John Hong)
Crossposted-To: comp.os.linux.setup
Subject: Re: WordPerfect 8 & Printers
Date: 23 May 1999 06:26:30 GMT

Johan Kullstam <[EMAIL PROTECTED]> writes:

>[EMAIL PROTECTED] (John Hong) writes:

>>      Some people may or may not know this, but with WP8 for Linux you
>> can just use Corel's stock printer drivers housed at
>> ftp://ftp.corel.ca/pub/printdrivers/wp6x
>>      There is a !index.txt there that will list all the printers their
>> drivers support.  Download the necessary one, unzip it the .exe file and
>> then stick the *.all file into your /shared/wpc20 directory somewhere (I
>> think).  These drivers work under any WP of any platform, for example even
>> WP5 for OS/2 can use the drivers in the wp5x directory.

>all platforms?  really?  my old man is using wp v2 on a ti xt 8088 dos
>box.  i see they also have a version for the macintosh platform.  they
>have something about unix (as opposed to linux i386 libc5), but i am
>not sure what platforms are supported.  it's more than just sco since
>they claim not to ship an old netscape navigator for the sco version.

        I checked out the Corel FTP site, in the /pub/printdrivers/old
directory the !index.txt file lists drivers there for WordPerfect
Presentations 2.0.  Could those work?



------------------------------


** 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.misc) 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-Misc Digest
******************************

Reply via email to