Linux-Development-Sys Digest #781

2001-06-10 Thread Digestifier

Linux-Development-Sys Digest #781, Volume #8 Mon, 11 Jun 01 02:13:09 EDT

Contents:
  Re: Request for comment - notion for cpuset option in umask. (Paul Jackson)
  Locked Directory for floppy  CDROM (Jose W. Shermanson)
  Re: Linux-2.4.5
  Re: why un*x does not support select/poll events on directories? 
([EMAIL PROTECTED])
  Re: why un*x does not support select/poll events on directories? 
([EMAIL PROTECTED])
  Re: winmodem source file can be modified ? (Karsten Jensen)
  Re: Linux-2.4.5 (Karl Heyes)
  a question about MBR (Zhu Liming)
  about EBIOS (Zhu Liming)
  Re: winmodem source file can be modified ? (Maximus Idius2)
  Re: winmodem source file can be modified ? (Maximus Idius2)
  Anjuta IDE :: Integreated Development Environment for C/C++) :: Gnome (Misha)
  Re: Locked Directory for floppy  CDROM (Jerry Peters)
  Parsing error (Greg K)
  Re: Parsing error
  Re: a question about MBR (cLIeNUX user)
  close or shutdown the tcp socket when it is in SYN_SEND (HuYp)
  Re: a question about MBR (Zhu Liming)



From: [EMAIL PROTECTED] (Paul Jackson)
Subject: Re: Request for comment - notion for cpuset option in umask.
Date: 10 Jun 2001 07:09:14 GMT


Oops  - my subject should say ulimit, not umask.
-- 

  I won't rest till it's the best ...
  Manager, Linux Scalability
  Paul Jackson [EMAIL PROTECTED] 1.650.933.1373

--

From: Jose W. Shermanson [EMAIL PROTECTED]
Subject: Locked Directory for floppy  CDROM
Date: Sun, 10 Jun 2001 07:31:54 -

I'm not sure this is a kernal question or a file system one but I cannot
access my CDROM nor my floppy.  I recently loaded Mandrake Linux v8.0.  All
went well for about 2 weeks and then, for some reason unknown to me, when I
attempt to access my CDROM or floppy, I get an error message You do not
have enough permissions to read file:/mnt/floppy.  The file type column
displayed by konqueror says locked directory.  I suspect I somehow shut
down LINUX while these devices were busy and the condition hasn't been
cleared.  Any suggestions short of re-installing would be appreciated.  I
am a total novice to LINUX but have 30+ years experience with mainframe
OSs.  Thanks.  Jose

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

--

From: [EMAIL PROTECTED]
Subject: Re: Linux-2.4.5
Date: Sun, 10 Jun 2001 07:32:02 -


Karl Heyes wrote:
 
 In article [EMAIL PROTECTED], Unknown
 [EMAIL PROTECTED] wrote:
 
 
  I have been trying to upgrade from RH2.2.12-20 to kernel 2.4.5. I am 
running
  an AMD-K6-2 processor with 64mb ram, a CreativeLabs PCI 512 sound card, 
and
  a Lynksys NIC. The kernel freezes at boot. It only gets as for as
  Uncompressing linux Ok boot. This not verbatum but close. I tried 
2.4.3
  previously with the same problem. The pathes were unsuccessful.  B.M.
  Richard
 
 Did you build 2.4.5 with virtual console support? if not then that would
 explain it.  
 
 karl
The kernel was built with virtual console support. I rebuilt it with the 
same result .
 
Blaine


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

--

From: [EMAIL PROTECTED]
Subject: Re: why un*x does not support select/poll events on directories?
Date: 10 Jun 2001 07:14:35 GMT

On 8 Jun 2001 11:23:18 -0400 Alexander Viro [EMAIL PROTECTED] wrote:
| In article 9fqpek$2ge$[EMAIL PROTECTED],
|  [EMAIL PROTECTED] wrote:
|
|if everything is a file why not unix designers add directory events to
|select/poll system calls?
|
| Because select/poll is not a part of design, it's a hack added afterwards.
| Broken one, at that.

kevent() looks like a better design to me.

-- 
=
| Phil Howard - KA9WGN |   Dallas   | http://linuxhomepage.com/ |
| [EMAIL PROTECTED] | Texas, USA | http://phil.ipal.org/ |
=

--

From: [EMAIL PROTECTED]
Subject: Re: why un*x does not support select/poll events on directories?
Date: 10 Jun 2001 07:22:21 GMT

On 8 Jun 2001 16:11:09 -0400 Alexander Viro [EMAIL PROTECTED] wrote:
| In article 9fr2sf$3in$[EMAIL PROTECTED],  [EMAIL PROTECTED] wrote:
|
| Because select/poll is not a part of design, it's a hack added afterwards.
| Broken one, at that.
|
|I'm curious on why they did not add directory events,
|
| Think of network filesystems. There you have no way to generate such
| events without sending a packet storm upon every file creation.

So the alternative, polling the directory for any changes every
cycle of time, is better?

What about the idea of registering an interest in changes in a
resource by certain processes inside the kernel, and when the
change happens, put the interest element onto a queue to go into
the dispatcher?  Then run the process (in the kernel) when the
change happens

Linux-Development-Sys Digest #781

2000-04-17 Thread Digestifier

Linux-Development-Sys Digest #781, Volume #7 Mon, 17 Apr 00 10:13:19 EDT

Contents:
  Re: device driver development (Mei)
  mawk ("Hook")
  Re: Simple but confusing C code query... (Johan Kullstam)
  Re: Where are the environment variables? ([EMAIL PROTECTED])
  Re: How do I make a program run on localhost:200 ("Benjamin R Heath")
  Re: Simple but confusing C code query... (Mike Dowling)
  Re: What's the difference between bzImage and zImage (greg)
  Code reviewers wanted (Manon Kwint)
  Code reviewers wanted (Arnaud Westenberg)
  Timerinterrupt ([EMAIL PROTECTED])
  Questions on C GUI development for X/Linux (Michael Hopkins)
  Re: delay start up for somve services ("Stephen Kennedy")
  Re: MICROSOFT IT THRU!  MICROSOFT IS THRU! ("Drestin Black")
  Re: MS caught breaking web sites ("Drestin Black")
  How do you generate UUID under Linux? ("James Ricci")



From: Mei [EMAIL PROTECTED]
Subject: Re: device driver development
Date: Mon, 17 Apr 2000 12:39:05 +0200
Reply-To: 
[EMAIL PROTECTED]

Rick Ellis ha scritto:
 The rmmod works with the name of the driver without .o suffix. So in you load
 it with
 
 insmod driver.o
 
 you must remove with
 
 rmmod driver
 
 Have the .o works for me:
 
 [root@dualpritest dvg]# rmmod mvclni2sngl.o
 [root@dualpritest dvg]#
 

It's strange. It doesn't work for me with .o. It says that driver.o doesn't
exist.

Ciao Mei

--

From: "Hook" [EMAIL PROTECTED]
Subject: mawk
Date: Mon, 17 Apr 2000 11:41:37 +0100

Can anyone tell me were can I find mawk for redhat 6.0, I need it for the
hylafax program.

please.



--

Crossposted-To: 
uk.comp.os.linux,uklinux.help.newbies,comp.os.linux.development,comp.os.linux.questions,comp.os.linux.development.apps
Subject: Re: Simple but confusing C code query...
From: Johan Kullstam [EMAIL PROTECTED]
Date: Mon, 17 Apr 2000 11:54:05 GMT

[EMAIL PROTECTED] writes:

 In comp.os.linux.development.system Johan Kullstam [EMAIL PROTECTED] wrote:
 : you need to link with the math library libm.
 
 : $ gcc prog.c -o prog -lm
 
 : (yes this is stupid and libm should have been rolled into libc about
 : 20 years ago but here we are.)
 
 Excluding libm from libc makes sense if it allows you to build
 executables which don't have any floating point code in them
 at initialization time. Such executables run faster since the
 kernel can notice this and won't bother swapping the floating
 point registers on each context switch.

right, but if libm were available and you used nothing from it, would
it still link in?  could you make it do the right thing?

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

--

From: [EMAIL PROTECTED]
Subject: Re: Where are the environment variables?
Date: Mon, 17 Apr 2000 12:30:17 +0100

HPBudlong [EMAIL PROTECTED] wrote:
: RE: Where are the environment variables?

: bash, sh, and ksh and similar shells use environment variables such as $PS1,
: $PS2. printenv lists some but not all of these, e.g. $PS1 is listed, $PS2 is
: not, though $PS2 clearly has a value and shows up with 
: echo $PS2

: This is true with other environment variables as well. 

: Why don't they all show up in printenv?

Have a look at the `export' command in the bash manpage.

Rich.

-- 
[EMAIL PROTECTED] | Free email for life at: http://www.postmaster.co.uk/
BiblioTech Ltd, Unit 2 Piper Centre, 50 Carnwath Road, London, SW6 3EG.
+44 171 384 6917 | Click here to play XRacer: http://xracer.annexia.org/
--- Original message content Copyright © 2000 Richard Jones ---

--

From: "Benjamin R Heath" [EMAIL PROTECTED]
Crossposted-To: comp.unix.questions,comp.unix.programmer,comp.os.linux.development.apps
Subject: Re: How do I make a program run on localhost:200
Date: Mon, 17 Apr 2000 07:13:19 -0500


"Peet Grobler" [EMAIL PROTECTED] wrote in message
news:38fabdf5$0$[EMAIL PROTECTED]...
 Okay, I assume this must be possible, otherwise nobody would be using
UNIX.

 Anyways, running Mandrake Linux 7.0 at home. I was thinking, how would you
 make a program run on a specified port?

 E.g. in /etc/inittab, you have an entry that respawns getty on tty1 to
tty6.
 I want to do something like that, just on a specified port.

 E.g. let's say I wrote a special getty program. I want it to sit on port
 200, waiting for connections. Do I have to write the program to
specifically
 open a port, or can I use some script somewhere to get the program's stdin
 to be changed to a port???

 Any help appreciated



Take a look at inetd, it will start a program and set up stdin as input from
your socket and stdout as output to your socket.  You have to add an entry
to inetd.conf I believe, but that's about it.



--

From: [EMAIL PROTECTED] (Mike