Linux-Misc Digest #574, Volume #18 Mon, 11 Jan 99 22:13:10 EST
Contents:
Re: Re: things I'd pay to have developed for Linux... (bill davidsen)
Pioneer DRM-1804x cd-rom changer drivers. (Nick Belnap)
Re: Linux: Fight for survival or on victory march? (Loren Petrich)
Asuscom ISDNLink I-IN100-ST-DV ("Tom Furie")
Re: how to set execution directory path ? (Francesc Guasch)
Re: mirroring drives under RedHat 5.1? (Francesc Guasch)
Re: hostname and finger plan (Francesc Guasch)
Re: Let A Linux server look like a W95 / NT Share? (Andy Piper)
kppp ("Kerry J. Cox")
Re: Consumer Poll Says Microsoft Is Good For Consumers (Richard Robinson)
Re: YAMAHA 4260TI does this work well in this OS??? ("Bryan Wicentowich")
cursor position ("S�rgio Vale e Pace")
i386 binaries ("S�rgio Vale e Pace")
Re: help needed mounting fd0 (Rob Mahurin)
Re: Consumer Poll Says Microsoft Is Good For Consumers
([EMAIL PROTECTED])
Re: [xxx] Can Suck My Hairy Cock (John Forkosh)
Linux, Unix or Unix alike? (Ben)
Re: glint errors (Peter Cedermark)
Re: Opinions on Applixware (Peter Cedermark)
Networking two linux machines (proxy) (Chris Leith)
Yes LILO can boot from secondary IDE channel (Was : Re: Installing Linux on a
secondarzy UIDE disk) (Chetan Ahuja)
How to add second wharf to Afterstep desktop? (Kiefers Dream)
Re: Acessing binary file from the code without open(argv[0] ..) (Pascal Rigaux)
Re: endless :( please help ("XtamorZ")
Is there an app called dp? ([EMAIL PROTECTED])
problem with libc (Karl Schmid)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (bill davidsen)
Crossposted-To:
comp.os.linux.development.system,comp.os.linux.development.apps,comp.os.linux.hardware
Subject: Re: Re: things I'd pay to have developed for Linux...
Date: 11 Jan 1999 23:35:05 GMT
In article <77cu86$e1q$[EMAIL PROTECTED]>,
Peter Samuelson <[EMAIL PROTECTED]> wrote:
| [Adrian 'Dagurashibanipal' von Bidder <[EMAIL PROTECTED]>]
| > >LVM.
| > Sorry my ignorance - but what's that?
| storage volumes on disks. Key features (I refer to the AIX
| implementation here, about which I know the most):
|
| - A volume group, which acts as a sort of meta-partition, if you
| will, can comprise multiple physical disks. These can also provide
| redundancy not unlike RAID mirroring, as well as plain striping.
| The sysadmin can add disks to an LV at will, and take them away.
You have mixed volume group (VG) and logical volume (LV) here. RAID-0/1
are done at the LV level, and you can't (so far as I know) add/delete
physical volumes to a striped LV. You can make/break mirrors, which is
how you mirror root, etc.
| - Inside a VG you have logical volumes, which are allocated from the
| VG like files in a filesystem. Like files, these can be resized,
| moved, copied, renamed, etc. They can also be mirrored. Each LV is
| a block device.
Striped or mirrored, not both, at least up to 4.2.1 kernel.
| - On an LV you mkfs a filesystem. Since the LV is a block device this
| works just like traditional partitions/slices, except that LV's are
| so much easier to manipulate.
Like an md pseudo physical device.
| - Some filesystems commonly in use with LVM's support resizing. AIX's
| JFS, for example, lets you grow it without unmounting. This would
| not be very useful with traditional disk partitions or slices, but
| makes life much more fun for the sysadmin when the filesystem is on
| a (resizable) LV. Wish /home were 80 megs bigger? No problem: have
| the system allocate 20 more 4-meg "blocks" for /home's LV, assuming
| the VG has that many available. If not, first add another disk to
| the VG....
Most people over partition their drives, IMHO. If you have only a single
drive, as most or at least many systems do, you gain mostly complexity
by having a bunch of partitions for the actual ext2fs data. There are
good reasons to partition backups, that's another topic. I see too many
personal systems with /home and / and /boot and /tmp, and... garbage.
Just because you understand techniques useful on large systems doesn't
mean you need them, or gain from them.
|
| And one more feature that can save a lot of headaches in some
| circumstances:
|
| - Disks are recognized not by SCSI ID's or whatever but by a VG
| signature. LV's contain a certain amount of metadata as well, so
| /etc/fstab is not really needed to figure out what partitions mean
| what.
Which sadly cuts both ways. When that data is valid you can close and
export a VG, move the physical drive(s) of the VG to another machine and
connect with no need to play with tables. If it isn't valid for any
reason you run into various problems, the least of which is persistant
error messages about mission or duplicate physical volumes.
The AIX model is a good thing to understand, I'm not sure I want to do
things exactly that way. I could go on about how I do think it should be
done, but it's not relevant to this topic.
--
bill davidsen <[EMAIL PROTECTED]> CTO, TMR Associates, Inc
"Too soon we grow old, and too late we grow smart" -Arthur Godfrey
------------------------------
Date: Mon, 11 Jan 1999 15:57:04 -0700
From: Nick Belnap <[EMAIL PROTECTED]>
Subject: Pioneer DRM-1804x cd-rom changer drivers.
Does anyone know of a driver for a drm-1804x cd jukebox for Linux?
------------------------------
From: [EMAIL PROTECTED] (Loren Petrich)
Crossposted-To: alt.linux,alt.os.linux,comp.os.linux.advocacy
Subject: Re: Linux: Fight for survival or on victory march?
Date: Sat, 09 Jan 1999 21:29:22 GMT
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (John
Morris) wrote:
> I just don't understand why anyone would want to
> play a game on ANY operating system tho?? Why not
> use a dedicated device like a Sony Playstation??
Because one can get:
Higher-quality display -- try Tomb Raider (for example) on a Real
Computer (tm) with a 3D-accelerator card vs. that game on a Playstation.
Easier bug fixes and improvements -- just download them as need be.
The ability to compose add-ons and modifications -- ever wanted to
create your own levels? New characters? Do some redecoration? With some
games, you can -- and there are big industries of producing such things
for some games.
--
Loren Petrich
[EMAIL PROTECTED]
Happiness is a fast Macintosh
And a fast train
------------------------------
From: "Tom Furie" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.networking,uk.comp.os.linux
Subject: Asuscom ISDNLink I-IN100-ST-DV
Date: Mon, 11 Jan 1999 18:47:49 -0000
Hi folks,
I have recently purchased the above ISDN card. I am running RedHat 5.2 with
kernel 2.0.36. I have downloaded and installed the isdn4k-utils-9803020842-1
rpm.
According to the documentation, the card only works if the driver is
installed as a module, but 'make *config' doesn't allow the option of
loading 'hisax support for Asuscom' as a module.
Can anyone here offer advice on how to get this card working? I am now
compiling the whole ISDN subsystem as a module to see what happens.
Cheers,
Tom
------------------------------
From: Francesc Guasch <[EMAIL PROTECTED]>
Subject: Re: how to set execution directory path ?
Date: Mon, 11 Jan 1999 19:58:56 +0100
Dmitriy wrote:
>
> Let's say I have directory /home/dev
> --->/my_cpp
> --->/my_tcl
> --->/my_bin
> How can I set a path on Red Hat 5.2 to /home/dev/ so that I can execute
> anything in it as well
> as in /home/dev/ subdirectories without explicitly specifying each one ?
> Thanks in advance,
> Dmitriy.
export PATH=$PATH:/another/directory:/another/one/for/my/path
that adds more directorys to your existing path
--
mailto:[EMAIL PROTECTED] http://www.etsetb.upc.es/~frankie
^-^.-----,
o o _ ) Errors, like straws, upon the surface flow;
Y (_, (__(Ssss He who would search for pearls must dive below.
------------------------------
From: Francesc Guasch <[EMAIL PROTECTED]>
Subject: Re: mirroring drives under RedHat 5.1?
Date: Mon, 11 Jan 1999 20:00:08 +0100
Johan Prins wrote:
>
> How can I mirror two drives under RedHat 5.1?
> People keep telling me it's impossible using only Linux itself.
>
> On the other hand I *can* use harware solutions proposed by HP and
> Compaq Raid controllers, and the hardware solutions are what I prefer.
>
> Of course, it would be nice to have the 'bad' software mirror as a
> solution, too.
> Dumping drives one to another once per day is of course, as said by
> someone in another message, not mirroring.
Mirroring is a kind of RAID, here is a howto :
http://metalab.unc.edu/mdw/HOWTO/mini/Software-RAID.html
there are more howtos for hardware RAID, etc.
I installed DPT raid in a server and I'm quite
happy with it.
--
mailto:[EMAIL PROTECTED] http://www.etsetb.upc.es/~frankie
^-^.-----,
o o _ ) Errors, like straws, upon the surface flow;
Y (_, (__(Ssss He who would search for pearls must dive below.
------------------------------
From: Francesc Guasch <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: hostname and finger plan
Date: Mon, 11 Jan 1999 20:01:33 +0100
Chris wrote:
>
> How do I change my hostname without rebooting? Is it even possible?
> Right now it's localhost.localdomain and I want it to be my domain
> name. I've used linuxconf with success but I'm telneting right now
> and I can't run a gui app ya know?
> Also, how do I set the plan for users? I assume it's a file somewhere
> in the ~user directory but I can't figure it out. Any help is
> greatfully welcomed! =)
man hostname
--
mailto:[EMAIL PROTECTED] http://www.etsetb.upc.es/~frankie
^-^.-----,
o o _ ) Errors, like straws, upon the surface flow;
Y (_, (__(Ssss He who would search for pearls must dive below.
------------------------------
From: Andy Piper <[EMAIL PROTECTED]>
Subject: Re: Let A Linux server look like a W95 / NT Share?
Date: Mon, 11 Jan 1999 19:09:06 +0000
Johan Prins wrote:
>
> I am trying to get Linux accepted in my office, not only by the
> unix-people who are used to ftp rather than to drag & drop. That means
> that I need to "show" the linux box to the other machines the "easy"
> way.
> Does the SMB feature within Linux do that job, or does it just add the
> capability to the linux box to see SMB shares on Nt machines?
> (sorry, quite a basic question)
Samba allows your Linux box to "masquerade" as a Windows machine
on a network... I'm using it very successfully at home to share
my Linux partition out to my NT laptop, etc.. From the Windows
side, what you see is a "standard" Windows networked machine, and
you can connect to the shares and so on as you would normally.
HTH.
Andy
--
Andy Piper [EMAIL PROTECTED]
Fareham, Hampshire
------------------------------
From: "Kerry J. Cox" <[EMAIL PROTECTED]>
Subject: kppp
Date: Mon, 11 Jan 1999 18:59:51 +0000
Since installing the latest "kppp" that comes with KDE, my computer is
constantly trying to dial out. If I start kppp at the right time it
will work, but usually it says the modem is locked. When I checked my
/var/log/messages file it shows that ppp is trying to dial out
constantly and keeps timing out. Also, when I simply turn on the
external 33.6 modem, after a few minutes it will dial out and make the
connection. But to disconnect I have to grep ppp and kill that process.
I have tried unistalling and re-installing all the KDE apps. I used the
rpm versions to install them all.
Any ideas? Kppp is handy for connecting from home and my wife and kids
use it, but I'd like to see it better developed.
I'm using RedHat 5.2 with KDE 1.0. I never had this problem under RH
5.1 or using the Beta versions of KDE. Any ideas?
Thanks.
KJ
--
.-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-.
| Kerry J. Cox Vyzynz International Inc. |
| [EMAIL PROTECTED] Systems Administrator |
| (801) 596-7795 http://vii.com |
| All Things Linux http://quasi.vii.com/linux/ |
`---------------------------------------------------'
------------------------------
From: [EMAIL PROTECTED] (Richard Robinson)
Crossposted-To:
alt.destroy.microsoft,comp.os.linux.advocacy,comp.os.os2.advocacy,gnu.misc.discuss,uk.comp.os.linux
Subject: Re: Consumer Poll Says Microsoft Is Good For Consumers
Date: 12 Jan 1999 00:56:39 -0000
In article <[EMAIL PROTECTED]>,
Iain Georgeson <[EMAIL PROTECTED]> wrote:
>In article <7764k8$[EMAIL PROTECTED]>, Jeremy Mathers
><[EMAIL PROTECTED]> writes
>>specter of Hitler's ghost in an attempt to smear their detractors.
>
>Thank Godwin for that.
Yes. I bet it doesn't work, though :)
--
Richard Robinson
"The whole plan hinged upon the natural curiosity of potatoes" - S. Lem
I don't want to receive UCE :- remove 'x' to reply.
------------------------------
From: "Bryan Wicentowich" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.os2.misc
Subject: Re: YAMAHA 4260TI does this work well in this OS???
Date: Mon, 11 Jan 1999 12:18:11 -0700
[EMAIL PROTECTED] wrote in message ...
>hi there
>
> just wondering id this scsi cdrw works well in these operating
>systems. os2 warp / linux / win98(ugh)/?
>
> send me your comments please before i buy it.
>
> thanks
>
>
> (i probably will buy it anyway)
Yes, OS/2 version 2.1 and above on a 386 or above works perfectly. (Also
works with Windoze...).
------------------------------
From: "S�rgio Vale e Pace" <[EMAIL PROTECTED]>
Subject: cursor position
Date: Mon, 11 Jan 1999 18:03:55 -0200
Hi,
There is any way to know the cursor position (at least the row) from
inside of a bash script?
S�rgio
------------------------------
From: "S�rgio Vale e Pace" <[EMAIL PROTECTED]>
Subject: i386 binaries
Date: Mon, 11 Jan 1999 18:06:44 -0200
Hi,
Where can I find GCC, binutils, etc pre-compiled binaries for i386, The
HOWTOs I've lokked tell to go at metalab.unc... and prep.ai... and
didn't find-it
------------------------------
From: Rob Mahurin <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.setup
Subject: Re: help needed mounting fd0
Date: Tue, 12 Jan 1999 00:59:08 +0000
Reply-To: robmATmad.scientist.com
Albrigo Michele wrote:
>
> > I'm trying to mount , as root, my floppy
> > # mount -o rw /dev/fd0 /mnt/floppy and It works fine while I'm root,
> > when I login as user my floppy is read only and I cant write or copy file on
> > it.
> > I'm a Linux novice and I'm looking for help.
> > thanx in advance
> > Matteo
>
> If you only need to manage files from/to a floppy, I suggest you to use
> the mtools. They have almost the same syntax of their corresponding MS-DoS
> commands, and they are:
>
> mcopy (-> copy)
> mdir (-> dir, beware! mdir = dir a:, not simply dir)
> mdel (-> del)
> mcd (-> cd, be careful, if you don't want to use mcd, you'll have to
> change the original DOS syntax: copy a:\ciao\come\va.txt will be mcopy
> a:\ciao/come/va.txt, subdirectories will have inverted slashes!)
> mformat (has some problems, at least on the systems I use)
> mmove (same as mformat)
> ...and many others...
>
> Anyway, try also with "man mtools", for furhter informations.
> Bye
you can also include this line in /etc/fstab:
/dev/fd0 /floppy vfat user,noauto 0 0
and any user can mount a windoze floppy by typing "mount /floppy"
Rob
--
Asking a working writer what he thinks about critics is like asking a
lamp-post how it feels about dogs.
-- Christopher Hampton
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To:
alt.destroy.microsoft,comp.os.linux.advocacy,comp.os.os2.advocacy,gnu.misc.discuss,uk.comp.os.linux
Subject: Re: Consumer Poll Says Microsoft Is Good For Consumers
Date: 11 Jan 1999 17:12:16 -0800
In article <77e4jb$js0$[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
>
>>ah, this is remarkable! you freely admit that quality of the OS
>>itself is *not* the driver behind choice of OS, it's what is available
>>for that OS. thus you admit the possibility of market failure!
>>microsoft windows can be poor yet still a dominant OS.
>
>Of course - people buy computers to run applications.
SOME?? some??
what do you mean some??
why the heck would anyone buy an OS for anything else???????
this is like saying some people buy cars to drive them !!!!
man, these Linux geeks have to get out more and learn about the real world
to find what people use computers for!
Les, you are a big doodle twit.
Bob
------------------------------
From: [EMAIL PROTECTED] (John Forkosh)
Crossposted-To: alt.linux,alt.os.linux,comp.os.linux,comp.os.linux.setup
Subject: Re: [xxx] Can Suck My Hairy Cock
Date: 11 Jan 1999 20:06:02 GMT
Shaygetz ("smcquale"@ix.netcom.com) wrote:
: "Omni�" wrote:
: >
: > [snipped]
: >
: > if your so fuckin smart
: > whats the intel p200 cpu machine language code
: > to create a nul file in linux?
: Um, try this (in Linux):
: su -
: rm -r /
: Then reboot.
I appreciate your sentiment vis-a-vis the original poster,
but you might unintentionally harm some innocent reader who
doesn't get it.
So...no one should follow the above instructions,
which will delete every file on every mounted
volume.
John ([EMAIL PROTECTED])
------------------------------
From: [EMAIL PROTECTED] (Ben)
Subject: Linux, Unix or Unix alike?
Date: Mon, 11 Jan 1999 19:15:21 GMT
I had an argument with one of my teachers about this subject. Is Linux
a Unix system or a Unix alike system? And what does it take to be
considered � Unix system?
Thanks
------------------------------
Date: Mon, 11 Jan 1999 21:09:51 +0100
From: Peter Cedermark <[EMAIL PROTECTED]>
Subject: Re: glint errors
I've gotten those errors only when I don't have permission to install packages
(by default only root can do rpm installations). Sometimes it helps to type (as
root) "rpm --rebuilddb" which rebuilds the database which contains installed
packages.
Hope this helps / Pete
Kyle Maxwell wrote:
>
> When trying to install/uninstall packages on a RedHat 5.1 distribution,
> glint often gives me this error:
>
> failed to open //var/lib/rpm/packages.rpm
>
> error: cannot open //var/lib/rpm/packages.rpm
>
> What does this mean? How can I fix it? I've seen the exact same message
> when using rpm from the command line, if that helps any. Is there other
> info needed before this tells anybody anything?
>
> --
> Kyle Maxwell
> The Beam
------------------------------
Date: Mon, 11 Jan 1999 21:14:00 +0100
From: Peter Cedermark <[EMAIL PROTECTED]>
Subject: Re: Opinions on Applixware
I use ApplixWare 4.1 at school and it works great. It uses a different approach,
i.e. doesn't offer an integrated desktop (which I like). The programs in the
suite are very capable and should satisfy your needs. They are on a par with the
programs in the StarOffice suite.
What I don't know is if there is a capability to import documents from Microsnot
Office, but that information is probably available at the company's website.
That's my (very brief) opinion...
Jim Heffner wrote:
>
> I've installed Staroffice 5.0, but the maddening registration process,
> along with the incredible slowness of the software, have motivated me to
> look at alternatives. If anyone who has used Applix (or even both),
> could offer their honest opinion, I'd be interested in hearing what you
> have to say.
>
> Thanks.
>
> Jim
------------------------------
Date: Mon, 11 Jan 1999 21:14:23 -0500
From: Chris Leith <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Networking two linux machines (proxy)
I have desktop machine connected to an ethernet, and I would like to
connect my laptop to this machine, using my desktop as a proxy server
for it. (Not sure if I have the terminology or picture straight.) I
was told that I need to add a second ethernet card to my desktop machine
to do this, and I think I am capable of getting the hardware setup
correctly. However, I am not sure how to setup linux for the network I
desire. Could anyone start me off, or at least point me in the
direction of a relevent HOWTO doc? Is this a painful undertaking?
Currently I have my desktop machine dynamically grabbing an IP from the
ethernet. I have linux 2.0.34, and I successfully compiled the kernel
to support my PCI D-link 10Mbs ether adapter. This much I found fairly
simple to get going, and I am ultimately wondering if the next step I
want to take, as outlined above, will be as straight forward.
Thanks a million in advance.
Chris Leith
------------------------------
From: [EMAIL PROTECTED] (Chetan Ahuja)
Subject: Yes LILO can boot from secondary IDE channel (Was : Re: Installing Linux on
a secondarzy UIDE disk)
Date: 12 Jan 1999 02:08:27 GMT
Kaustav Bhattacharya ([EMAIL PROTECTED]) wrote:
: OK, so I just bought a 6Gb UIDE hard disk for my PC which is currently
: chugging away happily with it's one and only 10Gb UIDE hard disk. I'm
: going to plug the new disk in this evening. If I install RedHat5.2 on
: the second disk, will the installation process need to
: move/shrink/change/repartition my existing 10GB drive (which has Win98
: on it)? Do I still need to have to initial 2048Kb boot block (I think
: that's correct!) on the primary boot disk for Linux or can that now go
: on my second disk? It would be really useful not to touch that Win98
: 10GB disk at all to be honest but I suspect that's not going to be
: possible... I hear a million screaming at me "go read the bloody FAQ's!"
: ok ok, I go do that now :) Have pitty, I'm a flippin Win98 dumbo jumping
: headlong into Linux world :)
: Kozzey
If you searched this newsgroup for an answer before posting you might have
come across my posts with a similar problem and furthermore, it may have given
you the impression that it what you are trying to do was impossible to do with
LILO. Not true. I managed to solve my problem with ( what I think is ) a recent
change to LILO. You can use the map-drive option to enable booting an OS from
a secondary IDE channel... In my case it was important to do it because I
wanted my two hard disks to make full use of their UDMA capabilities and so I
wanted them both to be Masters on their separate IDE channels. ( read my other
recent posts containing the word LILO in this group for more details)
Well... ultimately I came across this gem of an option which has apparently
been added only on LILO version 20 ( the one included with RedHat 5.2 ) I
must admit I am not sure what exactly the map-drive lines doing in the
lilo.conf file ( attached ). My guess is they are fooling the BIOS into
seeing the third drive ( hdc ) when it wouldn't have seen beyond the first
two drives ordinarily by changing the IO register addresses that the IDE
controller uses use to communicate with the CPU... ( somebody care to give
more details... ??)
Anyway, here's the lilo.conf file that worked for me. The drive hdc has
an unalterd NT installation ( hdc1 is C: for NT ). hda2 is my root partition
for linux ( but all my lilo and boot files are stored on partition hda1 mpunted
on /boot which is only 10 MB to make sure it falls under cylinder number 1024... read
my earlier posts and RTFM for more details on that..) I run lilo with the
command
lilo -r /boot
for it to take effect.....
ignore-table
read-only
boot=/dev/hda
map=/map
install=/boot.b
prompt
timeout=50
image=/vmlinuz-2.0.36-0.7
label=linux
root=/dev/hda2
other=/dev/hdc1
label=NT
table=/dev/hdc
map-drive=0x80
to=0x81
map-drive=0x81
to=0x80
( Note: I got the numbers 0x81 and 0x80 from an example lilo.conf I saw on
a search on the dejanews... they have to be standard register addresses for
IDE communications.. I think they will work for you too...)
Hope it works for you..
Chetan
Disclaimer: You are screwing around with low level I/O thingies...
try this at your own risk...
--
------------------------------
From: [EMAIL PROTECTED] (Kiefers Dream)
Subject: How to add second wharf to Afterstep desktop?
Date: Tue, 12 Jan 1999 02:38:12 GMT
I am running Afterstep 1.4.5.3-2 and RedHat5.1 Linux.
I have been attempting to configure a second wharf on my Afterstep
desktop and cannot seem to make it work. According to the faq you
need to link the wharf file to another file ie: mywharf which I have
done, "ln -s wharf mywharf".
I then added several entries in the wharf
file headed by mywharf as described in the faq. Finally I added
entry's to the database and autoexec files in usr/share/afterstep. No
matter what I have played with nothing seems to work.
Does anyone have an answer or is there a site with more detailed
information or examples on adding wharf's. I'm sure that the fix is
simple but I am losing hair over this one. Any help would be
apprieciated.
I will post any of my files if requested.
Tia P.
--
Please remove X from email address when replying.
"Lets raise a glass of milk to the end of another day"
Gord Downie http://www.thehip.com
------------------------------
From: Pascal Rigaux <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Acessing binary file from the code without open(argv[0] ..)
Date: 11 Jan 1999 21:13:36 +0100
"Pedro Ribeiro" <[EMAIL PROTECTED]> writes:
> Can anyone tell-me how can i access the binary file i'm executing from the
> code under Linux (without open(argv[0], ...) ???
>
> It should be any way to know the addresses where the binfile was paged an
> simply access them with a pointer no ??
>
You should be able to acces the code, but in any case it won't be the same as
the thing you get when you open argv[0].
For eg, the beginning of an elf binary contains .ELF which explains where to map
the binary.
The @s at which the different parts of the binary are mmapped can be found with
objdump.
Hope it helps, Pixel.
------------------------------
From: "XtamorZ" <[EMAIL PROTECTED]>
Subject: Re: endless :( please help
Date: Mon, 11 Jan 1999 20:52:00 +0100
>libc.so.6 is glibc.
>
>This is the "Standard C library".
>The .so means it's "dynamically linked" that is, when you run a program
>that needs this library it loads the library at runtime rather than it
>being statically linked in to the executable at compile time. This
>allows the executables to be smaller (because they don't have to each
>contain the code) and the memory requirements to be smaller because
>processes can share a single in-memory version of the code (text portion
>anyway). Also, because the executable is smaller, it loads faster (or
>you could look at it as part of the executable is already loaded).
>
>su to root, put lib.so.6 in /lib/ and then run ldconfig.
>
>Or, probably beter, use rpm or glint to install glibc-2.0.7-17.src.rpm
Thanks you !
------------------------------
From: [EMAIL PROTECTED]
Subject: Is there an app called dp?
Date: Mon, 11 Jan 1999 20:38:41 GMT
I'm working on an app that i'll be releasing version 0.0.-1 of any day now.
I'd like to call it dp, but i want to make sure there's nothing out there
called dp or xdp (to avoid confusion, of course)
Also, is the name pi "taken"?
Please ignore the following lines:
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: [EMAIL PROTECTED] (Karl Schmid)
Subject: problem with libc
Date: Tue, 12 Jan 1999 02:42:12 GMT
Hi,
here is what I guess is a typical linux newbie question:
I installed a suit of programs for comparing DNA sequences that were
compiled for linux. When I start any of these programs, I get the
following messages:
(the name of the program is blastp)
./blastp: error in loading shared libraries
/usr/i486-linux-libc6/lib/libc.so.6: undefined symbol: _dl_profile
Is this an error caused by a bug in the program or by linux and how can I
get around it? Where can I find documentation that may be helpful in this
matter?
I am using the default installation of SuSE linux 5.3.
Best,
Karl
------------------------------
** 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
******************************