Linux-Setup Digest #199, Volume #20 Mon, 11 Dec 00 05:13:06 EST
Contents:
Re: What is the command to . . . ? (Josef Moellers)
Re: RH7 Install Crashes (Dances With Cows)
Re: What is the command to . . . ? (Josef Moellers)
Re: SCSI setup ([EMAIL PROTECTED])
Re: Which distribution for newbie? ([EMAIL PROTECTED])
Re: Unable to partition disk in RedHat 7.0 (Eric)
Re: What is the command to . . . ? ("deadmeat")
Re: help - printer won't work (Bernie)
Re: What is the command to . . . ? ("Z")
Re: Recommendation on a modem to use with Linux (Richard Steiner)
Re: What is the command to . . . ? (Paul Colquhoun)
Re: FIPS Problems (Eric)
mandrake 7.2 default screensaver behavior: how to customize? ("Dan Jacobson")
Re: What is the command to . . . ? (Eric)
Re: mandrake 7.2 default screensaver behavior: how to customize? ("Steve Cox")
Re: Puzzling problem with LILO hanging (Eric)
RH 7.0 and LILO (Jacek Trzcinski)
Re: Reverting back to no XWindows @ bootup? (Eric)
----------------------------------------------------------------------------
From: Josef Moellers <[EMAIL PROTECTED]>
Crossposted-To:
alt.os.linux.mandrake,alt.os.linux.slackware,alt.uu.comp.os.linux.questions,comp.os.linux.development.system,comp.os.linux.misc,comp.os.linux.networking,comp.os.linux.hardware
Subject: Re: What is the command to . . . ?
Date: Mon, 11 Dec 2000 08:15:34 +0100
Allen Wong wrote:
> =
> In alt.os.linux.slackware Markus Amersdorfer <[EMAIL PROTECTED]> wro=
te:
> > [EMAIL PROTECTED] wrote:
> > find . -name '*.txt' -exec grep "Hello World" {} \;
> =
> This works, but it's alot slower than "find . -type f -name '*.txt' -pr=
int |
> xargs grep "Hello World".
These solutions won't tell where they found the match.
Markus' solution can be enhanced to do that:
find . -name '*.txt' -exec grep "Hello World" {} \; -print
-- =
Josef M=F6llers (Pinguinpfleger bei FSC)
If failure had no penalty success would not be a prize (T. Pratchett)
------------------------------
From: Dances With Cows <[EMAIL PROTECTED]>
Subject: Re: RH7 Install Crashes
Date: Mon, 11 Dec 2000 00:29:10 -0600
I had some luck when I fdisk /mbr and then formatted in Dos so the
complete drive was available. Then I created in druid only a /boot of
20 meg and the rest in /.
dwc
On Sun, 10 Dec 2000 19:07:59 GMT, [EMAIL PROTECTED] (Phil)
wrote:
>Every time I try to install RH7 from CD it crashes towards the end of
>the install everytime. I have tried both graphic and text installs.
>When it fails it displays a line indicating the install is
>terminating. one of the log files, however displays this during the
>formatting of the filesystem, which may be related:-
>
>Formatting/filesystem
>end_request: I/O error, dev03:01 (hda) Sector 7956576
><4>hda: read_intr:status=0x59 {DriveReady SeekComplete DataRequest
>Error}
><4>hda:read_write: error-0x40 {UncorrectTableError}, LBA sect=8342060
>sector=8342311
>
>I thought it may be a space problem and re-partitioned every which
>way on the last occassion making both disks (8Gig) available to the
>OS.
>
>I previously had Suse 6.2 installed on one disk and Win98 on the other
>and both OS's worked fine.
>
>I have a system with an AMD6K333 processor, 2 x 4Gig drives and 88 Meg
>RAM.
>
>Any help would be appreciated.
>
>cheers
>
>Phil
------------------------------
From: Josef Moellers <[EMAIL PROTECTED]>
Crossposted-To:
alt.os.linux.mandrake,alt.os.linux.slackware,alt.uu.comp.os.linux.questions,comp.os.linux.development.system,comp.os.linux.misc,comp.os.linux.networking,comp.os.linux.hardware
Subject: Re: What is the command to . . . ?
Date: Mon, 11 Dec 2000 08:25:02 +0100
[EMAIL PROTECTED] wrote:
> =
> I am looking for the command that will help me compare two directory
> structures.
> =
> I just did a file copy to an NFS drive and I want to make sure that I
> got everything.
> =
> I used
> cp -axv /dev /mnt/vol00
> cp -axv /bin /mnt/vol00
> cp -axv/usr /mnt/vol00
> etc . . .
> =
> Doing some sampling, it appears that everything copied okay.
> =
> What I am looking for is the equivalent to this
> dos command: dir *.* /s
> =
> i.e. I am looking for file counts and directory counts as well as
> total sizes.
If nobody comes up with a better solution (this works at least under the
bash):
cd olddir
find . -type f -print | while read path
do
newpath=3D`echo $path | sed "s/olddir/newdir/"`
# you can now compare the old and new files
if [ ! -e $newpath ]
then echo $newpath does not exist
elif cmp -s $path $newpath
then :
else files $path $newpath differ
fi
done
This reads back all files over the net. As an alternative you can do
cd $olddir
find . -exec cksum {} \; > /tmp/cksums
then move the file cksums over to the new machine and run this script
cd newdir
while read line
do set $line
n=3D`cksum $file`
if [ "$line" !=3D "$n" ]
then echo $line '<->' $n
fi
done < /tmp/cksums
HTH
-- =
Josef M=F6llers (Pinguinpfleger bei FSC)
If failure had no penalty success would not be a prize (T. Pratchett)
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: SCSI setup
Date: 11 Dec 2000 06:28:13 GMT
yyz <[EMAIL PROTECTED]> wrote:
> I have a BusLogic card and I have added
> alias scsi_hostadapter BusLogic to the modules.conf file
> the driver does not get installed.
> I can run
> % modprobe BusLogic
> and it installs fine.
> Any suggestions on how I can get the modules loaded at boot time?
Put something like this in your /etc/rc.d/rc.sysinit
if [ -n "$USEMODULES" ]; then
if grep -s -q "^alias scsi_hostadapter " /etc/modules.conf ; then
action "Loading sound module" modprobe scsi_hostadapter
fi
fi
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Which distribution for newbie?
Date: 11 Dec 2000 06:33:37 GMT
Craig Heitzman <[EMAIL PROTECTED]> wrote:
> Well, sercurity isnt really a problem because I have a hardware firewall
> (the Linksys thing) and all of the LAN people are my friends, so the only
> thing they would do is change my ICQ handle to !SuperMasturbator!, which
> BTW, updates it automatically in everybody's contact list, including my
> girlfriend...
> I also kinda want it to not be easy, because then I will learn more.
If you want something that is going to require using the grey matter
get Slackware. Slackware is great if you want to "roll your own" system.
------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: Unable to partition disk in RedHat 7.0
Date: Mon, 11 Dec 2000 08:48:10 +0100
Reply-To: [EMAIL PROTECTED]
Hi Tom,
>
> Linux itself (the kernel) supports more than one extended partition on a
> drive. I've done it with one type 0F DOS extended and one type 85 Linux
> extended at the same time. It doesn't even blink - it just enumerates
> the logical partitions in order as you would expect it to. This is at
> least true of the 2.2.XX kernel. I haven't tried it with 2.0.XX.
As you'd expect??
I'd expect a BIG mess!
create hda2 as 0x0F and hda3 as 0x85
now start creating logicals. Do they start counting in order as I
created them?
Or in order of position on disc? where does hda5 live? inside hda2 or
hda3.
disctables like this would be the result:
hda1<hda2:hda5,hda7><hda3:hda6,hda8,hda9>
I for sure wouldn't like this, nor do any of the tools that use this
info do.
I'd be scared as hell whenever I needed to format hda6, after hda5 and
hda7 contain data!
> However, no Linux partitioning program that I've seen will create or
> acknowledge the 2nd one. The only partitioning program (that I know of)
> that fully supports doing this is Bootit NG. It will create more than
> one extended partition per drive (any type extended), and will also
> create the logical partition(s) inside them.
Well, no tool allows this, 'cause it's not allowed
> Win9X/ME does not have a problem with this. It just treats the type 85
> extended as a non-DOS primary and ignores it, the same as it ignores all
> non-DOS partitions.
Yeah, no doubt, untill they start lowlevel disc actions, like FS
checks/creations.
I'd be even more afraid to run a FS-format from windows than I was from
linux.
> Of course, whether it makes any sense to do this in the first place is
> up to the individual....
No, it was up to those that made the "standard" on how a partitiontable
should look.
Maximum of four primary partitions, of which only ONE can be an extended
partition.
Restricting yourself to this "standard" is the only way to assure that
multiple OS's can
co-exist on one harddisc.
Eric
------------------------------
From: "deadmeat" <root@[127.0.0.1]>
Crossposted-To:
alt.os.linux.mandrake,alt.os.linux.slackware,alt.uu.comp.os.linux.questions,comp.os.linux.development.system,comp.os.linux.misc,comp.os.linux.networking,comp.os.linux.hardware
Subject: Re: What is the command to . . . ?
Date: Mon, 11 Dec 2000 07:56:22 GMT
If nobody comes up with a better solution (this works at least under the
bash):
cd /dev
find . -type f -exec cmp '{}' /mnt/vol00/dev/'{}' \;
repeat for /bin and /usr
------------------------------
From: Bernie <[EMAIL PROTECTED]>
Subject: Re: help - printer won't work
Date: Mon, 11 Dec 2000 20:57:49 +1300
Hi all,
I had a similar problem on a Compaq Prosignia 200.
For the records:
The printer port base address on this machine is 0x3bc instead of the
standard 0x378 that SuSE (in my case) configured automatically.
conf.modules :
alias parport_lowlevel parport_pc
options parport_pc io=0x3bc irq=7,auto
======================^^^^^=====^=^
On this Compaq machine, there is no easy lookup method for CMOS
settings such as in the Award and other common BIOS screens.
I had to use a diagnostics diskette to find the address.
This makes me wonder why a full blown Linux installation CD (SuSE 7.0
gets it wrong while at the same time, I can talk to LPT1: without
problems from a simple DOS boot disk.
If this is not a Linux showstopper then I don't know what else is.
Bernie
[EMAIL PROTECTED] wrote:
>In article <8ve0jc$gii$[EMAIL PROTECTED]>,
> Huw Lynes <[EMAIL PROTECTED]> wrote:
>>
>>
>> > > what does # lpc status
>> > > show happening?
>> >
>> > I'm at work now, as soon as I get home, I will check and post it.
>> > Thanx
>> > P.
>> >
>> > Sent via Deja.com http://www.deja.com/
>> > Before you buy.
>> >
>>
>> Plus (I forgot in my first post) can you send text direct to the printer
>> e.g. #cat somefile.txt > /dev/lp0
>> obviously your printer may be lp1 or lp2 etc. This will check that the
>> hardware is functioning. Hope this catches you before you leave work.
>>
>> Huw
>>
>> Sent via Deja.com http://www.deja.com/
>> Before you buy.
>>
>
>One more piece of info. My /var/log/messages says:
>
>parport0: PC-style at 0x378, irq 5 [SPP,PS2]
>parport0: no IEEE-1284 device present
>lp0: using parport0 (interrupt driven)
>lpd: startup succeeded
>
>Does the fact that it doesn't find an IEEE-1284 device mean that the
>printer is somehow not comaptible with my system?
>
>P.
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.
------------------------------
From: "Z" <[EMAIL PROTECTED]>
Crossposted-To:
alt.os.linux.mandrake,alt.os.linux.slackware,alt.uu.comp.os.linux.questions,comp.os.linux.development.system,comp.os.linux.misc,comp.os.linux.networking,comp.os.linux.hardware
Subject: Re: What is the command to . . . ?
Date: Mon, 11 Dec 2000 09:26:51 +0100
Once upon a while [EMAIL PROTECTED] wrote:
> I am looking for the command that will help me compare two directory
> structures.
>
> I just did a file copy to an NFS drive and I want to make sure that I
> got everything.
>
> I used
> cp -axv /dev /mnt/vol00
> cp -axv /bin /mnt/vol00
> cp -axv/usr /mnt/vol00
> etc . . .
>
> Doing some sampling, it appears that everything copied okay.
>
> What I am looking for is the equivalent to this
> dos command: dir *.* /s
>
> i.e. I am looking for file counts and directory counts as well as
> total sizes.
>
> thanks in advance,
> charles
>
> p.s.
> linux 8)
>
What I usually do to verify my copy is
"du" the original and the copy filesystem.
If you want to check every single file it
might be a good idea to write the two dumps
into two temporary files and "diff" these.
--
Z ([EMAIL PROTECTED])
"LISP is worth learning for the profound enlightenment experience
you will have when you finally get it; that experience will make you
a better programmer for the rest of your days." -- Eric S. Raymond
------------------------------
From: [EMAIL PROTECTED] (Richard Steiner)
Crossposted-To: alt.os.linux.suse
Subject: Re: Recommendation on a modem to use with Linux
Reply-To: [EMAIL PROTECTED]
Date: Mon, 11 Dec 2000 02:25:57 -0600
Here in comp.os.linux.setup, Richard Everhart <[EMAIL PROTECTED]>
spake unto us, saying:
>I have a "winmodem" at the moment, and as many know, they are difficult
>if not (well, for me at least) impossible to make work with Linux. Of
>the modems that work well with Linux, which ones are the best to
>purchase?
If cost isn't an issue for you, you could do a lot worse than buying an
external USR Courier. I've had one here for quite a while (it says
"V.34 ready", so it predates that protocol), and I couldn't be happier
with it.
Just about any external modem that uses a standard serial port should
be fine, actually.
--
-Rich Steiner >>>---> [EMAIL PROTECTED] >>>---> Eden Prairie, MN
OS/2 + BeOS + Linux + Solaris + Win95 + WinNT4 + FreeBSD + DOS
+ PC/GEOS + Fusion + vMac + Executor = PC Hobbyist Heaven! :-)
"Not a morning person" doesn't even BEGIN to cover it...
------------------------------
From: [EMAIL PROTECTED] (Paul Colquhoun)
Crossposted-To:
alt.os.linux.mandrake,alt.os.linux.slackware,alt.uu.comp.os.linux.questions,comp.os.linux.development.system,comp.os.linux.misc,comp.os.linux.networking,comp.os.linux.hardware
Subject: Re: What is the command to . . . ?
Reply-To: <[EMAIL PROTECTED]>
Date: Mon, 11 Dec 2000 08:47:02 GMT
On Mon, 11 Dec 2000 04:30:09 GMT, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
|I am looking for the command that will help me compare two directory
|structures.
|
|I just did a file copy to an NFS drive and I want to make sure that I
|got everything.
|
|I used
|cp -axv /dev /mnt/vol00
|cp -axv /bin /mnt/vol00
|cp -axv/usr /mnt/vol00
|etc . . .
|
|Doing some sampling, it appears that everything copied okay.
|
|What I am looking for is the equivalent to this
|dos command: dir *.* /s
|
|i.e. I am looking for file counts and directory counts as well as
|total sizes.
'diff' will do this.
diff -r --brief /dev /mnt/vol00/dev
etc.
--
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: Eric <[EMAIL PROTECTED]>
Subject: Re: FIPS Problems
Date: Mon, 11 Dec 2000 09:57:24 +0100
Reply-To: [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
>
> I am tring to resise the Win98 FAT32 partition on my machine. The HD
> is 10GB and i would like to have a 2GB Linux Native partition and the
> rest for winblows. Now i have used FIPS on another machine with no
> problem. but for some reason this machine has a cluster that winblows
> defrag won't move close to the end of the drive. The result is that i
> can only get a 800M partition. I have tried turning off winblows swap
> file and re-defragin' but that damn cluster won't move. Can anyone
> help me with this?
>
> all for now,
> VistA
> [EMAIL PROTECTED]
Not sure if you got this solved yet,
but you'd better ask in a windows NG.
Defragging a FAT FS is something someone over there should know.
Eric
------------------------------
From: "Dan Jacobson" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.mandrake
Subject: mandrake 7.2 default screensaver behavior: how to customize?
Date: Mon, 11 Dec 2000 12:16:37 +0800
mandrake 7.2 default screensaver behavior: my observation:
1. after maybe 10 minutes of keyboard/mouse inactivity the screen goes black.
2. after some more minutes the tube's power is lowered
I like that. No neat graphics for me, black is fine, but how can I start this
blackness right
away if I want, via a command, icon press etc.?
Also how can I adjust the times in (1),(2) above?
I looked at man xscreensaver and, well, never mind that.
--
www.geocities.com/jidanni E-mail: restore ".com." �n����
Tel:+886-4-5854780; starting in year 2001: +886-4-25854780
------------------------------
From: Eric <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: What is the command to . . . ?
Date: Mon, 11 Dec 2000 10:44:40 +0100
Reply-To: [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
>
> I am looking for the command that will help me compare two directory
> structures.
>
> I just did a file copy to an NFS drive and I want to make sure that I
> got everything.
>
> I used
> cp -axv /dev /mnt/vol00
> cp -axv /bin /mnt/vol00
> cp -axv/usr /mnt/vol00
> etc . . .
>
> Doing some sampling, it appears that everything copied okay.
>
> What I am looking for is the equivalent to this
> dos command: dir *.* /s
>
> i.e. I am looking for file counts and directory counts as well as
> total sizes.
>
skipped LOTS of irrelevant NG's
This kind of posting is considered spamming. STOP IT.
to answer your question:
man diff
Eric
------------------------------
From: "Steve Cox" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.mandrake
Subject: Re: mandrake 7.2 default screensaver behavior: how to customize?
Date: Mon, 11 Dec 2000 09:55:58 GMT
Look for the power saving features in gnome and kde control centre/panel etc
Also, the facility is enabled/disabled in the XF86Config and XF86Config-4
files are "power saver" and "DPMS"
"Dan Jacobson" <[EMAIL PROTECTED]> wrote in message
news:9127ae$rms$[EMAIL PROTECTED]...
> mandrake 7.2 default screensaver behavior: my observation:
> 1. after maybe 10 minutes of keyboard/mouse inactivity the screen goes
black.
> 2. after some more minutes the tube's power is lowered
> I like that. No neat graphics for me, black is fine, but how can I start
this
> blackness right
> away if I want, via a command, icon press etc.?
> Also how can I adjust the times in (1),(2) above?
> I looked at man xscreensaver and, well, never mind that.
> --
> www.geocities.com/jidanni E-mail: restore ".com." �n����
> Tel:+886-4-5854780; starting in year 2001: +886-4-25854780
>
>
------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: Puzzling problem with LILO hanging
Date: Mon, 11 Dec 2000 11:02:47 +0100
Reply-To: [EMAIL PROTECTED]
Can your BIOS boot from this disc/controller at all?
Otherwise, you're hosed. Make a small /boot on a disc that is bootable.
That should solve your problems for sure.
(You did create the right bootimage to add to the NT loader, right?
check it manually to see if it is correct.
Eric
------------------------------
From: Jacek Trzcinski <[EMAIL PROTECTED]>
Subject: RH 7.0 and LILO
Date: Mon, 11 Dec 2000 11:02:35 +0100
Reply-To: [EMAIL PROTECTED]
Hi !
I have installed Red Hat 7.0. I have 30GB disk. I made extended
partition
20GB in size. LILO I installed in MBR. For linux I made three partitions
on extended partition: 5GB partition for system, 2GB partition for /home
and 128MB partition for swap.
Everyrhing seems to work OK. I have to kernels to choose from LILO
during booting (2.2.16smp and 2.2.16).
Unfortunately, any attemptions to add new kernel images to
/etc/lilo.conf
or even attemption to execute /sbin/lilo with original contents of
/etc/lilo.conf fails .
/sbin/lilo prints messagess that it is adding new images (Add
.......-with
original contents of /etc/lilo.conf I have two Add.. lines of course)
but at the end it prints that it is not able to find any kernel images
!!!
Of course nothing is updated. What causes such behaviour of /sbin/lilo ?
Than in advance for any response.
Jacek Trzcinski
------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: Reverting back to no XWindows @ bootup?
Date: Mon, 11 Dec 2000 11:04:41 +0100
Reply-To: [EMAIL PROTECTED]
Alex Walker wrote:
>
> Hi
>
> I've setup my RedHat 6.2 box so that Gnome starts at after the system
> boots up. I'd like to revert back to a manual start up of Gnome by
> users. But I don't know what file I should alter or how since that
> was an option when I installed the system. Would someone point me in
> the right direction?
>
The file you want is /etc/inittab
Read it, and change the appropriote line: it's pretty well documented
Eric
------------------------------
** 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.setup.
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-Setup Digest
******************************