Linux-Misc Digest #794, Volume #20               Sat, 26 Jun 99 05:13:10 EDT

Contents:
  Re: (Newbie) Problem in mounting a DOS partition (Mark Redding)
  Mounting Troubles ([EMAIL PROTECTED])
  Re: Win98 partition mounted, not writable ("pjd")
  Re: HELP!! - How to prevent process swapout on Linux. ([EMAIL PROTECTED])
  new Linux portal site - for professional Linux developers (dan braun)
  Re: Linux 2.2.10 does not know make zImage?? (Stuart R. Fuller)
  gpm and mouse wierdness (Lyndon F. Bartels)
  tcp port no.s vs. processes ([EMAIL PROTECTED])
  Installing Glibc (Mark Fleming)
  Re: xdiff / graphical merge utility? (Philip Brown)
  Re: Documentation issues. (Russ Allbery)
  Re: Linux balkanization a potential blessing (Russ Allbery)
  Re: Linux balkanization a potential blessing (Russ Allbery)
  Re: Documentation, or the lack thereof (Russ Allbery)
  Re: Documentation issues. (Karl Berry)

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

Date: Fri, 25 Jun 1999 12:48:02 +0100
From: Mark Redding <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.misc
Subject: Re: (Newbie) Problem in mounting a DOS partition

> Hello,
> I have just started playing with Linux (Red Hat 5.0) and I'm having
> problems in mounting a FAT16 partition.
> I have the following drives/partitions (all IDE):
>
> Drive I (master)
>    partition 1 (FAT16)
>    partition 2 (NTFS) WinNT
>    partition 3 (FAT16)
>
> Drive II (slave)
>    partition 1 (FAT32) Win98
>    partition 2 (EXT2?) Linux
>
> I could mount the I1 partition using /dev/hda1 but can't mount the I3
> (which is the one I really need). I've tried almost all the /dev/hdaXX
> combinations without success...
>

M$ assume that you are only ever going to want 1 primary partition and so
if you actually do partition your disk it will create an extended
partition for you and then create logical partitions within that logical
partition. Hence your logical partitions will be called /dev/hda5,
/dev/hda6, etc...but only up to 8 as you can only have 4 logical
partitions within an extended partition.

>
> I also can't understand why my II2 partition is mapped to /dev/hdb5
> (shouldn't it be hdb2?)

I'd guess that you didn't use the correct tool to create your Linux
partition. The rules are that you can have 4 partitions on a disk. By
creating an exended partition you can have up to 7 partitions, three
primary, and one extended which can contain four logical. The tool you
used (either correctly or incorrectly) has [possible created, but
certainly] used the first logical partition within your extended partition
for linux (and I'd guess that your swap space is /dev/hdb6).

>

Clear as mud now ???

Mark.



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

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.hardware
Subject: Mounting Troubles
Date: Sat, 26 Jun 1999 06:14:20 GMT

Alright, here we go again. . .
I want to mount my floppy drive. It should be painfully simple, yet I
am unable to get it to work:

When I type mount /mnt/floppy, I get the error "/dev/fd0 has wrong
major or minor numbers". Now what the hell does "wrong major or minor
numbers"mean, and then how can I rectify it? /dev/fd0 says
brw-r--r--1 root root 2, 0 Jun 22 09:55 /dev/fd0

isn't that what it's supposed to read? Aren't the major/minor numbers
supposed to be 2, 0 ?

Help?

If it matters, I'm running MKLinux DR3 with Generic 7.

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

From: "pjd" <[EMAIL PROTECTED]>
Subject: Re: Win98 partition mounted, not writable
Date: 25 Jun 1999 23:22:25 GMT

>Thus to write, become root.
Actually that is not necessary.
Become root.
Add the required stuff to fstab and made it user mountable.
Umount it.
Log in  as a user.
Mount it again.
It works fine.



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

From: [EMAIL PROTECTED]
Crossposted-To: linux.redhat.misc
Subject: Re: HELP!! - How to prevent process swapout on Linux.
Date: Sat, 26 Jun 1999 06:14:24 GMT

In article <[EMAIL PROTECTED]>,
  Jae Song <[EMAIL PROTECTED]> wrote:
> My question is, is there any system call that I can make to allows a
> process to be immune to the swap-out for a certain amount of time?  I
> know that under IRIX, there is prctl(...) with PR_RESIDENT that can
make
> a process immune to swapouts.  But, this doesn't seem to be
implemented
> in Linux yet.
>
> I would like to do something like:
>
> _system_call_to_make_process_to_be_immune_to_swapout
> lock_shared_memory_segment
> read_or_write_to_memory_segment
> unlock_shared_memory_segment
> _system_call_to_cancel_swapout_immunization
>

I ran into related issues when trying to do some precise real-time data
sampling.  After *extensive* searching on the topic, I came across the
sched_setparam() and sched_setscheduler() commands (see man pages).
Using these commands, you can enable accurate microsecond scale timing
with nanosleep().  (Note: what a cool name for a function!)  When
sampling the parallel port at high enough rates, my program was getting
all the timeslices.

Not sure if that's exactly what you're looking for, but maybe it'll
help.  Email me if you want, and I'll dig out an example piece of code
for you.

        - Paul Pelzl


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

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

From: dan braun <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.advocacy,comp.os.development.system,comp.os.linux.networking,comp.os.linux.setup,comp.os.linux.hardware
Subject: new Linux portal site - for professional Linux developers
Date: Sat, 26 Jun 1999 00:40:03 -0400
Reply-To: [EMAIL PROTECTED]

For Immediate Release PegaSoft Canada

LINCOLN, ON - June 26, 1999 - Linux, the fastest rising computer
operating system for business and the Internet, has 10 million users and

growing faster than Window NT.  Major computer companies, including IBM,

Compaq, Oracle, Netscape and Corel, have Linux editions of their
products or have announced releases in the next few months.

PegaSoft is pleased to announce the opening of a new Linux portal site
designed specifically for professional Linux developers.  The portal is
located at

    http://www.vaxxine.com/pegasoft/portal

The PegaSoft Portal contains hundreds of links to programmer-oriented
web sites, including development tools, reference sites, and locations
for free support. There are also a host of useful worldwide services
including:

* Official Linux news
* The "hired guns" job search board
* Auction room
* Chat room
* North American weather forecasts
* Linux site searching across the World Wide Web
* Start page customization, including the ability to choose "themes"

PegaSoft was disappointed in the current trends in Linux portals. These
sites tend to have low quality news and limited link coverage.  PegaSoft

set out to design a fast loading site that would be truly useful to
developers, with official news, and a extensive selection of links.



About PegaSoft

>From its inception in 1990, PegaSoft has been a team-oriented company
dedicated to creating software that pushes the industry boundaries.
Reformed in 1996 to develop Linux software, PegaSoft continues to
produce products of technical excellence and performance. Our first
release is System Manager in a Box(, a Linux configuration and
administration tool that uses artificial intelligence.  We believe that
powerful, quality software is not just wishful thinking, but a
responsibility. We continue to make your computer take flight.

PegaSoft Canada
2631 Honsberger Avenue
Jordan Station, ON
L0R 1S0

http://www.vaxxine.com/pegasoft / [EMAIL PROTECTED]





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

From: [EMAIL PROTECTED] (Stuart R. Fuller)
Subject: Re: Linux 2.2.10 does not know make zImage??
Reply-To: [EMAIL PROTECTED]
Date: Sat, 26 Jun 1999 05:00:03 GMT

Georg Schwarz ([EMAIL PROTECTED]) wrote:
: I'm currently trying to install the 2.2.10 kernel on a Sparc running
: RedHat 6.0. Make config, make dep, make all go well, but
: 
: antarktis 127% ~/linux>make zImage
: make: *** No rule to make target
: `zImage'.  Stop.
: antarktis 128% ~/linux>
: 
: why doesn't it know about make zImage? Is there anything missing?

I see that several other replies have made the suggestion of using bZimage
(sp?) instead of zImage.

Unfortunately, they don't seem to be paying attention.

I see that your prompt says "antarktis 127% ~/linux>".  Umm, what is your
current directory when you type the "make zImage" command?  You need to be in
"/usr/src/linux" directory.

If I've guessed wrong, then ask again.

        Stu

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

From: [EMAIL PROTECTED] (Lyndon F. Bartels)
Crossposted-To: comp.os.linux.setup
Subject: gpm and mouse wierdness
Date: 26 Jun 1999 03:52:37 GMT

Hello,

I have a RH6.0 machine. I put a few of the patch rpms onto it. 

I'm experiencing a couple weird anomolies. Hopefully y'all can point in the 
right direction.

First, whenever I go into linuxconf, even when I make no changes, I cannot 
quit out without wanting to start gpm. Why?

Second, every once in a while, my desktop will freeze up. Along with that, the 
mouse will move around, but moving the mouse to the edge of the screen may or 
may not actually move the pointer so some other place on the desktop. I might 
move it off to the right side, near the middle, but it'll jump to the top or 
the bottom on the right side. Nothing works. The mouse clicks do nothing. 
Everything is froze, I have CPU utilization going on the bottom, and it 
freezes. Along with the clock and seemingly everything else. It happened to me 
twice tonight.

After the second time, I rebooted with a boot/rescue floppies. And fscked all 
partitions. And it seemed better, but I think I lost a few files or something. 
I still have to upgrade the XF86 software to the latest patches.

Any thoughts, ideas, places and things to look at would be appreciated.


Thanks in advance,

Lyndon F. Bartels
[EMAIL PROTECTED]


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

From: [EMAIL PROTECTED]
Subject: tcp port no.s vs. processes
Date: Sat, 26 Jun 1999 05:56:27 GMT

Hi
I am facing a challange in my current project where I need to
administer processes in a running system - with their tcp port no.s at
which they are listening to. Is there an utility already existing to do
this sort of thing?
If not , I am ready to write the utility by myself - only I need to
know what system calls have to be made to accomplish this job.
Any help or pointer to this issue will highly be appreciated.
Thanks in advance.

Sudip


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

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

From: Mark Fleming <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps
Subject: Installing Glibc
Date: Sat, 26 Jun 1999 03:00:45 -0400
Reply-To: [EMAIL PROTECTED]

This is a multi-part message in MIME format.
==============007EA4FB0D7417A48B16AB37
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I am a slackware user and am thinking about installing glibc so I can
run some of the more popular software that is out now. (Mozilla and the
G2 aplha for example).  How straight forward is it if you yourself have
done it?  Any tips? 

-- 
Mark Fleming Student ICQ# 16171200
e-mail: [EMAIL PROTECTED]
http://www.globaldrum.com/mfleming 
http://coolbox.bowiestate.edu/~mfleming
==============007EA4FB0D7417A48B16AB37
Content-Type: text/x-vcard; charset=us-ascii;
 name="mfleming.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Mark Fleming
Content-Disposition: attachment;
 filename="mfleming.vcf"

begin:vcard 
n:Fleming;Mark
x-mozilla-html:TRUE
url:http://coolbox.bowiestate.edu/~mfleming
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
x-mozilla-cpt:;0
fn:Mark Fleming
end:vcard

==============007EA4FB0D7417A48B16AB37==


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

From: [EMAIL PROTECTED] (Philip Brown)
Subject: Re: xdiff / graphical merge utility?
Reply-To: [EMAIL PROTECTED]
Date: 26 Jun 1999 01:14:32 GMT

On 25 Jun 1999 07:08:59 -0700, [EMAIL PROTECTED] wrote:
>[EMAIL PROTECTED] (Philip Brown) writes:
>> ...
>> now is there something that doesn't require tk/tcl?
>> 
>   Try `ediff' under Emacs.

oh, great. From redundantly bloated, to monolithically bloated :-)

As someone famous said, "Emacs is a great operating system, but I prefer UNIX"
:-)



-- 
[Trim the no-bots from my address to reply to me by email!]
[ Do NOT email-CC me on posts. Pick one or the other.]
 --------------------------------------------------
The word of the day is mispergitude


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

From: Russ Allbery <[EMAIL PROTECTED]>
Crossposted-To: gnu.misc.discuss,comp.unix.bsd.misc
Subject: Re: Documentation issues.
Date: 26 Jun 1999 00:51:26 -0700

In gnu.misc.discuss, Aaron M Renn <[EMAIL PROTECTED]> writes:

> I've looked at DocBook documents. They require markup verbose beyond
> comprehension.  DocBook is the COBOL of documentation format.  It's only
> advantage is a familiar syntax for all the AOL weenies who put up their
> homepages with the <BLINK> tag and such.

AMEN!!  Thank heavens, I'm not alone in the world.

-- 
Russ Allbery ([EMAIL PROTECTED])         <URL:http://www.eyrie.org/~eagle/>

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

From: Russ Allbery <[EMAIL PROTECTED]>
Crossposted-To: gnu.misc.discuss,comp.unix.bsd.misc
Subject: Re: Linux balkanization a potential blessing
Date: 26 Jun 1999 01:06:59 -0700

In gnu.misc.discuss, Peter Seebach <[EMAIL PROTECTED]> writes:

> (For instance, I actually directly use the 'man' command less than once
> a month, even though I check and read man pages probably a dozen times a
> day.)

I don't see how you can stand any of those alternate interfaces to man; I
use man (and its close cousin, perldoc) dozens of times a day.  You can
just open more xterms to see more things at the same time, you can search
easily, and you can fix the output format to match what you like.  (I
patched the tmac.an macros on my Solaris box to have a ragged margin, wrap
at 76 columns, and not page-break.)

-- 
Russ Allbery ([EMAIL PROTECTED])         <URL:http://www.eyrie.org/~eagle/>

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

From: Russ Allbery <[EMAIL PROTECTED]>
Crossposted-To: gnu.misc.discuss,comp.unix.bsd.misc
Subject: Re: Linux balkanization a potential blessing
Date: 26 Jun 1999 01:11:29 -0700

In gnu.misc.discuss, Ed Avis <[EMAIL PROTECTED]> writes:

[quoting from the distribution restrictions on perlfaq]
>> When included as part of the Standard Version of Perl, or as part of
>> its complete documentation whether printed or otherwise, this work may
>> be distributed only under the terms of Perl's Artistic License.  Any
>> distribution of this file or derivatives thereof outside of that
>> package require that special arrangements be made with copyright
>> holder.

> I don't think this matches the DFSG, because it restricts how you can
> distribute the file.  If you wanted to fork Perl (such that your version
> would no longer be the Standard Version), you would not be allowed to
> distribute documentation with it.  This is from Perl 5.004_05, maybe
> things have been cleaned up for 5.005.

I believe you're misreading the intention of this; the version that comes
with Perl is distributed under the terms of Perl's Artistic License, as it
says above, which means that you can do all of the things the AL says you
can do with it.  Including modifying it and including it in your modified
copy of Perl, provided you meet the restrictions in the AL.

-- 
Russ Allbery ([EMAIL PROTECTED])         <URL:http://www.eyrie.org/~eagle/>

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

From: Russ Allbery <[EMAIL PROTECTED]>
Crossposted-To: gnu.misc.discuss,comp.unix.bsd.misc
Subject: Re: Documentation, or the lack thereof
Date: 26 Jun 1999 01:18:29 -0700

In gnu.misc.discuss, Alan Curry <[EMAIL PROTECTED]> writes:
> Tom Christiansen  <[EMAIL PROTECTED]> wrote:

>> We've largely done that.  Pod is the first part, and a zillion little
>> happy CLI tools I've written make up the second.

> Good. Next step: convince other programmers (those who are currently
> churning out texinfo or you-must-run-the-program-and-point-and-click-
> the-help) to switch to pod.

I'm currently working on updating a good chunk of the documentation of
INN, and I intend to write it in POD.  We'll also support SGML, with the
understanding that if down the road we find that POD isn't working, we can
transition to SGML, but I personally pretty much put my foot down and
refused to write in SGML directly.

As soon as I finish writing spin, I should be able to avoid ever writing
anything in an SGML-derived language ever again, and good riddance.  I
write my FAQs in structured plain text and convert them to HTML
automatically, I write my software documentation in either POD or TeX, and
shortly I'll be writing web pages in a macro language I rolled myself.

The last day I have to explicitly mark paragraph boundaries using some
clunky syntax for a tool that can't figure it out for itself cannot come
too soon.

> They didn't lose. They fragmented the documentation by inventing new
> formats that suck. The losers are the reasonable people who want a
> system with a single set of pipeline-friendly documentation tools that
> work on _all_ the docs.

Amen.

Every program, configuration file, and file format that INN uses has its
own man page, and damn if it isn't going to stay that way for as long as I
have anything to say about it.  Regardless of *what* format the docs are
written in.

Having a separate, long manual is certainly something that would be nice
to have, and there are projects underway to write it.  But the man pages
are far more important and come first.  (And they're very different
things.)

-- 
Russ Allbery ([EMAIL PROTECTED])         <URL:http://www.eyrie.org/~eagle/>

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

From: Karl Berry <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.bsd.misc,gnu.misc.discuss
Subject: Re: Documentation issues.
Date: 26 Jun 1999 04:47:30 -0400

    Texinfo's printed documentation is that it's just about impossible to
    get it to use PostScript fonts.

Well, here is a patch (not tested by me), courtesy of Stephen Gildea, to
get it to do so.  Of course what would be most desirable is to have some
@-command to specify the fonts to use.  I would welcome anyone's efforts
in that direction.

*** texinfo.tex-2.218   Sat Jul 26 15:12:37 1997
--- ps/texinfo.tex      Thu Sep  4 14:21:55 1997
***************
*** 1074,1103 ****
  % Set the font macro #1 to the font named #2, adding on the
  % specified font prefix (normally `cm').
  % #3 is the font's design size, #4 is a scale factor
! \def\setfont#1#2#3#4{\font#1=\fontprefix#2#3 scaled #4}
  
  % Use cm as the default font prefix.
  % To specify the font prefix, you must define \fontprefix
  % before you read in texinfo.tex.
  \ifx\fontprefix\undefined
! \def\fontprefix{cm}
  \fi
  % Support font families that don't use the same naming scheme as CM.
! \def\rmshape{r}
! \def\rmbshape{bx}               %where the normal face is bold
! \def\bfshape{b}
! \def\bxshape{bx}
! \def\ttshape{tt}
! \def\ttbshape{tt}
! \def\ttslshape{sltt}
! \def\itshape{ti}
! \def\itbshape{bxti}
! \def\slshape{sl}
! \def\slbshape{bxsl}
! \def\sfshape{ss}
! \def\sfbshape{ss}
! \def\scshape{csc}
! \def\scbshape{csc}
  
  \ifx\bigger\relax
  \let\mainmagstep=\magstep1
--- 1074,1105 ----
  % Set the font macro #1 to the font named #2, adding on the
  % specified font prefix (normally `cm').
  % #3 is the font's design size, #4 is a scale factor
! \def\setfont#1#2#3#4{\dimen255=#3pt\divide\dimen255by1000
!    \multiply\dimen255by#4%
!    \global\font#1=\fontprefix#27t at \dimen255}
  
  % Use cm as the default font prefix.
  % To specify the font prefix, you must define \fontprefix
  % before you read in texinfo.tex.
  \ifx\fontprefix\undefined
! \def\fontprefix{p}
  \fi
  % Support font families that don't use the same naming scheme as CM.
! \def\rmshape{tmr}
! \def\rmbshape{tmb}            %where the normal face is bold
! \def\bfshape{tmb}
! \def\bxshape{tmb}
! \def\ttshape{crr}
! \def\ttbshape{crb}
! \def\ttslshape{crro}
! \def\itshape{tmri}
! \def\itbshape{tmbi}
! \def\slshape{tmro}
! \def\slbshape{tmbo}
! \def\sfshape{hvr}
! \def\sfbshape{hvb}
! \def\scshape{tmrc}
! \def\scbshape{tmbc}
  
  \ifx\bigger\relax
  \let\mainmagstep=\magstep1

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


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