Linux-Misc Digest #706, Volume #27 Tue, 24 Apr 01 08:13:01 EDT
Contents:
Re: Best way to upgrade to RH 7.1 with CDs ? (Christian Rose)
Re: ? auto insmod for zip (max)
Re: Tired of XEMACS, moving to VIM (Phillip Lord)
Re: 10G partition, 6G ext2 file system! (Ian Northeast)
Re: telnet and ftp woes (Ian Northeast)
Re: Apache puzzle (Ian Northeast)
Re: Best way to upgrade to RH 7.1 with CDs ? (Christian Rose)
location of wallpaper image files ("Alex Meaden")
Re: move linux install to new HD (SammyTheSnake)
Re: telnet and ftp woes ("Peter T. Breuer")
Help with wu-ftpd ("ironman")
Re: what is this error from rpc ? (Suresh Ramasubramanian)
Re: 10G partition, 6G ext2 file system! ("Peter T. Breuer")
Re: Help with wu-ftpd ([EMAIL PROTECTED])
Re: kde or gnome - which on is more stable on rh ? ("Wayne Osborn")
Re: what is this error from rpc ? ("Magnus")
Re: RAID question. ("AK")
Re: IS YOUR PC SPYING ON YOU 5766 (Martha H Adams)
Formatting gcc output? (Jaz)
Re: 10G partition, 6G ext2 file system! (Robert Heller)
Re: Can't get program to run from inetd (Michel Bardiaux)
disable telnet ("FooSi")
Re: Voodoo (usual) problems (Steve Martin)
----------------------------------------------------------------------------
From: Christian Rose <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Best way to upgrade to RH 7.1 with CDs ?
Date: Tue, 24 Apr 2001 12:24:24 +0200
Stanislaw Flatto wrote:
> Answer to subject title: Stay with 7.0
Why should he, if he wants to upgrade?
> seems to be less misshap prone
Please elaborate.
> or get real Linux. (No names)
Just the Linux kernel alone is not enough for most of us, I believe. I
think having a complete operating system is more useful.
Christian
------------------------------
From: max <[EMAIL PROTECTED]>
Subject: Re: ? auto insmod for zip
Date: Tue, 24 Apr 2001 12:24:09 +0200
Tobias Schenk wrote:
> Hi,
>
> howto load the module ide-scsi automatically when mounting my ZIP250
> drive?
>
> myway #>insmod ide-scsi
> myway #>mount /dev/sda4 /mnt/zip
>
> works. Howto get rid of the insmod line?
>
> Thank you,
>
> Tobias
I've solved the problem by adding the line
modprobe ide-scsi
to my /etc/rc.d/rc.local file. The ide-scsi module will then be loaded at
boot.
Hope this helps,
max
------------------------------
From: Phillip Lord <[EMAIL PROTECTED]>
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: 24 Apr 2001 11:25:44 +0100
>>>>> "Richard" == Richard Hoskins <[EMAIL PROTECTED]> writes:
Richard> "Edward Rosten" <[EMAIL PROTECTED]> writes:
>> Real programmers do that on _mechanical_ compters made from cast
>> iron.
Richard> *Cast* iron? I'm still smithing my difference engines!
Well I just count using my fingers.
Phil
------------------------------
From: Ian Northeast <[EMAIL PROTECTED]>
Subject: Re: 10G partition, 6G ext2 file system!
Date: Tue, 24 Apr 2001 11:32:18 +0100
Svend Olaf Mikkelsen wrote:
>
> Tim Holmes <[EMAIL PROTECTED]> wrote:
>
> >Hello,
> >
> >I am partitioning a new hard drive to install Linux, and
> >I created a 10G partition, then set up the ext2 file system
> >with mke2fs. fdisk says it is 10G, but df and e2fsck say
> >that the file system is only 6G.
> >
> >What could cause this?
> >
> >Thanks,
> >
> >Tim Holmes
>
> Did you reboot after making the partition and before making the file
> system? Due to not documented Linux bugs, you must do that. If anybody
> denies this, do not listen to them.
There seems to be some confusion about this. I recently did exactly what
the OP tried - added a new disk and put a 10Gb partition on it. I didn't
reboot and the resulting filesystem is 10Gb. However, others I know have
experienced the problem. I've heard it said that it is something to do
with already having mounted partitions on the disk but I can't see what
the mechanism is.
In my case I already had sda and sdb, and the new disk was hda BTW.
Does anyone know what the true case is, i.e. exactly when you do and do
not have to reboot?
Regards, Ian
------------------------------
From: Ian Northeast <[EMAIL PROTECTED]>
Subject: Re: telnet and ftp woes
Date: Tue, 24 Apr 2001 11:34:04 +0100
Mark wrote:
>
> I got to a college and the server we connect to is running Slackware. Inside
> of the domain it takes atleast a minute to connect to telnet and ftp. Now if
> you try connecting to the same ftp or telnet site from anywhere else it
> connects in 2 seconds. What could be some possible issues?
This comes up time and time again. The server is unable to resolve the
client's IP address and waits while gethostbyaddr() times out. Contact
your DNS admin to get it fixed.
Regards, Ian
------------------------------
From: Ian Northeast <[EMAIL PROTECTED]>
Subject: Re: Apache puzzle
Date: Tue, 24 Apr 2001 11:38:09 +0100
Elliott wrote:
>
> I'm not sure what news group to publish this to, but this one seems like
> a good start.
> I can't figure out how to do this:
> I've got a network at home with 4 red hat/intel linux computers and 1
> Darwin/OSX(BSD) ppc computer. They are all on a subnet, going through a
> router, using 192.168.1.* addresses (internal). External addresses are
> fully qualified ip addresses, such as 129.137.22.34. Anyway, I've got a
> dynamic dns account at hobbiton.org, which basically points people
> looking for whatever.com (I'm not posting my real web site here yet) to
> my ever-changing ip address, which, when it changes, automatically
> updates the dns record at hobbiton.org. With me so far?
> Well, I would like to serve additional web sites from my house, on
> different computers. Ie, bla.whatever.com, and blabla.whatever.com will
> connect to different computers within my subnet at home.
> Here's what I can do so far:
> I can make bla.whatever.com and blabla.whatever.com link to my ip
> address. No prob. And I can route a single computer to port 80 requests
> on the router. No prob.
> But I have no idea how to make the computer that gets the request on
> port 80 re-direct it, based on the entire request (BLABLA.whatever.com),
> to another computer within my subnet. I only have one extrenal ip
> address.
Look into the ProxyPass and RewriteRule etc. Apache directives. These
will do what you want. If you want more help I suggest trying an Apache
group.
Regards, Ian
------------------------------
From: Christian Rose <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Best way to upgrade to RH 7.1 with CDs ?
Date: Tue, 24 Apr 2001 12:43:43 +0200
Lou wrote:
> What is the best way to upgrade using CDs? Use the tools that launch
> from the boot floppy?
Or from the CD. The CD is normally bootable, so if you have a computer
which can boot from the CD, you don't have to mess around with floppies.
Yes, normally just starting the installer and selecting "Upgrade" is the
easiest way.
> Or is there an app to use in a more regular way on a running system?
I don't know about "running system". Almost all version upgrades of any
Linux distributions will include a new version of the kernel, and you
can't switch to running a new Linux kernel on a running system.
Christian
------------------------------
From: "Alex Meaden" <[EMAIL PROTECTED]>
Subject: location of wallpaper image files
Date: Tue, 24 Apr 2001 11:44:15 +0100
Can someone please tell me what file the wallpaper image files are stored in
on the Red Hat 7.0 CD?
TIA,
Alex.
--
Mr Alex E J Meaden
Computer Science BSc Student
University of Kent at Canterbury
[EMAIL PROTECTED]
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (SammyTheSnake)
Subject: Re: move linux install to new HD
Date: Tue, 24 Apr 2001 02:21:35 +0100
In article <9h12c9.ml9.ln@helix>, Steve Wolfe wrote:
>> I have a HD that appears to be on its last leg. I would like to move the
>> contents of the entire HD onto a new one and be able to boot off of
>> that. What's the safest way to do this? Thanks.
>
> If you search for the "harddisk upgrade howto", it walks you through a few
>ways.
and if you can't be bothered to, it's here:
http://linuxdoc.org/HOWTO/mini/Hard-Disk-Upgrade/index.html
Cheers & God bless
SammyTheSnake
--
Sam.Penny @ Ntlworld.com | Looking for a computer related
Linux, Hardware & Juggling specialist :-) | job, if you can help, e-mail me :)
Wheels: bike, 'ickle bike, and unicycle. | /o \/
Boxen: K6-266@300, dual Celery500 & Nx486 | \__/\
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: telnet and ftp woes
Date: Tue, 24 Apr 2001 12:49:00 +0200
Mark <[EMAIL PROTECTED]> wrote:
> I got to a college and the server we connect to is running Slackware. Inside
> of the domain it takes atleast a minute to connect to telnet and ftp. Now if
> you try connecting to the same ftp or telnet site from anywhere else it
> connects in 2 seconds. What could be some possible issues?
dns. Particularly inverse lookup.
Peter
------------------------------
From: "ironman" <[EMAIL PROTECTED]>
Subject: Help with wu-ftpd
Date: Tue, 24 Apr 2001 21:04:02 +1000
Hi boys and girls,
As a windows user and a very very limited mandrake user. I got it installed,
connected to the net and irc and all that stuff going, even managed to get
samba working like a dream :))))))))))
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
hosts, ftpaccess ftpusers etc etc etc files all seem to have the right
things in them yet when i ftp localhost I get a 421 error. Any suggestions
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
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
to click, install, click add user, click add home dir, click start server
and it runs. I am trying to curb my ways and learn. I learn from experience
though, not total frustration at nothing happening.
tia
ironman
------------------------------
From: [EMAIL PROTECTED] (Suresh Ramasubramanian)
Crossposted-To:
comp.os.linux.help,comp.os.linux.networking,comp.os.linux.questions,comp.os.linux.security,redhat.security.general
Subject: Re: what is this error from rpc ?
Date: 24 Apr 2001 11:18:13 GMT
Reply-To: [EMAIL PROTECTED]
Chris proclaimed on comp.os.linux.misc that:
> Hi I've been getting the following in my 'messages' log file..
> could some explain what it is please !
> Apr 22 03:44:37 busby rpc.statd[460]: gethostbyname error for
> ^X÷ÿ¿^X÷ÿ¿^Y÷ÿ¿^Y÷ÿ¿^Z÷ÿ¿^Z÷ÿ¿^[÷ÿ¿^[÷ÿ¿%8x%8x%8x%8x%8x%8x%8x%8x%8x%236x%n%1
> 37x%n%10x%n%192x%n\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
Sounds like a buffer overflow attempt to me. Upgrade - or dont run rpc
services if you dont use 'em.
-s
--
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: 10G partition, 6G ext2 file system!
Date: Tue, 24 Apr 2001 12:54:04 +0200
Ian Northeast <[EMAIL PROTECTED]> wrote:
> Does anyone know what the true case is, i.e. exactly when you do and do
> not have to reboot?
You never have to reboot IF you can unmount (and remount later) every
partition in use on the disk on which you will change the partition table.
The kernel won't reread the partition table while there are
references to the current one still open. It makes the ioctl (reread!)
from fdisk fail.
The only way of absolutely guaranteeing that there are no references open,
of course, is to reboot. Then the kernel will have to rerread the
table.
Peter
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Help with wu-ftpd
Date: 24 Apr 2001 11:21:29 GMT
ironman <[EMAIL PROTECTED]> wrote:
> things in them yet when i ftp localhost I get a 421 error. Any suggestions
Have you installed inetd (or xinetd) and configured /etc/inetd.conf to
start wu-ftpd when asked ?
Davide
------------------------------
From: "Wayne Osborn" <[EMAIL PROTECTED]>
Subject: Re: kde or gnome - which on is more stable on rh ?
Date: Tue, 24 Apr 2001 19:23:19 +0800
In article <9c32av$[EMAIL PROTECTED]>, "tvn"
<[EMAIL PROTECTED]> wrote:
> Hi, rh shipped with gnome as its default so does that mean it is better
> to run gnome on rh ?
>
> thanks
It's a matter of preference.
I prefer the look of Gnome/Sawfish but it comes at a cost - RAM.
I prefer some of KDE's features over Gnome... Like drag and drop desktop
shortcuts.
KDE provides a plethora of software, most of it older than that provided
with Gnome, it is therefore more developed and sorted.
Gnome 1.0 was quite unstable (I used it with RH6.0), 1.2 (RH7.0) is a lot
more stable & faster (IMHO).
--
Wayne A. Osborn, SCADA Engineer.[dnar AT iinet DOT net DOT au]
Registered Linux User #212818. [2.2.16-22-Win4Lin-686] [i686]
7:10pm up 1 day, 19:34, 2 users, load average: 1.02, 1.04, 1.07
...GIVE: Support the helpless victims of computer error.
------------------------------
From: "Magnus" <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.help,comp.os.linux.networking,comp.os.linux.questions,comp.os.linux.security,redhat.security.general
Subject: Re: what is this error from rpc ?
Date: Tue, 24 Apr 2001 11:28:12 GMT
You shouldnt let rpc open to the internet, unless you seriously need to.
and if you do, you should use secure RPC.
RPC is most probably not needed out on internet in youre case... disable it
or configure it properly.
Magnus
"Chris" <[EMAIL PROTECTED]> wrote in message
news:9c3cad$2g2$[EMAIL PROTECTED]...
> Hi I've been getting the following in my 'messages' log file..
> could some explain what it is please !
>
> thanks
>
>
> Apr 22 03:44:37 busby rpc.statd[460]: gethostbyname error for
>
^X÷ÿ¿^X÷ÿ¿^Y÷ÿ¿^Y÷ÿ¿^Z÷ÿ¿^Z÷ÿ¿^[÷ÿ¿^[÷ÿ¿%8x%8x%8x%8x%8x%8x%8x%8x%8x%236x%n%1
>
37x%n%10x%n%192x%n\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
> 20\220\220\220\220\220\220\220\220\220\220\220\220\220
> Apr 23 01:49:39 busby rpc.statd[460]: gethostbyname error for
>
^X÷ÿ¿^X÷ÿ¿^Y÷ÿ¿^Y÷ÿ¿^Z÷ÿ¿^Z÷ÿ¿^[÷ÿ¿^[÷ÿ¿%8x%8x%8x%8x%8x%8x%8x%8x%8x%236x%n%1
>
37x%n%10x%n%192x%n\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
> 20\220\220\220\220\220\220\220\220\220\220\220\220\220
> Apr 23 06:33:42 busby rpc.statd[460]: gethostbyname error for
>
^X÷ÿ¿^X÷ÿ¿^Y÷ÿ¿^Y÷ÿ¿^Z÷ÿ¿^Z÷ÿ¿^[÷ÿ¿^[÷ÿ¿%8x%8x%8x%8x%8x%8x%8x%8x%8x%236x%n%1
>
37x%n%10x%n%192x%n\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
> 20\220\220\220\220\220\220\220\220\220\220\220\220\220
> Apr 23 21:11:33 busby rpc.statd[460]: gethostbyname error for
>
^X÷ÿ¿^X÷ÿ¿^Y÷ÿ¿^Y÷ÿ¿^Z÷ÿ¿^Z÷ÿ¿^[÷ÿ¿^[÷ÿ¿%8x%8x%8x%8x%8x%8x%8x%8x%8x%236x%n%1
>
37x%n%10x%n%192x%n\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
> 20\220\220\220\220\220\220\220\220\220\220\220\220\220
> Apr 23 23:43:46 busby rpc.statd[460]: gethostbyname error for
>
^X÷ÿ¿^X÷ÿ¿^Y÷ÿ¿^Y÷ÿ¿^Z÷ÿ¿^Z÷ÿ¿^[÷ÿ¿^[÷ÿ¿%8x%8x%8x%8x%8x%8x%8x%8x%8x%236x%n%1
>
37x%n%10x%n%192x%n\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
>
20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
> 20\220\220\220\220\220\220\220\220\220\220\220\220\220
>
>
------------------------------
From: "AK" <[EMAIL PROTECTED]>
Crossposted-To: alt.windows98
Subject: Re: RAID question.
Date: Mon, 23 Apr 2001 13:18:17 +0100
"Peter T. Breuer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> In comp.os.linux.misc AK <[EMAIL PROTECTED]> wrote:
> > Although I have no Linux on this GXP .. how can I add a Linux
> > partion and have the RAID performance increase. I guess RAIDing
>
> You can't. You only have one drive, hence no performance increase. You
> need two drives (and two controllers, if not scsi :-) to be able to do
> two things at once, and hence go faster.
>
No no hehe I have two GXPs now..!
> > would destroy my partitions?
>
> > My guess is that I cant but.. I am confused at what RAID does to
> > the partitions and at what layer it operates.
>
> Then perhaps you should read the RAID HOWTOs?
>
> Peter
------------------------------
Crossposted-To: comp.os.linux.embedded,comp.os.linux.hardware,comp.os.linux.m68k
From: [EMAIL PROTECTED] (Martha H Adams)
Subject: Re: IS YOUR PC SPYING ON YOU 5766
Date: Tue, 24 Apr 2001 11:51:00 GMT
I just saw this same piece of spam in one of the fandom sites. To my eye,
its maker has just proved he doesn't know beans about the technology he
offers to sell. But he raises an interesting question:
How do you get to post a file into usenet without using any newlines? Does
this person know *at all* what he's doing?
Seems to me, this topic belongs in one of the security sites.
Cheers -- Martha Adams
------------------------------
Subject: Formatting gcc output?
From: [EMAIL PROTECTED] (Jaz)
Date: Tue, 24 Apr 2001 11:58:00 GMT
Hello
I am compiling many files. Is there a way to format the output by adding a
linespace or two between all the modules compiled so the gcc output is easier
to read?
--
Regards
Jaz
PS: Please remove 'X' in my email address to obtain
the correct address.
------------------------------
From: Robert Heller <[EMAIL PROTECTED]>
Subject: Re: 10G partition, 6G ext2 file system!
Date: 24 Apr 2001 12:12:48 GMT
"Peter T. Breuer" <[EMAIL PROTECTED]>,
In a message on Tue, 24 Apr 2001 12:54:04 +0200, wrote :
"TB> Ian Northeast <[EMAIL PROTECTED]> wrote:
"TB> > Does anyone know what the true case is, i.e. exactly when you do and do
"TB> > not have to reboot?
"TB>
"TB> You never have to reboot IF you can unmount (and remount later) every
"TB> partition in use on the disk on which you will change the partition table.
"TB>
"TB> The kernel won't reread the partition table while there are
"TB> references to the current one still open. It makes the ioctl (reread!)
"TB> from fdisk fail.
"TB>
"TB> The only way of absolutely guaranteeing that there are no references open,
"TB> of course, is to reboot. Then the kernel will have to rerread the
"TB> table.
Good rule of thumb:
Never mess with the partition table on a disk with mounted
partitons, unless there are no other options, in which case you will
have to reboot after using fdisk.
"TB>
"TB> Peter
"TB>
--
\/
Robert Heller ||InterNet: [EMAIL PROTECTED]
http://vis-www.cs.umass.edu/~heller || [EMAIL PROTECTED]
http://www.deepsoft.com /\FidoNet: 1:321/153
------------------------------
From: Michel Bardiaux <[EMAIL PROTECTED]>
Subject: Re: Can't get program to run from inetd
Date: Tue, 24 Apr 2001 12:00:21 GMT
"John W. Krahn" wrote:
>
> [EMAIL PROTECTED] wrote:
> >
> > I'm trying to get a small Perl program (/etc/kdttest) to run from inetd:
> >
> > #!/usr/bin/perl
> >
> > while ($line=<STDIN>)
> > {
> > chomp ($line);
> > print "You said: $line\n";
> > if ($line eq '.')
> > { exit; }
> > }
> >
> > I can run this program interactively and it works as expected (permissions
> > set to 755). I have tried all of the following but nothing works (sorry
> > if some of it wraps). In the actual files, I have not indented the lines;
> > I have done that here to make it easier to read:
> >
> > 1. In /etc/inetd.conf:
> > 62010 stream tcp nowait root /etc/kdttest
> >
> > 2. In /etc/inetd.conf:
> > 62010 stream tcp nowait root /usr/sbin/tcpd
> > /etc/kdttest
> >
> > 3. In /etc/inetd.conf:
> > 62010 stream tcp nowait root /usr/sbin/tcpd
> > /usr/bin/perl /etc/kdttest
> >
> > 4. In /etc/services:
> > kdt1 62010/tcp # Testing
> >
> > and then in /etc/inetd.conf:
> > kdt1 stream tcp nowait root /etc/kdttest
> >
> > I then completely kill inetd and run it again. This is what
> > I get in /var/log/messages:
> >
> > Apr 23 15:30:39 thorin inetd[31597]: 62010/tcp: bind: Address already in
> > use
> >
> > However if I take the one line out of /etc/inetd.conf and restart
> > inetd I still can't telnet on this port so I can't understand why
> > the port is already in use.
> >
> > I have spent quite some time searching for info on the web for
> > this but cannot find anything. Am I doing something stupid?
>
> 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.
>
> The perlipc man page will explain how to create a daemon and connect to
> ports.
That concerns only programs that do *not* run from inetd.
>
> John
> --
> use Perl;
> program
> fulfillment
Greetings
--
Michel Bardiaux
------------------------------
From: "FooSi" <[EMAIL PROTECTED]>
Subject: disable telnet
Date: Tue, 24 Apr 2001 19:24:37 +0800
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..
------------------------------
From: Steve Martin <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.x
Subject: Re: Voodoo (usual) problems
Date: Tue, 24 Apr 2001 05:14:52 -0400
mrsmith wrote:
> >export FX_GLIDE_SWAPINTERVAL=0
> >
> >this will de-link the fps from the vertical refresh. I get ~ 450fps with
> >4.0.1.
>
> I tried this and it did give me a very high frame rate. I have a
> couple of questions. Will this do any harm to my hardware? How do you
> make it permanent? Why does it only work if you start the demo from
> the command prompt and not from KDE?
Won't hurt the hardware at all.
Put
FX_GLIDE_SWAPINTERVAL=0
export FX_GLIDE_SWAPINTERVAL
in your /etc/profile file, then it'll kick in whenever anyone logs in.
This should also make it work for you from KDE.
------------------------------
** 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
******************************