Linux-Misc Digest #942, Volume #26               Sat, 27 Jan 01 19:13:02 EST

Contents:
  Re: MS to Enforce Registration - or Else ("Aaron R. Kulkis")
  Re: linux from windows (Rod Smith)
  Re: Far too big image for my screen, PLEASE help (Jesper Petersen)
  Re: Lilo configuration (Markku Kolkka)
  Re: MS to Enforce Registration - or Else ("Aaron R. Kulkis")
  Re: Inodes (Paul Colquhoun)
  <time.h> clock() function in gcc 2.91.66 on Linux (Rene Girard)
  Re: How to put LILO in 1st sector of boot partition ? (Lee Webb)
  Re: Puzzling messages when running dmesg... (Jean-David Beyer)
  VMWare + Linksys Router + VPN ([EMAIL PROTECTED])
  Re: DVD playing: hardware vs. software decoding (Juergen Sauer)
  Re: <time.h> clock() function in gcc 2.91.66 on Linux ("D. Stimits")

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

From: "Aaron R. Kulkis" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy
Subject: Re: MS to Enforce Registration - or Else
Date: Sat, 27 Jan 2001 17:18:03 -0500

Johan Kullstam wrote:
> 
> "Aaron R. Kulkis" <[EMAIL PROTECTED]> writes:
> 
> > "." wrote:
> > >
> > > In comp.os.linux.advocacy Harlan Grove <[EMAIL PROTECTED]> wrote:
> > >
> > > > Finally, as for US politics, better bland/boring politics and a diverse
> > > > and vibrant society than the reverse.
> > >
> > > I think we can all agree that what happened in florida during this past
> > > election could be defined at the very least as a highly disorganized and
> > > flawed state electoral system.
> >
> >
> > No...merely corrupt Demoncrook National Committee people playing
> > footsie with corrupt Demoncrook county election officials and even
> > more corrupt Demoncrook Florida Supreme Starchamber
> > dictat^H^H^H^H^^H^Hjustices.
> 
> the only difference was that the republicrooks owned the higher
> court.  they are both equally bogus.
> 

What part of "Federal law dictates that the rules of an election
can NOT be changed after the voting has started" do you not understand?


> --
> J o h a n  K u l l s t a m
> [[EMAIL PROTECTED]]
> Don't Fear the Penguin!


-- 
Aaron R. Kulkis
Unix Systems Engineer
DNRC Minister of all I survey
ICQ # 3056642


H: "Having found not one single carbon monoxide leak on the entire
    premises, it is my belief, and Willard concurs, that the reason
    you folks feel listless and disoriented is simply because
    you are lazy, stupid people"

I: Loren Petrich's 2-week stubborn refusal to respond to the
   challenge to describe even one philosophical difference
   between himself and the communists demonstrates that, in fact,
   Loren Petrich is a COMMUNIST ***hole

J: Other knee_jerk reactionaries: billh, david casey, redc1c4,
   The retarded sisters: Raunchy (rauni) and Anencephielle (Enielle),
   also known as old hags who've hit the wall....

A:  The wise man is mocked by fools.

B: Jet Silverman plays the fool and spews out nonsense as a
   method of sidetracking discussions which are headed in a
   direction that she doesn't like.
 
C: Jet Silverman claims to have killfiled me.

D: Jet Silverman now follows me from newgroup to newsgroup
   ...despite (C) above.

E: Jet is not worthy of the time to compose a response until
   her behavior improves.

F: Unit_4's "Kook hunt" reminds me of "Jimmy Baker's" harangues against
   adultery while concurrently committing adultery with Tammy Hahn.

G:  Knackos...you're a retard.

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

Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: linux from windows
Date: Sat, 27 Jan 2001 22:25:56 GMT

[Posted and mailed]

In article <[EMAIL PROTECTED]>,
        "Sudhakar R." <[EMAIL PROTECTED]> writes:
> i have windows me and RH 7.0 sitting on different partitions on the same
> hard disk. is there any way i can get access to my linux files while
> booted in windows?

Yes. You need either an ext2fs driver for Windows or an ext2fs access
utility. AFAIK, the only ext2fs driver for Windows
(http://www.yipton.demon.co.uk the last I checked, but the site seems to
be down at the moment) was read-only. The Explore2fs utility
(http://uranus.it.swin.edu.au/~jn/linux/Explore2fs.htm) is read/write.

-- 
Rod Smith, [EMAIL PROTECTED]
http://www.rodsbooks.com
Author of books on Linux & multi-OS configuration

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

From: Jesper Petersen <[EMAIL PROTECTED]>
Subject: Re: Far too big image for my screen, PLEASE help
Date: Sat, 27 Jan 2001 22:26:36 GMT

>You could try Xconfigurator (comes with RH), runs in the text mode, and 
>creates the XF86Config file for you.  But I just doubt that the level of 
>XFree86 that shipped with RH 6.0 would support your laptop anyway.  Your 
>best shot is RH 6.2 or RH 7.0.  

Thanks a lot. I've just downloaded and burned RH 7.0, so maybe you'll see my
name pop up here in the group again :-)

Jesper

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

From: Markku Kolkka <[EMAIL PROTECTED]>
Subject: Re: Lilo configuration
Date: 28 Jan 2001 00:12:05 +0200

Jack Kaufmann <[EMAIL PROTECTED]> writes:
> Eric Hicks wrote:
> > You have to rerun lilo after making any changes. Type '/sbin/lilo' while
> > logged in as root.
> That's when I got the message "Can't put the boot sector on logical
> partition 0x346".  What's up with that?

There's something wrong with the "boot=..." command in
/etc/lilo.conf. Check that it points to an existing partition, and I
suppose the partition should start below the 1024 cylinder limit.

-- 
        Markku Kolkka
        [EMAIL PROTECTED]

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

From: "Aaron R. Kulkis" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy
Subject: Re: MS to Enforce Registration - or Else
Date: Sat, 27 Jan 2001 17:37:54 -0500

Steve Ackman wrote:
> 
> On Sat, 27 Jan 2001 20:11:37 GMT, J Sloan <[EMAIL PROTECTED]> wrote:
> >John Hasler wrote:
> >
> >> Edward Rosten writes:
> >> > Christian morals were also invented by people.
> >>
> >> And the US was _not_ founded on "Christian beliefs".
> >
> >You're splitting hairs -
> >
> >There was a strong deist influence, at the very least.
> 
>   Jefferson was a Deist, yet was branded an Atheist by his
> Christian detractors.  Deism is a far cry from Christianity.
> 

Deism is a belief in the existance of God.
Atheism is a belief in the non-existance of God.

Obviously, Jefferson's detractors were lying.


> --
> Steve Ackman
> http://twovoyagers.com
> Registered Linux User #79430


-- 
Aaron R. Kulkis
Unix Systems Engineer
DNRC Minister of all I survey
ICQ # 3056642


H: "Having found not one single carbon monoxide leak on the entire
    premises, it is my belief, and Willard concurs, that the reason
    you folks feel listless and disoriented is simply because
    you are lazy, stupid people"

I: Loren Petrich's 2-week stubborn refusal to respond to the
   challenge to describe even one philosophical difference
   between himself and the communists demonstrates that, in fact,
   Loren Petrich is a COMMUNIST ***hole

J: Other knee_jerk reactionaries: billh, david casey, redc1c4,
   The retarded sisters: Raunchy (rauni) and Anencephielle (Enielle),
   also known as old hags who've hit the wall....

A:  The wise man is mocked by fools.

B: Jet Silverman plays the fool and spews out nonsense as a
   method of sidetracking discussions which are headed in a
   direction that she doesn't like.
 
C: Jet Silverman claims to have killfiled me.

D: Jet Silverman now follows me from newgroup to newsgroup
   ...despite (C) above.

E: Jet is not worthy of the time to compose a response until
   her behavior improves.

F: Unit_4's "Kook hunt" reminds me of "Jimmy Baker's" harangues against
   adultery while concurrently committing adultery with Tammy Hahn.

G:  Knackos...you're a retard.

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

From: [EMAIL PROTECTED] (Paul Colquhoun)
Subject: Re: Inodes
Reply-To: <[EMAIL PROTECTED]>
Date: Sat, 27 Jan 2001 22:47:39 GMT

On Sat, 27 Jan 2001 15:30:03 -0000, Kirk <[EMAIL PROTECTED]> wrote:
|when I run df -i I get the following
|
|
|Filesystem            Inodes   IUsed   IFree IUse% Mounted on
|/dev/sda5               189k    189k      40  100% /
|/dev/sda1               3.9k      59    3.9k    1% /boot
|/dev/md0                864k     46k    818k    5% /home
|
|How do I free up the root directory? I have removed all the .core files, 
|removed excess log files.
|
|I was alerted to the problem when running a mailing script and received 
|the following error:
|
|sendmail[21921]: f0QGTst21919: SYSERR(root): queueup: cannot create queue 
|temp file ./tff0QGTst21919, uid=0: No space left on device
|
|df output is:
|
|Filesystem            Size  Used Avail Use% Mounted on
|/dev/sda5             1.4G  1.2G  154M  89% /
|/dev/sda1              15M  7.1M  7.3M  49% /boot
|/dev/md0              6.6G  1.3G  5.0G  20% /home
|
|Appreciate any help.


You are looking for a directory with *lots* of files in it.

Look in /tmp or /var/tmp for old temp files.

Are you funning a news spool (from slrnpull, leafnode, INN or similar)?
If so, that may be the cause.

This script will run through your file system and find directories
with lots of files.

=============================================================

#!/bin/bash

Lots=100

for DIR in `find / -xdev -type d`
do
  Count=`find $DIR -maxdepth 1 -type f | wc -l`
  if [[ $Count -gt $Lots ]]
  then
    echo "$Count : $DIR"
  fi
done

=============================================================


-- 
Reverend Paul Colquhoun,      [EMAIL PROTECTED]
Universal Life Church    http://andor.dropbear.id.au/~paulcol
-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-
xenaphobia: The fear of being beaten to a pulp by
            a leather-clad, New Zealand woman.

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

From: Rene Girard <[EMAIL PROTECTED]>
Crossposted-To: comp.lang.c++.moderated
Subject: <time.h> clock() function in gcc 2.91.66 on Linux
Date: 27 Jan 2001 18:00:39 -0500

I do not know if this is the appropriate newsgroup to ask the question
below. If it is not , please
indicate to which newsgroup I should submit the question below.

I am running Caldera eDesktop 2.4 Linux OS on a P166 with 80 MB of RAM.
I am trying to use
the "clock()" function of the <time.h> header to time the execution of a
set of C++ statements with
gcc 2.91.66. A sample of the code look like this:

 #include <time.h>

clock_t   tstart, tend;
double  t1;

tstart = clock();
   .
   .
set of C++ statements ( mainly loops)

   .
   .
 tend  = clock();

// calculate the execution time

t1 = (tend - tstart)/CLK_TCK;

I tried this code with Borland C++ v4.52 and v5.01 under Win95, Win
NT4.0 and Win 2000 and it works fine i.e. the values obtained for "t1"
are reasonable when compare to my watch. Of course the values calculated
by the program under thos OS is more accurate than my watch but the time
measured by the watch is of the same order of magnitude. Under these OS
CLK_TCK which is the number of "tick" per second, is equal to 1000. When
I am trying to do the same thing with gcc 2.91.66 under Linux the
program calculates very large execution time  i.e. "t1" above is very
large  > 10000 seconds and CLK_TCK is equal to 100.

I would like to know what I should do to use the function clock() of
<time.h> corectly. I am puzzled that it does not work well with gcc
2.91.66 under Linux as it is an ANSI C++ function.

Thank for your help





      [ Send an empty e-mail to [EMAIL PROTECTED] for info ]
      [ about comp.lang.c++.moderated. First time posters: do this! ]

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

From: [EMAIL PROTECTED] (Lee Webb)
Crossposted-To: comp.os.linux.setup
Subject: Re: How to put LILO in 1st sector of boot partition ?
Date: 27 Jan 2001 23:24:25 GMT
Reply-To: [EMAIL PROTECTED]

On Sat, 27 Jan 2001 16:22:04 GMT, Arctic Storm 
<[EMAIL PROTECTED]> wrote:
>How to put LILO in 1st sector of boot partition ?
>When I installed RedHat 7, I was given the option to put LILO boot 
>record on the MBR (Master Boot Record) or the first sector of the boot 
>partition.  I chose to put the LILO on the first sector of the boot 
>partition.  This setup worked great for triple boot with Win2K & 
>Win98SE; I gave control to NT Loader.
>How do you do this is Mandrake?  Mandrake gives you an option between 
>LILO and Grub, but doesn't allow you to specify the location.  LILO was 
>put in the MBR, and I'm not happy with that.
>If you know how to put LILO in the first sector of the boot partition in 
>Mandrake, please share.
>Thanks.

Taken from the Linux/NT HOWTO
(http://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader-3.html):

"When you caome to the Lilo-Section, specify your Linux root-partition as your 
boot device because the Master Boot Record (MBR) of your harddisk is owned by
Windows NT. This means that the root-entry and the boot-entry in your
/etc/lilo.conf have the same value. If you have a IDE-harddisk and your
 partition is the second partition, your boot-entry in /etc/lilo.conf looks 
like: 

boot=/dev/hda2"

I.E. for installing on first sector, specify the disk with partition number, 
rather than just the disk.

Lee.

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

From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: Re: Puzzling messages when running dmesg...
Date: Sat, 27 Jan 2001 18:25:42 -0500

David Efflandt wrote:
> 
> On Fri, 26 Jan 2001, Jean-David Beyer <[EMAIL PROTECTED]> wrote:
> >Steve Ackman wrote:
> >>
> >> >It turns out that magicdev is it. It seems to be a GNOME thing to
> >> >automount things. It is not in an init.d script, because it seems that
> >> >it is started at login (at least, at a login when you are running
> >> >GNOME/Enlightenment.
> >> >
> >> >One reason why I switched from Windows to Linux was to get away from
> >> >dunderheads second-guessing me and doing what they thought was for my
> >> >own good, and not even telling me about it.
> 
> If you look through the gnome configuration menus somewhere is a window
> that lets you set whether gnome should automount CDs or even autorun
> programs on them.  If you uncheck those boxes your 'problem' may go
> away.  But I don't think those dmsg messages about disk change are logged
> anyway, but when I was running gnome, I certainly unchecked that box to
> autorun a CD.
> 
Thanks for the thought. I believe I said earlier that I fixed it by
finding a file ~/.gnome/magicdev that contained those very settings, and
changed them from True to False using emacs.

I finally did find the gnome configuration menu you suggested, and I see
I could have changed it with that tool as well.

BUT THE BIG PROBLEM ORIGINALLY WAS that I had no idea there was such a
feature, no idea that that feature was the occasion for the bizarre
dmesg messages, or for the 1/second activity on my ide0 device. How was
I supposed to guess all that?

Now I am suffering from the fact that when I turn off my ppp0 link, it
just dials back up again. I tried diddling things here and there. I had
just updated a few RPMs, and I believe moving from initscripts-5.00-12
to initscripts-5.49-1 did that to me. To fix it, I had to go to
/etc/sysconfig/network-scripts/ifcfg-ppp0 and change PERSIST=yes to
PERSIST=no. I suppose that is what PERSIST is for.

On my Red Hat Linux 6.0 machine, it says PERSIST=yes and it does not do
that.

-- 
 .~.  Jean-David Beyer           Registered Linux User 85642.
 /V\                             Registered Machine    73926.
/( )\ Shrewsbury, New Jersey
^^-^^ 6:15pm up 2 days, 42 min, 3 users, load average: 4.78, 4.49, 4.05

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

From: [EMAIL PROTECTED]
Subject: VMWare + Linksys Router + VPN
Crossposted-To: comp.os.linux.networking
Date: Sat, 27 Jan 2001 23:37:29 GMT

Hello ->

I have a PC which is behind a Linksys Router, which dual boots.
I also use an IPSec VPN client, which works completely fine on the
win98 side.

However, I recently installed VMWare on Linux so that I can use the
VPN on my linux boot.  When I run it, the guest win98  will establish the 
tunnel to the VPN, however, it can't actually connect to any of the VPN-side
addresses (which works fine under the "real" win98).  Furthermore, after
I try that, if I then reboot into the "real" win98, the same thing happens
there, unless I toggle the "Enable IPSec passthru" option to disabled and
back to enabled - at which point it works normally again (that "fix" does
*not* work under the VMWare win98). 

I'm assuming it is somehow related to the Linksys router, but obviously
the router isn't the *sole* problem here, as it works just fine under win98.
I'm guessing it has something to do with the way that VMWare interacts
with the host machine?

Any ideas on how to work around this?  Everything else seems to work fine for
me under VMWare win98 but that.  Unfortunatley, that's the part that I really
wanted to work :)

-- 
    Jeff Gentry  [EMAIL PROTECTED]  [EMAIL PROTECTED]
           SEX           DRUGS           UNIX

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

From: Juergen Sauer <[EMAIL PROTECTED]>
Subject: Re: DVD playing: hardware vs. software decoding
Date: 27 Jan 2001 16:05:52 GMT

Marcel Loesberg <[EMAIL PROTECTED]> schrieb
am Fri, 26 Jan 2001 13:55:02 GMT in comp.os.linux.misc:
> Glitch wrote:

> I also have the dxr2.
> What software & drivers do you use?

Finally DVD Playing solution (Software) EUREKA/working:

        http://xine.sourceforge.net/
+       http://members.nbci.com/captain_css/
=============================================
        Working DVD Viewing by Software

Hardware tested:
Notebook: HP Omnibook 4150B, 
          P3-500 MHz, 128MB, ATI Rage Mobility, HP IDE DVD Rom, Maestro 2e
          Kernel 2.2.16, glibc 2.1, alsa 0.5.9
          XFree 3.3.6, Suse 7 out of the Box, KDE2

        AutomatiX PC2
        2xP3-800, 512MB, Nvidia TNT2/64 32MB AGP, NCR 875 SCSI, 
        Pioneer SCSI DVD, Via Chipsatz, Creative SB PCI128
        Kernel 2.4.0, Glibc 2.2.1, XFree 4.0.2, DVBs/vdr, alsa 0.5.10a
        By the way: during DVD Playing, this system did:
        compiling KDE2.1�2-cvs, Printing from Gimp over cups, Scanning
        via xsane.

mfG
        Jojo

-- 
J�rgen Sauer - AutomatiX GmbH, +49-4209-4699, [EMAIL PROTECTED]
http://www.automatix.de to Mail me: remove: -not-for-spawm-


-- 
J�rgen Sauer - AutomatiX GmbH, +49-4209-4699, [EMAIL PROTECTED]
http://www.automatix.de to Mail me: remove: -not-for-spawm-

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

Date: Sat, 27 Jan 2001 17:06:25 -0700
From: "D. Stimits" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: <time.h> clock() function in gcc 2.91.66 on Linux

Rene Girard wrote:
> 
> I do not know if this is the appropriate newsgroup to ask the question
> below. If it is not , please
> indicate to which newsgroup I should submit the question below.
> 
> I am running Caldera eDesktop 2.4 Linux OS on a P166 with 80 MB of RAM.
> I am trying to use
> the "clock()" function of the <time.h> header to time the execution of a
> set of C++ statements with
> gcc 2.91.66. A sample of the code look like this:
> 
>  #include <time.h>
> 
> clock_t   tstart, tend;
> double  t1;
> 
> tstart = clock();
>    .
>    .
> set of C++ statements ( mainly loops)
> 
>    .
>    .
>  tend  = clock();
> 
> // calculate the execution time
> 
> t1 = (tend - tstart)/CLK_TCK;

I noticed in the man page that CLK_TCK is the incorrect thing to divide
by in linux. According to the man page, you should divide by
CLOCKS_PER_SEC.

> 
> I tried this code with Borland C++ v4.52 and v5.01 under Win95, Win
> NT4.0 and Win 2000 and it works fine i.e. the values obtained for "t1"
> are reasonable when compare to my watch. Of course the values calculated
> by the program under thos OS is more accurate than my watch but the time
> measured by the watch is of the same order of magnitude. Under these OS
> CLK_TCK which is the number of "tick" per second, is equal to 1000. When
> I am trying to do the same thing with gcc 2.91.66 under Linux the
> program calculates very large execution time  i.e. "t1" above is very
> large  > 10000 seconds and CLK_TCK is equal to 100.
> 
> I would like to know what I should do to use the function clock() of
> <time.h> corectly. I am puzzled that it does not work well with gcc
> 2.91.66 under Linux as it is an ANSI C++ function.
> 
> Thank for your help
> 
>       [ Send an empty e-mail to [EMAIL PROTECTED] for info ]
>       [ about comp.lang.c++.moderated. First time posters: do this! ]

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


** 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
******************************

Reply via email to