Linux-Misc Digest #460, Volume #25               Wed, 16 Aug 00 07:13:03 EDT

Contents:
  Re: cronjob: disable email notice (Villy Kruse)
  Re: How to redirect serial port to eth0? (Mihaly Gyulai)
  samba with ipchains ("Hello World")
  Re: I feel bad for RH/Mandrake users. (nobdy)
  Re: Linux vs Windows ME (nobdy)
  Wrong title: DPT on restart ("Andreas Moroder")
  DPR Problems on restart ("Andreas Moroder")
  Re: Linux Directory Handling
  Re: Linux Directory Handling
  Re: Linux Directory Handling
  linkchecker (Christoph Krempe)
  Re: kernel compiling for sparc64 under sparc32 (Daniel Goergen)
  blank screen on redhat 6.2 (LLew)
  Re: A Big Red Button (and a beep) (John Thompson)
  Re: root $PATH in SuSE6.3 (Glitch)
  Re: Linux Directory Handling (Tony Lawrence)
  kernel compiling for sparc64 under i386 (Daniel Goergen)
  Re: Allowing all users to access and write to a partition (Tony Lawrence)
  shrinking a partition/fs (Christoph Kukulies)
  Re: shrinking a partition/fs ("Peter T. Breuer")

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

From: [EMAIL PROTECTED] (Villy Kruse)
Subject: Re: cronjob: disable email notice
Date: 16 Aug 2000 07:11:34 GMT

On Tue, 15 Aug 2000 17:00:03 GMT,
             David Steuber <[EMAIL PROTECTED]> wrote:


>[EMAIL PROTECTED] (Prasanth A. Kumar) writes:
>
>' The 'proper way' to do this is set MAILTO=""
>
>Maybe you want mail notifications from some jobs but not others.  I
>prefer the /dev/null approach.
>



My prefered way is to decide on a case by case basis what to do with
stdout and stderr of the command.  You may sometimes find it useful
to direct that to some file, or, perhaps better, wrap the program
in a shell script that test the success of the operation and only
sends a e-mail message if something wrong happened.



Villy

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

From: Mihaly Gyulai <[EMAIL PROTECTED]>
Subject: Re: How to redirect serial port to eth0?
Date: Wed, 16 Aug 2000 07:24:03 GMT

In article <[EMAIL PROTECTED]>,
  Tom Roberts <[EMAIL PROTECTED]> wrote:

>> I have a data stream coming in a serial port...

> issue the shell command   cat /dev/ttyS0

I already have difficulties with the above command...

Actually it _sends out_ garbage(?) data, and not receives
(as I expect).

We have another machine sending data onto my serial port.

--
Mihaly Gyulai
mailto:[EMAIL PROTECTED]
http://www.freeyellow.com/members5/gyulai/


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: "Hello World" <[EMAIL PROTECTED]>
Subject: samba with ipchains
Date: Wed, 16 Aug 2000 15:36:22 +0800

how can samba passthrough ipchains?



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

From: [EMAIL PROTECTED] (nobdy)
Subject: Re: I feel bad for RH/Mandrake users.
Reply-To: nobody
Date: Wed, 16 Aug 2000 07:54:22 GMT

On Mon, 31 Jul 2000 00:13:09 GMT, [EMAIL PROTECTED] (Prasanth A. Kumar)
wrote:

>"Andrew N. McGuire " <[EMAIL PROTECTED]> writes:
>
>> Greetings,
>> 
>>     I thought that I would share this little piece of news with you
>> all, as I could not believe it myself.  I am a Slackware user, and
>> recently decided to try Mandrake 7.1.  I have noticed some bugs
>> but this one is just too much:
>> 
>> [anm@hawk ~] file /etc/passwd
>> /etc/passwd: ASCII test
>> 
>> ASCII test?  I mean really.  This, to me, is indicative of the haphazard
>> way in which RH/Mandrake is thrown together.  There are of course other
>> bugs, too numerous to mention here....  This is very dissappointing, as
>> one would think that they test thier RPMs before distributing them.
>> Sadly, I guess this is not the case, and I am now reminded why I like
>> Slackware (or Debian) so much.  Attention to detail.
><snip>
>
>What should it say instead? Anyway, what makes this a bug? Is it noted
>in a standard somewhere that it should be something else or is it just
>different from what you had in Slackware?

It should say ASCII text.... not ASCII test.....
I run Mandrake 7.1 because it is easy not because of these types of
finer points.  While this may seem to some that MDK7.1 was haphazardly
thrown together, my view is a little different.  MDK7.1 is known for
its ease of use (supermount to automount drives etc...)  I like the
concepts, however, I realize that MDK7.1 while being a good desktop
linux, would not be the best server linux.  That is where I draw the
line.

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

From: [EMAIL PROTECTED] (nobdy)
Subject: Re: Linux vs Windows ME
Reply-To: nobody
Date: Wed, 16 Aug 2000 08:29:47 GMT

On Sun, 06 Aug 2000 13:09:57 GMT, [EMAIL PROTECTED] wrote:

>
>
>As you all know, the future of Linux and Windows ME
>are dependent on their stability in the marketplace.
>
>In a consumer and capitalistic society, products dissappear
>if there is no demand, or there is a better product that can
>be gotten and is widely available.
>

Ok....
Linux is free as in speech..... It can be also free as in beer however
you have to shift your mentality from a "money is the source of all
progress" mentality.  

A true artists paints, draws, composes, performs, or creates because
he has an ambition to create something good.  The artists creates art
whether there is profit motive or not.  Now, many artists have become
wealthy and many have not however, money was not the original
motivating factor.  It was the desire to create art for ones own
satisfaction, pleasure, and sense of accomplishment that made these
artists create.

A scientist, while dependent on grant money to do research, does his
job because he believes in science.  Most scientists are not
millionaires.  They are people who are too smart to know how to tie
their shoes like Albert Einstein.  A true scientist seeks to discover
and seeks knowledge.... money is not their motivation.

So where does this leave linux.  Linus Torvalds developed linux
because he wanted the power of UNIX on a PC.  Money was not his
motivator either.  Linux hackers enjoy tinkering, coding, building,
compiling, networking, etc...  They do this because in a lot of ways
they are like a cross between scientists and artists.  Linux geeks
love to learn, love to discover, and love to create.  They view their
programs and code much like a musician who enjoys sharing his music or
an artists who displays art in some gallery.  The code they write is
like art to the artist.

Linux geeks love their operating system and they take pride in the
fact that their OS is beating NT in many areas.  While their is a
competative aspect, that is still not at the heart of why linux is so
special to linux users.  Maybe you have noticed, linux users tend to
be a bit fanatical about their systems... as do BSD users.  Microsoft
users really don't identify with their OS to the same degree that
users of these OS's do.  Why? you ask.  Because we the linux
community, not a corporation, were involved in it's development and
it's progress.  We see parts of our own creation when we use linux.
Yes RedHat, Caldera, Corel and others have added their own twist to
linux but, at the heart of every linux distro, some guy somewhere in
the world, coded a utility in his spare time because of what he
believed in.  That belief, that time spent, the personal satisfaction,
is worth more than any form of capitalism.

n0b0dy

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

From: "Andreas Moroder" <andreas[nospam][EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Wrong title: DPT on restart
Date: Wed, 16 Aug 2000 09:59:55 +0200

pleas look at the previous message




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

From: "Andreas Moroder" <andreas[nospam][EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: DPR Problems on restart
Date: Wed, 16 Aug 2000 09:31:59 +0200

Hello,

on our Server we have ad DPT 3334 Controller with 6 disks ind 3 RAID-1
Pairs.
Whiel running all works well.
Last week we did shutdown the machine two times because we changed the
tapedrive.

Both time after restart we got a hd-failure with one of the disks of the
second pair with the "failed" led on.
( one time the upper disk, the second time the lower, not allways the same )

The first time we changed the failed disk.
The second time i reformatted the failed disk on another machine an
reinserted it. Now all seems to be ok, the is no "failed" led anymore.

Ca anyone tell me if this i a problem of the controller or do I need to send
a command to the controller before shutting down the system ( to let the
controller really flush all the data to the disks ).

I anyone had the same problems, please let me know

Andreas Moroder

P.S. please send me a e-mail amoroder@se-nord.[nospam]provinz.bz.it without
[nospam] for humans



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

From: <[EMAIL PROTECTED]>
Subject: Re: Linux Directory Handling
Date: Wed, 16 Aug 2000 08:29:49 GMT

You should not have to write many many cd ../../........... and so on.

what about bcd 5 sdir5a/sdir5b?. Here, If I was in the 10th subdir., I am
going to back 5 subdirectories backwards(ie cd ../../../../../) and from
there to the subdirectories sdir5a/sdir5b. bcd is something like 'back cd'.

 #dir/sdir1/sdir2/sdir3/sdir4/sdir5/sdir6/sdir7/sdir8/sdir9/sdir10(where I
am)
                             /sdir5a/sdir5b(where I want to go)

I believe you could understand my point.

Philip 

Tony Lawrence wrote:
> 
> [EMAIL PROTECTED] wrote:
> > 
> > If I am to handle very lengthy and complex directories while doing a
high
> > level application processing...
> > 
> > Is there any utility to go back and forth easily in the directories?
> > 
> > For example
> > 
> > If I am in the 10th sub-dir and want to go to the 4th sub-dir back and
from
> > there another route...
> 
> 
> You mean like cd ../../../.. ?
> 
> 
> -- 
> Tony Lawrence ([EMAIL PROTECTED])
> SCO/Linux articles, help, book reviews, tests, 
> job listings and more : http://www.pcunix.com


--
Posted via CNET Help.com
http://www.help.com/

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

From: <[EMAIL PROTECTED]>
Subject: Re: Linux Directory Handling
Date: Wed, 16 Aug 2000 08:29:49 GMT

Thank you. pushd popd are useful when you know where you where earlier and
you have to identify them before you go there.

My expectation is like this....

If I was in the 10th subdir., I have to back 5 subdire
ctories backwards(ie cd ../../../../../) and from there to the
subdirectory  sdir5a/sdir5b. 

 #dir/sdir1/sdir2/sdir3/sdir4/sdir5/sdir6/sdir7/sdir8/sdir9/sdir10(my
current dir)
                       ....../sdir5a/sdir5b(where I want to go)

Philip


Garry Knight wrote:
> 
> 
> In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] 
> says...
> >If I am to handle very lengthy and complex directories while doing a
high
> >level application processing...
> >
> >Is there any utility to go back and forth easily in the directories?
> 
> You might find pushd and popd useful.
> 
> -- 
> Garry Knight
> [EMAIL PROTECTED]


--
Posted via CNET Help.com
http://www.help.com/

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

From: <[EMAIL PROTECTED]>
Subject: Re: Linux Directory Handling
Date: Wed, 16 Aug 2000 08:29:49 GMT

Its a good idea. I have also coded one shell program which does this work.

That is 'bcd 4 sdir5a/sdir5b' means go back 5 levels and then from there to
the sub directory sdir5b.

If someone need to see and check that, I will send  the code.

Thanks

philip 


Harlan Grove wrote:
> 
> 
> In article <[EMAIL PROTECTED]>,
>  Tony Lawrence <[EMAIL PROTECTED]> wrote:
> >[EMAIL PROTECTED] wrote:
> >>
> >>If I am to handle very lengthy and complex directories while doing a
> >>high level application processing...
> >>
> >>Is there any utility to go back and forth easily in the directories?
> >>
> >>For example
> >>
> >>If I am in the 10th sub-dir and want to go to the 4th sub-dir back
> >>and from there another route...
> >
> >You mean like cd ../../../.. ?
> 
> Could still be a lot of typing. Put the following into your ~/.bachrc
> 
> function pd {
>         typeset -i n=${1:-1}
>         unset x
>         while [ n -gt 0 ]
>         do
>                 x=${x}${x:+/}..
>                 let n=n-1
>         done
>         cd ${x:-.}
>         unset x n
> }
> 
> Then the interactive command  pd 4  would move you up 4 directory
> levels. Note: no error checking.
> 
> 
> Sent via Deja.com http://www.deja.com/
> Before you buy.


--
Posted via CNET Help.com
http://www.help.com/

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

From: [EMAIL PROTECTED] (Christoph Krempe)
Subject: linkchecker
Date: Wed, 16 Aug 2000 08:42:20 GMT


Hi,
I'm looking for a free or commercial linkcheck running under Linux.
Any suggestions?

Thanks,



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

From: Daniel Goergen <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.development.system
Subject: Re: kernel compiling for sparc64 under sparc32
Date: Wed, 16 Aug 2000 11:03:56 +0200

Pete Zaitcev wrote:
> 
> On Tue, 15 Aug 2000 15:16:01 +0200, Daniel Goergen <[EMAIL PROTECTED]> wrote:
> > Hello!
> > How can I compile a Kernel for a sparc64 on a sparc32 machine?
> 
> It is doable. First, you must have a gcc that generates a good
> code for sparc64. DaveM and JJ suggested me to use egcs-1.1.2
> that RH ships. Best of all is to download SRPM from a Redhat
> mirror and compile it.
> 
> Then, go into the top level Makefile and set prefixes to your
> compiler. Then look at the clever macro that determines what
> flags to use and ardwire the sparc64 case. Also hardwire ${ARCH}.
> 
> Your binutils must support v9 assembler mnemonics.
> 
> When all is set, just do "make oldconfig && make dep && make" as always.
> 
> Good luck,
> --Pete
Thank you!
I solved it already by myself...
Is it also possible to compile for Sparc64 under i386?
my SPARCstation is too slow...
(i have to compile the Kernel several times...)

greetings
daniel

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

From: LLew <[EMAIL PROTECTED]>
Subject: blank screen on redhat 6.2
Date: Wed, 16 Aug 2000 11:06:02 +0200

hi,
it's not that important, but it's getting on my nerves...
my redhat linux box switches the screen blank after every some minutes
of keyboard/mouse- idle time.
how can i reconfigure the time/switch that feature off, so that i can
watch my
messages-window whithout hitting a key from time to time?
(the bios-energysave-modes are disabled and a gnome or kde screensaver
is not set)
thanx!


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

From: John Thompson <[EMAIL PROTECTED]>
Subject: Re: A Big Red Button (and a beep)
Date: Tue, 15 Aug 2000 19:47:32 -0500

Kris wrote:
 
> John Hasler writes:
> 
> > > I have a headless P166 running Debian in the corner that I use as a
> > > NAT/Proxy/mess-about system, and I sometimes forget to shut it down...
> >
> > Why shut it down at all?
> 
> Because it's an old 1994-ish machine with the original processor fan and
> power supply (i.e. very very noisy). It's also around 5 meters from my
> bed. I've tried sleeping with it on, honestly! Alas, I cannot :-(
> 
> If you heard how it sounded you'd want to turn it off at night, trust me
> :-)

Spend a few bucks on a decent fan.  I have an even older system
(1992 vintage 486dx33 upgraded to 5x86/133) with a power supply
fan, cpu fan and external SCSI HD enclosure with its own power
supply and fan running 24x7.

-- 


-John ([EMAIL PROTECTED])

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

Date: Wed, 16 Aug 2000 05:35:25 -0400
From: Glitch <[EMAIL PROTECTED]>
Subject: Re: root $PATH in SuSE6.3

a simple colon, who cares?  fix it with vi and get over it

MKalinka wrote:
> 
> Hello !
> 
> The variable PATH after root-login looks like
> /sbin:/usr/sbin:/usr/local/sbin//root/bin... (sic)
> i need direct access to /root/bin, so which script
> has forgotten to put the ":" the right place ?
> 
> thank you
> 
> Michael

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

From: Tony Lawrence <[EMAIL PROTECTED]>
Subject: Re: Linux Directory Handling
Date: Wed, 16 Aug 2000 05:56:59 -0400

[EMAIL PROTECTED] wrote:
> 
> Thank you. pushd popd are useful when you know where you where earlier and
> you have to identify them before you go there.
> 
> My expectation is like this....
> 
> If I was in the 10th subdir., I have to back 5 subdire
> ctories backwards(ie cd ../../../../../) and from there to the
> subdirectory  sdir5a/sdir5b.
> 
>  #dir/sdir1/sdir2/sdir3/sdir4/sdir5/sdir6/sdir7/sdir8/sdir9/sdir10(my
> current dir)
>                        ....../sdir5a/sdir5b(where I want to go)

So cd ../../../../../sdir5/sdir6 etc..

Maybe I'm not understanding what you really want..

-- 
Tony Lawrence ([EMAIL PROTECTED])
SCO/Linux articles, help, book reviews, tests, 
job listings and more : http://www.pcunix.com

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

From: Daniel Goergen <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.development.system
Subject: kernel compiling for sparc64 under i386
Date: Wed, 16 Aug 2000 11:58:27 +0200

Hello!
It is possible to compile a kernel for sparc64 on a i386 machine?

daniel

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

From: Tony Lawrence <[EMAIL PROTECTED]>
Subject: Re: Allowing all users to access and write to a partition
Date: Wed, 16 Aug 2000 06:06:04 -0400

Richard Steiner wrote:
> 
> Here in comp.os.linux.misc, "loco" <[EMAIL PROTECTED]> spake unto us, saying:
> 
> >After reading this thread..... and the man page, it comes to my clear
> >view that most linux users are fucking brainless twits who have no real
> >desire to prove their OS's superiority, but rather their own.

> I don't permit FAT32 on my home LAN, so I know nothing about it myself.


And that's probably the most common reason for not replying.

I don't like to shoot from the hip.  If I don't *know* an
answer to be correct, and can't verify my opinion, then I
don't want to waste time and possibly confuse someone by
giving a wrong or mis-leading answer.  Like Richard, I don't
have a FAT32 partition, and it's not specifically mentioned
in a casual perual of the docs, so for all I would know it's
unupported, could have problems, etc.  So I pass the
question by- no point in adding my ignorance to the original
poster's.

-- 
Tony Lawrence ([EMAIL PROTECTED])
SCO/Linux articles, help, book reviews, tests, 
job listings and more : http://www.pcunix.com

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

From: Christoph Kukulies <[EMAIL PROTECTED]>
Subject: shrinking a partition/fs
Date: 16 Aug 2000 10:16:06 GMT

After having gone through a longer installation odyssey
I finally have a working SMP system with raid and SCSI.

Now I suddenly discovered that for symmetry reasons with 
other existing machines the root partition
(which is now at around 8 GB on a single SCSI disk) should better
be a little bit smaller, e.g. 3 GB and an extra 5 GB partition.

Are there chances to get this 'repaired' on the fly? 

I also have an IDE softraid array, so I could dump the existing /
partition. and restore everything from a pair of repair disks
but I'm afraid ending with not seeing my raid disk from the repair disks.

-- 
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]

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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: shrinking a partition/fs
Date: 16 Aug 2000 10:28:38 GMT

Christoph Kukulies <[EMAIL PROTECTED]> wrote:
: After having gone through a longer installation odyssey
: I finally have a working SMP system with raid and SCSI.

: Now I suddenly discovered that for symmetry reasons with 
: other existing machines the root partition
: (which is now at around 8 GB on a single SCSI disk) should better
: be a little bit smaller, e.g. 3 GB and an extra 5 GB partition.

Err .. the root partition had better be about 20-64M in size, if you
prefer not to let random alpha particles stop you being able to boot
up or losing you lots of nice config. I mirror the root partition
to the other end of the disk for convenience.

By any chance did you mean /usr partition. That can be about 1-2GB.

: Are there chances to get this 'repaired' on the fly? 

Sure. Just change it. You'll find a pivot manoeuver around a third
partition to be of great help. Make a and b of the right size to
contain a split up c. copy c into a and b. Edit a's copy of
/etc/fstab and /etc/lilo.conf to reflect the new setup. run lilo
over it and reboot (leave yourself an option to reboot to the old
partition). Repeat until satisfied.

You can also pivot around an nfs mount if you prefer. Or a tape deck
...

Peter

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


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