Linux-Misc Digest #175, Volume #27               Tue, 20 Feb 01 14:13:04 EST

Contents:
  Re: Boot Problem (Leonard Evens)
  Re: Reading CD-volumelabel? (fred smith)
  Re: Extracting files from rpms (bv)
  automatically import very large ascii tables into postgresql
  Re: fastest SCSI CDROM drive (Kent Perrier)
  Re: Extracting files from rpms ("Peter T. Breuer")
  Re: Running from CD-ROM? ("Tauno Voipio")
  Re: Leafnode Newsserver in Intranet ([EMAIL PROTECTED])
  Re: permissions ([EMAIL PROTECTED])
  Re: Is my server sending information to Redhat? ([EMAIL PROTECTED])
  Re: RPM segfault, I'm stuck ([EMAIL PROTECTED])
  Re: Exiting programs. ([EMAIL PROTECTED])
  Re: What am I missing? ("D F")
  Re: Reading CD-volumelabel? (Michael Schaarwaechter)
  Kernel 2.4 / UIDs larger than 65535 (Karl Beckers - Sun Germany - Systems Engineer)
  Re: Disk Druid (Lori Holder-Webb)
  Re: Netscape 4.76 with Junkbuster Proxy (Lori Holder-Webb)
  Re: MS to Enforce Registration - or Else (Robert Surenko)

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

From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: Boot Problem
Date: Tue, 20 Feb 2001 11:16:49 -0600

Mark Penkower wrote:
> 
> On My Cladera Open Linux 2.4 System, I can only boot from a rescue
> floppy.
> 
> If I try to boot from the hard disk, I get an error message saying, hit
> any key to reboot.
> 
> How do I get Lilo on the Master Boot Record.
> 
> Thanks
> 
> Mark Penkower

You have to give us more explicit information about your system.
Do you have only Linux on your disk or do you have another
(Windows?) partition?  Do you have only one disk?

You should run 
fdisk -l /dev/XXX
where XXX is probably hda but could be other things depending on
your hard disk.  This will tell you the partitioning.
Then tell us what is in the file
/etc/lilo.conf
It is possible you never ran /sbin/lilo for some reason, but it
wouldn't do you much good unless /etc/lilo.conf is set right.

-- 

Leonard Evens      [EMAIL PROTECTED]      847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208

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

From: fred smith <[EMAIL PROTECTED]>
Subject: Re: Reading CD-volumelabel?
Date: Tue, 20 Feb 2001 11:29:50 GMT

Dances With Crows <[EMAIL PROTECTED]> wrote:
: On Mon, 19 Feb 2001 18:27:58 +0100, Michael Schaarwaechter staggered
: into the Black Sun and said:
:>I wonder if it is possible to read a volumelabel of a CD from Linux. I
:>found no hint in any manpage. 

: isoinfo ?  It's part of the cdrecord package.  isoinfo -d will probably
: do what you want.  Or look through the mkisofs source, find the byte
: offset where the volume label is, seek() to that offset and read() the
: bytes.

Here's a quick'n'dirty C program I threw together some time ago that
does what you want. Save it as getvn.c, compile it as "cc -o getvn getvn.c"
and run it "./getvn /dev/cdrom" or wherever your CD drive is if not 
/dev/cdrom. The drive should be unmounted when you do this.

==============================================================================
#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>

int main (int argc, char ** argv)
        {
        int fd;
        char buf[12];
        
        if (argc != 2)
                {
                printf ("Usage: %s <cdrom devicename>\n", argv[0]);
                exit (0);
                }

        fd = open (argv[1], O_RDONLY);
        if (fd < 0)
                {
                printf ("oops! Error opening device %s\n", argv[1]);
                exit (1);
                }
        if (lseek (fd, (long) 0x8028, SEEK_SET) != (long) 0x8028)
                {
                printf ("oops! Error seeking device %s\n", argv[1]);
                exit (1);
                }
        if (read (fd, buf, 11) != 11)
                {
                printf ("oops! Error reading device %s\n", argv[1]);
                exit (1);
                }
        close (fd);
        printf ("Volume name in device %s: %s\n", argv[1], buf);
        return (0);
        }
==============================================================================
-- 
---- Fred Smith -- [EMAIL PROTECTED] ----------------------------
  "For him who is able to keep you from falling and to present you before his 
 glorious presence without fault and with great joy--to the only God our Savior
 be glory, majesty, power and authority, through Jesus Christ our Lord, before
                     all ages, now and forevermore! Amen."
============================= Jude 1:24,25 (niv) =============================

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

From: bv <[EMAIL PROTECTED]>
Subject: Re: Extracting files from rpms
Date: Tue, 20 Feb 2001 18:31:22 +0100

fred smith wrote:

> : Does anybody know of a way to just extract individual files from rpm's?
> : I want to look at some of the files, but I don't want to install the rpm
> : to do it.

> Midnight Commander (mc) will do it.

How does mc do it? Does it use rpm or own code?
If it uses RPM, it must be possible to extract a single file from an rpm on 
the command line.

-- 
Bastian Voigt
<[EMAIL PROTECTED]>

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

From: <[EMAIL PROTECTED]>
Subject: automatically import very large ascii tables into postgresql
Date: Tue, 20 Feb 2001 17:30:07 -0000

Hello,

I have received some very large (in terms of numbers of colmuns) ascii
tables and I would like to import them into postgresql.

I know I could use "copy from", but that implies creating the tables first
and then filling them up with the data. Since this would mean quite a lot
of manual work creating the tables, I was wondering wether there exists a
way of importing ascii tables (including column headers) into postgresql,
i.e. something in the line of dbf2pg for ascii files.

Moritz

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

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

From: Kent Perrier <[EMAIL PROTECTED]>
Subject: Re: fastest SCSI CDROM drive
Date: 20 Feb 2001 11:36:00 -0600

"Peter T. Breuer" <[EMAIL PROTECTED]> writes:

> Kent Perrier <[EMAIL PROTECTED]> wrote:
> > Well, all SCSI CDROM drives accelerate at 32 ft/sec^2 and they have
> > a terminal velocity of about 160 miles/hour (if I remember correctly.)
> > So it makes little difference which one you choose...
> 
> Hmmm ... which floor are you on?

Just throw it out of the window/off the roof of a reasonably tall
building...

Kent
-- 
Only two things are infinite, the universe and human stupidity, and I'm
not sure about the former.

                                                -- Albert Einstein

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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Extracting files from rpms
Date: Tue, 20 Feb 2001 17:46:31 GMT

bv <[EMAIL PROTECTED]> wrote:
> fred smith wrote:

>> : Does anybody know of a way to just extract individual files from rpm's?
>> : I want to look at some of the files, but I don't want to install the rpm
>> : to do it.

>> Midnight Commander (mc) will do it.

> How does mc do it? Does it use rpm or own code?
> If it uses RPM, it must be possible to extract a single file from an rpm on 
> the command line.

It uses its own code, AFAIK. Not that it's difficult. rpm's are
a header in front of a cpio file. rpm2cpio | cpio ...
will do the trick.


Peter

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

From: "Tauno Voipio" <[EMAIL PROTECTED]>
Subject: Re: Running from CD-ROM?
Date: Tue, 20 Feb 2001 17:43:57 GMT


"Grant Edwards" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I'd like to set up some Linux systems (manufacturing stations) to boot and
> run from CD-ROM. I can think of two ways to run from CD:
>

The Diskless-NFS-Root-HOWTO has a part about CD-ROM based system setup.

Tauno Voipio
tauno voipio @ iki fi




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

From: [EMAIL PROTECTED]
Subject: Re: Leafnode Newsserver in Intranet
Date: Tue, 20 Feb 2001 15:10:53 +0000

niketan sharma <[EMAIL PROTECTED]> did eloquently scribble:
> hello
> somebody told me to use Leafnode newsserver for my intranet now the 
> problem is in configuration i cannot creat my own newsgroup i only want 
> internal newsgroup server no connection form outside (internet) suggest me 
> how to do i am using linux 5.2 and it is working as dail up mail server 
> for my company

I think leafnode is only designed for the client-side of news access. It
contacts a newsserver to download the newsgroups and articles, and post new
articles to it... It can't handle local groups by itself.

I think you need something more complex, like INN to run a proper news
server and create your own local newsgroups...

-- 
______________________________________________________________________________
|   [EMAIL PROTECTED]   | "I'm alive!!! I can touch! I can taste!         |
|Andrew Halliwell BSc(hons)|  I can SMELL!!!  KRYTEN!!! Unpack Rachel and    |
|            in            |  get out the puncture repair kit!"              |
|     Computer Science     |     Arnold Judas Rimmer- Red Dwarf              |
==============================================================================

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

From: [EMAIL PROTECTED]
Subject: Re: permissions
Date: Tue, 20 Feb 2001 15:16:25 +0000

Mike Mcclain <[EMAIL PROTECTED]> did eloquently scribble:
> find: /mc: Permission denied

> Permissions of the pertinent files given by 'ls -l' are:
> drw-------   7 root     root    /mc

Directories cannot be read without the execute bit set.
chmod 700 /mc

-- 
______________________________________________________________________________
|   [EMAIL PROTECTED]   |                                                 |
|Andrew Halliwell BSc(hons)| "The day Microsoft makes something that doesn't |
|            in            |  suck is probably the day they start making     |
|     Computer science     |  vacuum cleaners" - Ernst Jan Plugge            |
==============================================================================

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

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.redhat,linux.redhat.misc
Subject: Re: Is my server sending information to Redhat?
Date: Tue, 20 Feb 2001 15:25:03 +0000

Ernest <[EMAIL PROTECTED]> did eloquently scribble:
> Holy Smokes! What's this crap about? This is the kind of BS that Microsoft
> pulls. Is it time to begin refering to Redhat as the Microsoft of the Linux
> community? Do all versions of Redhat 7 behave in this way, or is it just the
> server? I'm really bothered by this. I know that Redhat is trying to be
> corporate but is it also trying to be big brother?

> Does SuSE "feature" this same security breech?

It didn't in SuSE 6.2 (which I'm still using).
I doubt that has changed in .3 .4 7.0 and 7.1...

-- 
______________________________________________________________________________
|   [EMAIL PROTECTED]   |                                                 |
|Andrew Halliwell BSc(hons)| "ARSE! GERLS!! DRINK! DRINK! DRINK!!!"          |
|            in            | "THAT WOULD BE AN ECUMENICAL MATTER!...FECK!!!! |
|     Computer Science     | - Father Jack in "Father Ted"                   |
==============================================================================

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

From: [EMAIL PROTECTED]
Subject: Re: RPM segfault, I'm stuck
Date: Tue, 20 Feb 2001 15:21:34 +0000

Peter Eddy <[EMAIL PROTECTED]> did eloquently scribble:
> I attempted to use RPM  to upgrade my glibc but, as you can see in the
> transcript below, it failed.  Worse, it's left itself in a state where
> it's now unable to do just about anything.  Almost ever RPM operation
> results in a seg fault.  I can rebuild the database, but it doesn't
> solve the problem.  This has happened to me now on two different
> machines running RH 6.2 and RH 7.0, and for both machines I'm at a loss
> for what to do since I can't install new RPMs.  I suppose I could forgo
> using RPM altogether, or I could reinstall Linux on both machines, but
> it seems like there ought to be a way to repair this problem.

It's possible your RPM database has been corrupted... I had problems like
that after attempting to install things from a scratched CD. The install of
some things failed, and later, rpm started to seg fault.

try rebuilting the database with rpm --rebuilddb

-- 
______________________________________________________________________________
|   [EMAIL PROTECTED]   | "Are you pondering what I'm pondering Pinky?"   |
|Andrew Halliwell BSc(hons)|                                                 |
|            in            | "I think so brain, but this time, you control   |
|     Computer Science     |  the Encounter suit, and I'll do the voice..."  |
==============================================================================

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

From: [EMAIL PROTECTED]
Subject: Re: Exiting programs.
Date: Tue, 20 Feb 2001 15:28:58 +0000

Harlan Grove <[EMAIL PROTECTED]> did eloquently scribble:
> [EMAIL PROTECTED] (Rolie Baldock) wrote:
> ...
>>Yes we NOSE wot don't work. WOT we wants to NO is WOT does work.
> ...

> I was just being combative. Ctrl+C should kill the process, so if it
> doesn't then there's no other way to kill it with a single keyboard 
> combination. That is, if it's the foreground process that needs to be
> killed. It's easier to kill a background process: use  ps  to identify
> it and  kill  to kill it.

But it's just as easy to force a foreground process to halt and kill it.
<CTRL> Z will do that, and then the same procedure as killing a background
process will kill it...


-- 
|                          |What to do if you find yourself stuck in a crack|
|  [EMAIL PROTECTED]    |in the ground beneath a giant boulder, which you|
|                          |can't move, with no hope of rescue.             |
|Andrew Halliwell BSc(hons)|Consider how lucky you are that life has been   |
|           in             |good to you so far...                           |
|    Computer Science      |   -The BOOK, Hitch-hiker's guide to the galaxy.|

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

From: "D F" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.mandrake
Subject: Re: What am I missing?
Date: Tue, 20 Feb 2001 13:32:51 -0500

Bit Twister wrote:
>If you cp'ed stuff you also probably lost original privs
and owners.
>This is what I use to move directories.
>cd to_directory_to_move
>tar cf - . | (cd targetdir; tar xf -)
>--
>The warranty and liability expired as you read this
message.
>If the above breaks your system, it's yours and you keep
both pieces.
>Practice safe computing. Backup the file before you change
it.
>Do a,  man command_here or cat command_here, before using
it.

Cjv wrote:
>My guess is that you formatted the drive with FAT. Drives
formatted with fat
>can be particularly testy when it comes to permissions.


Thanks for the replies.

In fact, I used:

cp -a /tmp /dev/hdd17

Perhaps I'll try the copy again using tar...

And, yes, it's ext2, not FAT. It would never have occurred
to me to try writing it as FAT.

Dave Fluri  North Bay, Ontario  Canada

(The opinions herein are mine. I do not speak for my
employer unless I expressly indicate otherwise.)





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

From: Michael Schaarwaechter <[EMAIL PROTECTED]>
Subject: Re: Reading CD-volumelabel?
Date: Tue, 20 Feb 2001 19:56:36 +0100

fred smith wrote:
> Dances With Crows <[EMAIL PROTECTED]> wrote:

Thanks a lot for your help. isoinfo does what I want, but one must use
the newest version which has a -V tag for read volumename. Mounted or
unmounted doesn't matter because it uses the device directly.

Thanx again,
M.

--
                 [EMAIL PROTECTED]
                 Uni Dortmund, Library
                 Vogelpothsweg 76, D-44227 Dortmund

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

From: Karl Beckers - Sun Germany - Systems Engineer <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux
Subject: Kernel 2.4 / UIDs larger than 65535
Date: Tue, 20 Feb 2001 19:58:03 +0100

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

Hi everybody,

heard that the new Kernel 2.4 can handle uids larger than
65535 ... need that for NFS mounting off Solaris ...

While the systems seems to accept the uid chown doesn't
seem to allow me to chown that user any files.

Seems to be about uid_t defined as int in GNU libc?!?

Any chances to get this to work?
Been trying rebuilding fileutils ... should I defined uid_t
as unsigned log someplace?

Any help appreciated,

Karl.


==============5AB6195B0E241DF9AE7E3F1B
Content-Type: text/x-vcard; charset=us-ascii;
 name="karl.beckers.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Karl Beckers - Sun Germany - Systems Engineer
Content-Disposition: attachment;
 filename="karl.beckers.vcf"

begin:vcard 
n:Beckers;Karl
tel;fax:+49 6103 752 299
tel;work:+49 6103 752 0
x-mozilla-html:FALSE
org:<P><A HREF="http://www.Sun.COM/"><Img Border=0 
Src="http://www.sun.com/smrc/brand-elem/downloads/dotcomelement-blu.gif"></A></P>
adr:;;Amperestraße 6;Langen;;63225;Germany
version:2.1
email;internet:[EMAIL PROTECTED]
title:Systems Engineer - Sales Support
x-mozilla-cpt:;0
fn:Karl H. Beckers
end:vcard

==============5AB6195B0E241DF9AE7E3F1B==


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

From: Lori Holder-Webb <[EMAIL PROTECTED]>
Subject: Re: Disk Druid
Date: Tue, 20 Feb 2001 13:04:13 -0600

I'm guessing that you're trying to install RedHat 6.2.  If so, see if
you can obtain the manual that came with the distribution - it has
explicit directions on how to use disk druid.

Otherwise, the brief story is that you use disk druid to create
partitions on your hard drive.  You need to make one partition with a
mountpoint of "/" (no quotation marks).  This is your "root partition"
and is where the operating system will be installed.  You need to make a
"swap partition" and the custom is that this partition be at least as
big as the amount of RAM you have, but not more than twice that size. 
You don't identify a mount point for this.  When you designate it as
"swap" that's taken care of for you.  The last thing you ought to do is
create some kind of user partition to hold your personal files.  I put
my applications there, too, so that when I upgrade my O/S I don't have
to reinstall all of my apps.  The mount point varies, you can use
something like "/u", or "/user", or even "/home".

It would be helpful if you could identify exactly what about disk druid
you find confusing.

Ferg wrote:
> 
> HI guys
> 
> I am trying to istall linux 6.2 but when i reach disk druid i can't work
> out what has to be done, if anyone knows what to do and online install
> guide or anything, it would be a great help.
> 
> thx
> 
> Ferg
> 
> --
> Posted via CNET Help.com
> http://www.help.com/

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

From: Lori Holder-Webb <[EMAIL PROTECTED]>
Subject: Re: Netscape 4.76 with Junkbuster Proxy
Date: Tue, 20 Feb 2001 12:58:40 -0600

Stupid question, maybe, but do you have a line in your /etc/hosts file
for localhost.localdomain?

[EMAIL PROTECTED] wrote:
> 
> I have been running Junkbuster-2.0.2-8  with Netscape 4.75 under
> RH6.2 for some time with no problems.
> 
> I recently updated to Netscape 4.76.  The browser now hangs when
> I first try to go on line.  The message in the lower tray is
> "Connect: Looking up host: localhost".  It appears that the
> browser and Junkbuster are not communicating.
> 
> If I temporarily disable Junkbuster, go to a URL, then re-enable
> the proxy, Junkbuster works as it is supposed to.
> 
> The Netscape Manual HTTP and Security proxies are set to
> localhost, Port 8000.  Junkbuster is configured to use port 8000.
> 
> Ideas? Thanks.
> 
> Art
> <[EMAIL PROTECTED]>
> 
> (To reply directly, replace the "_" underline with "-" dash.)
> 
> ==================================
> Posted via http://nodevice.com
> Linux Programmer's Site

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

From: Robert Surenko <[EMAIL PROTECTED]>
Subject: Re: MS to Enforce Registration - or Else
Crossposted-To: comp.os.linux.advocacy
Date: Tue, 20 Feb 2001 19:05:30 GMT

In comp.os.linux.misc Peter T. Breuer <[EMAIL PROTECTED]> wrote:
> In comp.os.linux.misc Robert Surenko <[EMAIL PROTECTED]> wrote:
>> In comp.os.linux.misc [EMAIL PROTECTED] wrote:
>>> On 16 Feb 2001 23:36:41 GMT, Steve Mading <[EMAIL PROTECTED]> wrote:
>>>>In comp.os.linux.advocacy Robert Surenko <[EMAIL PROTECTED]> wrote:
>>>>

>> I've given an example of a fact that can not be repeated and can't
>> be proven with the Scientific Method.

> But there are simpler tests. Just ask lots of people if they saw jfk
> alive after the event. And ask the people who filmed him being
> shot how shot he was. You can also ask his wife how she managed to get
> legal permission to remarry! Whilst these are not conclusive tests,
> they can take the probability of error down to negligable values.
> I think he's dead, with a very high degree of certainty.

I agree, however, you are using deductive reasoning to gain insight,
not the Scientific Method. 

A Materialist would say that a human being is a bag of chemical
reactions. And then claim that these reactions find knowlege
through deductive reasoning.

My question to a Materialist is How do we know that a Historical
event happen when it's belief could simply be a rush of hormones?

> Peter

-- 
=============================================================================
- Bob Surenko                              [EMAIL PROTECTED]
- http://www.fred.net/surenko/                               
=============================================================================

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


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

Reply via email to