Linux-Misc Digest #363, Volume #24                Thu, 4 May 00 20:13:05 EDT

Contents:
  What am I doing wrong? rpm build error: Bad Owner/Group (Robert Heller)
  Re: Howto use a funtion in a struct ???????? (Alex Chudnovsky)
  Re: LinuxRouter doesn't boot!! (Azfar Kazmi)
  Driver for Gateway FPD 1500 Digital Video Card (Puneet Manchanda)
  Re: AMD/Intel... what's faster on Linux? (David Efflandt)
  Re: good email client for Linux? (Matt Friedman)
  Re: Any FreeBSD books for a Linux user? (David Efflandt)
  Re: [Q] A linux system on cdrom (Johan Kullstam)
  Re: good email client for Linux? (Rod Smith)
  Re: Howto use a funtion in a struct ???????? ("Peter T. Breuer")
  Re: Copying sent email question (David Efflandt)
  Anyone else out there using BootPart? ("Bracy")
  UM-College Park AfterFest 6 May (David Lesher)
  mmap with /dev/zero usage ??? (Olivier Spielmann)
  Re: Windows 95/98 under Linux (Kenny McCormack)
  SIMPLE HELP ("virgin_news")

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

From: Robert Heller <[EMAIL PROTECTED]>
Subject: What am I doing wrong? rpm build error: Bad Owner/Group
Date: Thu, 04 May 2000 22:03:40 GMT

What does this error message mean: 'Bad Owner/Group'?  I am getting it
when I try to create a *slightly* hacked version of ghostscript 5.10-10
under RH 6.1.  RPM completes through the %install phase.  It seems to be
unhappy with the %build stage.  Here is the spec file I am using:

=====begin ghostscript=5.10=epsh.spec =============
Summary: A PostScript(TM) interpreter and renderer.
Name: ghostscript
%define version 5.10
Version: %{version}
Release: 10.epsh
License: GPL
Group: Applications/Publishing
Source0: ftp://prep.ai.mit.edu:/pub/gnu/ghostscript-%{version}.tar.gz
Source1: ftp://prep.ai.mit.edu:/pub/gnu/ghostscript-%{version}jpeg.tar.gz
Source2: http://www.erdw.ethz.ch/~bonk/ftp/gs-driver-distrib/hp8xxs13.zip
%define hpdjver 2.5
Source3: ftp://ftp.pdb.sni.de/pub/utilities/misc/hpdj-%{hpdjver}.tar.gz
Patch0: ghostscript-5.10-config.patch
Patch1: gs5.10-rth.patch
Patch2: gs5.10-oki.patch
Patch3: gs5.10-hp8xx.patch
Patch4: gs5.10-hpdj.patch
Patch5: gs5.10-epsh.patch
Requires: urw-fonts >= 1.1, ghostscript-fonts
BuildRoot: /var/tmp/ghostscript-root

%description
Ghostscript is a set of software that provides a PostScript(TM)
interpreter, a set of C procedures (the Ghostscript library, which
implements the graphics capabilities in the PostScript language) and
an interpreter for Portable Document Format (PDF) files.  Ghostscript
translates PostScript code into many common, bitmapped formats, like
those understood by your printer or screen.  Ghostscript is normally
used to display PostScript files and to print PostScript files to
non-PostScript printers.

If you need to display PostScript files or print them to
non-PostScript printers, you should install ghostscript.  If you
install ghostscript, you also need to install the ghostscript-fonts
package.

%prep
%setup -q -n gs%{version}
%setup -q -T -D -a 1 -n gs%{version}
# When configuring or adding new print drivers, make sure to edit the
# component files (unixhead.mak, devs.mak, unix-end.mak) rather than
# the final makefile (unix-gcc.mak).  The ./tar-cat operation at the
# end pieces them all together, and the .dev files will be automatically
# constructed only if the .dev modifications end up in unix-gcc.mak.

%patch0 -p1 -b .config
%patch1 -p1 -b .rth
# Patch to add support for OkiPage 4w+ LED printer
%patch2 -p1 -b .oki
# Add support for HP 8xx printers
%patch3 -p1 -b .hp8xx
mkdir tmp
cd tmp
unzip -a -L %{SOURCE2}
rm devs.mak *.dev
mv *.c *.h ..
rm -f *
# Add support for some other HP printers
tar xzfO %{SOURCE3} hpdj-%{hpdjver}/hpdj.tar | tar xf -
mv *.c *.h *.1 ..
cd ..
patch -p0 -z .hpdjauto < tmp/devs.mak-5.10.diff
patch -p0 -z .hpdjauto < tmp/zmedia2.c-5.10.diff
%patch4 -p1 -b .hpdj
rm -rf tmp
# Finally, put all the pieces together
./tar_cat
ln -s unix-gcc.mak Makefile
%patch5 -p1
%build
%ifarch alpha
make RPM_OPT_FLAGS="" prefix=/usr
%else
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" prefix=/usr
%endif

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr/{bin,man,doc}
make install prefix=$RPM_BUILD_ROOT/usr
ln -sf gs.1 $RPM_BUILD_ROOT/usr/man/man1/ghostscript.1
ln -sf gs $RPM_BUILD_ROOT/usr/bin/ghostscript
strip $RPM_BUILD_ROOT/usr/bin/gs

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
/usr/doc/ghostscript-%{PACKAGE_VERSION}
/usr/bin/*
%dir /usr/share/ghostscript
%dir /usr/share/ghostscript/%{PACKAGE_VERSION}
/usr/share/ghostscript/%{PACKAGE_VERSION}/*ps
/usr/share/ghostscript/%{PACKAGE_VERSION}/*upp
%config /usr/share/ghostscript/%{version}/Fontmap
/usr/share/ghostscript/%{PACKAGE_VERSION}/examples
/usr/man/*/*

%changelog
* Tue Aug 24 1999 Bill Nottingham <[EMAIL PROTECTED]>
- don't optimize on Alpha. This way it works.

* Thu Jul 29 1999 Michael K. Johnson <[EMAIL PROTECTED]>
- added hpdj driver
- changed build to use tar_cat so adding new drivers is sane

* Thu Jul  1 1999 Bill Nottingham <[EMAIL PROTECTED]>
- add OkiPage 4w+, HP 8xx drivers

* Mon Apr  5 1999 Bill Nottingham <[EMAIL PROTECTED]>
- fix typo in config patch.

* Sun Mar 21 1999 Cristian Gafton <[EMAIL PROTECTED]> 
- auto rebuild in the new build environment (release 6)

* Mon Mar 15 1999 Cristian Gafton <[EMAIL PROTECTED]>
- added patch from rth to fix alignement problems on the alpha.

* Wed Feb 24 1999 Preston Brown <[EMAIL PROTECTED]>
- Injected new description and group.

* Mon Feb 08 1999 Bill Nottingham <[EMAIL PROTECTED]>
- add uniprint .upp files

* Sat Feb 06 1999 Preston Brown <[EMAIL PROTECTED]>
- fontpath update.

* Wed Dec 23 1998 Preston Brown <[EMAIL PROTECTED]>
- updates for ghostscript 5.10

* Fri Nov 13 1998 Preston Brown <[EMAIL PROTECTED]>
- updated to use shared urw-fonts package.

* Mon Nov 09 1998 Preston Brown <[EMAIL PROTECTED]>
- turned on truetype (ttf) font support.

* Thu Jul  2 1998 Jeff Johnson <[EMAIL PROTECTED]>
- updated to 4.03.

* Tue May 05 1998 Cristian Gafton <[EMAIL PROTECTED]>
- enabled more printer drivers
- buildroot

* Mon Apr 27 1998 Prospector System <[EMAIL PROTECTED]>
- translations modified for de, fr, tr

* Mon Mar 03 1997 Erik Troan <[EMAIL PROTECTED]>
- Made /usr/share/ghostscript/3.33/Fontmap a config file.
=====end ghostscript=5.10=epsh.spec =============

And here is the patch file I created:

=====begin gs5.10=epsh.patch ================
diff -u -r gs5.10.orig/Makefile gs5.10/Makefile
--- gs5.10.orig/Makefile        Wed May  3 20:26:18 2000
+++ gs5.10/Makefile     Wed May  3 21:01:59 2000
@@ -308,7 +308,7 @@
        paintjet.dev pj.dev pjxl.dev pjxl300.dev \
        cdj850.dev cdj670.dev cdj890.dev cdj1600.dev hpdj.dev
 DEVICE_DEVS5=uniprint.dev
-DEVICE_DEVS6=bj10e.dev bj200.dev bjc600.dev bjc800.dev epson.dev eps9mid.dev \
+DEVICE_DEVS6=bj10e.dev bj200.dev bjc600.dev bjc800.dev epsonsh.dev epson.dev 
+eps9mid.dev \
        eps9high.dev epsonc.dev ibmpro.dev jetp3852.dev oki4w.dev
 DEVICE_DEVS7=dfaxhigh.dev dfaxlow.dev faxg3.dev faxg32d.dev faxg4.dev \
        cp50.dev
@@ -4828,6 +4828,9 @@
 ###   ibmpro - James W. Birdsall ([EMAIL PROTECTED])        ###
 
 epson_=gdevepsn.$(OBJ)
+
+epsonsh.dev: $(epson_)
+       $(SETDEV) epsonsh $(epson_)
 
 epson.dev: $(epson_) page.dev
        $(SETPDEV) epson $(epson_)
diff -u -r gs5.10.orig/gdevepsn.c gs5.10/gdevepsn.c
--- gs5.10.orig/gdevepsn.c      Thu Dec 17 19:56:19 1998
+++ gs5.10/gdevepsn.c   Wed May  3 20:49:23 2000
@@ -100,10 +100,22 @@
 
 /* The device descriptors */
 private dev_proc_print_page(epson_print_page);
+private dev_proc_print_page(epsonsh_print_page);
 private dev_proc_print_page(eps9mid_print_page); 
 private dev_proc_print_page(eps9high_print_page);
 private dev_proc_print_page(ibmpro_print_page);
 
+/* Standard Epson device w/sheet feeder (alt margins) */
+gx_device_printer far_data gs_epsonsh_device =
+  prn_device(prn_std_procs, "epsonsh",
+       DEFAULT_WIDTH_10THS, DEFAULT_HEIGHT_10THS,
+       X_DPI, Y_DPI,
+/*     0.2, 0.7, 0.2, 0.2,     */              /* margins */
+/*     0.2, 0.6375, 0.2, 0.2625,       */              /* margins */
+/* .09375 */
+       0.2, 0.4625, 0.2, 0.1375,                       /* margins */
+       1, epsonsh_print_page);
+
 /* Standard Epson device */
 gx_device_printer far_data gs_epson_device =
   prn_device(prn_std_procs, "epson",
@@ -459,6 +471,14 @@
        ESC, '@', ESC, 'P', ESC, 'l', 0, '\r', ESC, 'Q'
 #endif
 };
+
+private int
+epsonsh_print_page(gx_device_printer *pdev, FILE *prn_stream)
+{
+       return eps_print_page(pdev, prn_stream, 0, eps_init_string,
+                             sizeof(eps_init_string), "\f\033@",
+                             ARCHAIC, TAB_HICCUP);
+}
 
 private int
 epson_print_page(gx_device_printer *pdev, FILE *prn_stream)
diff -u -r gs5.10.orig/makefile gs5.10/makefile
--- gs5.10.orig/makefile        Wed May  3 20:26:18 2000
+++ gs5.10/makefile     Wed May  3 21:01:59 2000
@@ -308,7 +308,7 @@
        paintjet.dev pj.dev pjxl.dev pjxl300.dev \
        cdj850.dev cdj670.dev cdj890.dev cdj1600.dev hpdj.dev
 DEVICE_DEVS5=uniprint.dev
-DEVICE_DEVS6=bj10e.dev bj200.dev bjc600.dev bjc800.dev epson.dev eps9mid.dev \
+DEVICE_DEVS6=bj10e.dev bj200.dev bjc600.dev bjc800.dev epsonsh.dev epson.dev 
+eps9mid.dev \
        eps9high.dev epsonc.dev ibmpro.dev jetp3852.dev oki4w.dev
 DEVICE_DEVS7=dfaxhigh.dev dfaxlow.dev faxg3.dev faxg32d.dev faxg4.dev \
        cp50.dev
@@ -4828,6 +4828,9 @@
 ###   ibmpro - James W. Birdsall ([EMAIL PROTECTED])        ###
 
 epson_=gdevepsn.$(OBJ)
+
+epsonsh.dev: $(epson_)
+       $(SETDEV) epsonsh $(epson_)
 
 epson.dev: $(epson_) page.dev
        $(SETPDEV) epson $(epson_)
diff -u -r gs5.10.orig/unix-gcc.mak gs5.10/unix-gcc.mak
--- gs5.10.orig/unix-gcc.mak    Wed May  3 20:26:18 2000
+++ gs5.10/unix-gcc.mak Wed May  3 21:01:59 2000
@@ -308,7 +308,7 @@
        paintjet.dev pj.dev pjxl.dev pjxl300.dev \
        cdj850.dev cdj670.dev cdj890.dev cdj1600.dev hpdj.dev
 DEVICE_DEVS5=uniprint.dev
-DEVICE_DEVS6=bj10e.dev bj200.dev bjc600.dev bjc800.dev epson.dev eps9mid.dev \
+DEVICE_DEVS6=bj10e.dev bj200.dev bjc600.dev bjc800.dev epsonsh.dev epson.dev 
+eps9mid.dev \
        eps9high.dev epsonc.dev ibmpro.dev jetp3852.dev oki4w.dev
 DEVICE_DEVS7=dfaxhigh.dev dfaxlow.dev faxg3.dev faxg32d.dev faxg4.dev \
        cp50.dev
@@ -4828,6 +4828,9 @@
 ###   ibmpro - James W. Birdsall ([EMAIL PROTECTED])        ###
 
 epson_=gdevepsn.$(OBJ)
+
+epsonsh.dev: $(epson_)
+       $(SETDEV) epsonsh $(epson_)
 
 epson.dev: $(epson_) page.dev
        $(SETPDEV) epson $(epson_)
=====end gs5.10=epsh.patch ================






                                                                                       
     
-- 
                                     \/
Robert Heller                        ||InterNet:   [EMAIL PROTECTED]
http://vis-www.cs.umass.edu/~heller  ||            [EMAIL PROTECTED]
http://www.deepsoft.com              /\FidoNet:    1:321/153

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

From: Alex Chudnovsky <[EMAIL PROTECTED]>
Subject: Re: Howto use a funtion in a struct ????????
Date: Thu, 04 May 2000 22:49:23 GMT



>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<

On 5/3/00, 3:53:57 PM, Bonny Gijzen <[EMAIL PROTECTED]> wrote regarding=
=20
Howto use a funtion in a struct ????????:


>     Hello,

> I want to use a function in a struct :

> struct _Appstruct
> {
>     char *Name;
>     void SomeFunction();

> }

> Then I could use :

> App->SomeFunction();

> I know this is possible in a class, but I'm using C so ????????

Nope. It is not possible in C. That is what C++ is for. In C++, BTW,=20
struct is just another kind of class

> Regards Bonny Gijzen,
Regards
Alex Chudnovsky.
e-mail : [EMAIL PROTECTED]

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

From: Azfar Kazmi <[EMAIL PROTECTED]>
Subject: Re: LinuxRouter doesn't boot!!
Date: Thu, 04 May 2000 22:08:25 GMT

I formatted floppies in NT and then rawrited them in Windows 98 - for
no success. They still don't boot.

Should I format them in 98?

--
Azfar

In article <8eq479$cnc$[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] (Sam E. Trenholme) wrote:
> >I downloaded linuxrouter's idiot_image-2.9.3 and rawrote to two
> >floppies from my NT box. The problem is: neither of these floppies
> >boot?? Any tips? I used both rawrite2 and rawrite3 but no success.
>
> I know NT doesn't like Rawrite.  Some tips:
>
> * If the floppies are unformatted, format them before rawriting them
>
> * Last time I looked, NT refused to allow rawrite to write to a
floppy.
>   make the floopies with rawrite in DOS or Win95/98, or with dd in
Linux.


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: Puneet Manchanda <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.setup
Subject: Driver for Gateway FPD 1500 Digital Video Card
Date: Thu, 04 May 2000 17:25:08 -0500

Hi,

Could anybody point me to some resources where I could find information on
drivers for digital video cards? I am trying to use a Gateway FPD 1500
digital video card with a LG monitor (made in South Korea).

Thanks

Puneet Manchanda


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

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: AMD/Intel... what's faster on Linux?
Date: 4 May 2000 22:31:50 GMT
Reply-To: [EMAIL PROTECTED]

On Wed, 03 May 2000 22:34:42 +0200, Sebastian Breier <[EMAIL PROTECTED]> wrote:
>Hi!
>
>I have a discussion here with a friend...
>I say AMD has the faster processors, he says Intel has the faster
>processors.
>
>Now we know that the Intel support in Linux is much better than AMD's,
>but...
>
>Compared on a Linux Machine, what would be better?
>AMD or Intel processor? (Same clockspeed, and standard RAM [that
>means, no Rimm for Intel, because that would give the Intel chip an
>unfair advantage and would be much more expensive]).

You are both right, or both wrong, depending upon how you look at it.  The
older AMD K6 processors did not have an efficient fpu.  For example when I
upgraded from P200 MMX (P180@66MHz) to Evergreen AMD K6-2/400, fpu
calculations only improved 15%.  A mobile PIII 500 is twice as fast, but
has faster RAM, video and hd.  On the other hand I do not know how the
Athlons compare with their psudo 200 MHz front side bus.

-- 
David Efflandt  [EMAIL PROTECTED]  http://www.de-srv.com/
http://www.autox.chicago.il.us/  http://www.berniesfloral.net/
http://hammer.prohosting.com/~cgi-wiz/  http://cgi-help.virtualave.net/


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

From: Matt Friedman <"mwf"@total.net(remove-to-reply)>
Subject: Re: good email client for Linux?
Date: Thu, 04 May 2000 18:41:11 -0400

[EMAIL PROTECTED] wrote:
> 
> Can anyone recomend a good email client for Linux?
> 
> kmail sucks. Staroffice is too heavyweight.
> Netscape mail only supports one POP3 account and
> is slow.

Hmmm... well there's Spruce. It's speedy, has a pretty good filtering
tool, an excellent addressbook, and it's lighter than KMail. Supports
POP and IMAP...

Check out http://www.xtorshun.org/spruce/ for details.

MF

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

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Any FreeBSD books for a Linux user?
Date: 4 May 2000 22:51:07 GMT
Reply-To: [EMAIL PROTECTED]

On Thu, 04 May 2000 03:51:58 GMT, burk <[EMAIL PROTECTED]> wrote:
>I've been thinking of expanding my horizons setting up a FreeBSD box. I
>like Linux, (and make a good part of my living running it), but I want
>to get a broader grounding in the open source unices. Any suggestions
>for a good book, hopefully not too basic, that will help me get up and
>running on FreeBSD? I'm asking here because I'm sure there are people
>like me, who approach FreeBSD from a Linux background. Thanks for any
>help you can give me.

I did an ftp install of FreeBSD without any trouble and without any books.
The online docs are pretty complete.  Docs are usually in /usr/share or
/usr/X11/share and the ports make it easy to install the latest programs.
You have to compile an option into the kernel to read/write ext2 drives.  
There is a Linux+FreeBSD-HOWTO.

If you use the default sh for a shell you can get the backspace key to
work properly (?) by adding the following to .shrc or whatever it uses for
an rc file:  set -o vi

One thing that threw me was that the binary for 'mc' (midnight commander)
is called 'midc' due to a conflict with another program name.

-- 
David Efflandt  [EMAIL PROTECTED]  http://www.de-srv.com/
http://www.autox.chicago.il.us/  http://www.berniesfloral.net/
http://hammer.prohosting.com/~cgi-wiz/  http://cgi-help.virtualave.net/


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

Subject: Re: [Q] A linux system on cdrom
From: Johan Kullstam <[EMAIL PROTECTED]>
Date: Thu, 04 May 2000 22:58:10 GMT

Philippe Depouilly <[EMAIL PROTECTED]> writes:

> Hello,
> 
> Is there a possibility to have a linux system running from a CDROM ?
> (to have a NFS server working even if the system disk is out of
> order).

yes, i think you can.  linux does need some filesystem scratch pad.
hence you'll at least need a ramdisk or nfs based /tmp.  swap is
optional but you can easily run out of ram.

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

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

Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: good email client for Linux?
Date: Thu, 04 May 2000 22:59:22 GMT

[Posted and mailed]

In article <8esd1a$e3t$[EMAIL PROTECTED]>,
        [EMAIL PROTECTED] writes:
> Can anyone recomend a good email client for Linux?
> 
> kmail sucks. Staroffice is too heavyweight.
> Netscape mail only supports one POP3 account and
> is slow.

At the moment, I'm using mutt (http://www.mutt.org) for text-mode stuff
and xcmail (http://www.fsai.fh-trier.de/~schmitzj/Xclasses/XCmail/) for
GUI stuff. I'm not really satisfied with either of them (particularly
XCmail), but they seem the best I've tried for my purposes. Note that I'm
not using either for POP access; for that, I'm using fetchmail
(http://www.tuxedo.org/~esr/fetchmail/index.html), which grabs mail from
POP, IMAP, or various other types of mail servers and dumps the mail into
the local Linux mail queue. Fetchmail can be configured to check mail
at regular intervals, or run manually.

-- 
Rod Smith, [EMAIL PROTECTED]
http://www.rodsbooks.com
Author of books on Linux networking & multi-OS configuration

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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Howto use a funtion in a struct ????????
Date: 4 May 2000 22:55:10 GMT

Alex Chudnovsky <[EMAIL PROTECTED]> wrote:
: On 5/3/00, 3:53:57 PM, Bonny Gijzen <[EMAIL PROTECTED]> wrote regarding 
:> I want to use a function in a struct :

No you don't. Please use the right words. It's less confusing. You want
to PUT a function in a struct. Well, look at the kernel source, where this is
done everywhere.

:> struct _Appstruct
:> {
:>     char *Name;
:>     void SomeFunction();

You mean
     void (*SomeFunction)();

:> }

:> Then I could use :
:> App->SomeFunction();
:> I know this is possible in a class, but I'm using C so ????????

: Nope. It is not possible in C. That is what C++ is for. In C++, BTW, 

Balderdash. Pigs ears. And I suppose the kernel doesn't exist?

Peter

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

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Copying sent email question
Date: 4 May 2000 23:10:11 GMT
Reply-To: [EMAIL PROTECTED]

On Thu, 04 May 2000 07:31:11 -0600, Lance Hoffmeyer <[EMAIL PROTECTED]> wrote:
>I want to put a copy of emails I send into a folder call send 'i.e. ~/Mail/send
>I am using nmh and mail client and exim as my mail server.  Any suggestions
>on how I might accomplish this?

Have you thought about using a somewhat easier mail client like 'pine'
that would do that for you automatically?  Or are you trying to do
something with a mail script?

-- 
David Efflandt  [EMAIL PROTECTED]  http://www.de-srv.com/
http://www.autox.chicago.il.us/  http://www.berniesfloral.net/
http://hammer.prohosting.com/~cgi-wiz/  http://cgi-help.virtualave.net/


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

From: "Bracy" <[EMAIL PROTECTED]>
Subject: Anyone else out there using BootPart?
Date: Thu, 04 May 2000 23:16:39 GMT

This isn't a question, just a suggestion for those who
are trying to configure dual- and multi-boot setups with
Linux and WinNT/Win2000.  

On my setup, I have two physical disks.  I have Windows95 
and WindowsNT on the first disk, and Linux and FreeBSD on 
the other. I use BootPart to get to them.  What BootPart
does is create a 512Mb file on the first partition of your
first physical drive which is a copy of your master boot
record.  It uses that to find your other partitions and 
lists them in the WinNT boot.ini file.  So, you can just
use the WinNT boot menu to select your operating system.

BootPart is very easy to use.  Just type "bootpart" and it
will display all of your partitions and number them. Run
bootpart again and pass the number of the partition that
contains your boot files as a parameter, and give a
name for the bootpart bin file like this:

bootpart 8 bootlinx.bin Red Hat Linux 6.2

where "8" in this case is the partition of my Linux /boot
partition, "bootlinx.bin" is the name of the MBR file that
BootPart will create, and "Red Hat Linux 6.2" is what I
want the WinNT boot menu to display.

Anyway, just a thought that might help some of you who are
trying to setup multi-boot configurations.

If you want to give it a try, you can get it here:

http://www.winimage.com/bootpart.htm

Bracy

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

From: [EMAIL PROTECTED] (David Lesher)
Crossposted-To: dc.general,md.general,dc.org.linux-users
Subject: UM-College Park AfterFest 6 May
Date: 4 May 2000 19:30:38 -0400
Reply-To: [EMAIL PROTECTED] (David Lesher)

The UMCP Linux Users Group is sponsoring an AfterFest on Saturday.

If you recently installed Linux, say at the InstallFest
in April, and have some configuration problems, see
        <http://www.tux.org/fest>
...for how to get some help. Space is limited; be sure you have
registered.

-- 
A host is a host from coast to [EMAIL PROTECTED]
& no one will talk to a host that's close........[v].(301) 56-LINUX
Unless the host (that isn't close).........................pob 1433
is busy, hung or dead....................................20915-1433

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

Date: Thu, 04 May 2000 16:33:57 -0700
From: Olivier Spielmann <[EMAIL PROTECTED]>
Subject: mmap with /dev/zero usage ???

Hi,

I am running RH 5.2 and would like to allocate more than 4096bytes of
memory at a time. Then I tried mmap with the /dev/zero device.

The code is :

#include <sys/types.h>
#include <sys/mman.h>
#include <fcntl.h>
#include <unistd.h>

#define NLOOPS      1000
#define SIZE        sizeof(long)

static int update(long*);

int
main()
{
  int fd,i,counter;
  pid_t pid;
  caddr_t area;
  if ((fd = open("/dev/zero",O_RDWR)) < 0)
    perror("open error");

  if ((area = (caddr_t)mmap(NULL,1024,PROT_READ|PROT_WRITE,0,fd,0)) ==
(caddr_t) -1)
    perror("mmap error");

  close(fd);

  memcpy(area,&i,1024);
  return 0;
}

and the output of the program is :

> mmap error: Invalid argument
> Segementation fault (core dumped)

Could anybody help me ?

Thanks

--
===========================================================================================

Olivier Spielmann
Communication Systems EPFL student (Switzerland)
Intern (thesis internship)

3Com Corporation
5400 Bayfront Plaza
M/S: 3219
Santa Clara, CA 95052-8145

Work: ++1 (408) 326 6304
Fax:  ++1 (408) 326 8188




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

From: [EMAIL PROTECTED] (Kenny McCormack)
Subject: Re: Windows 95/98 under Linux
Date: 4 May 2000 18:52:24 -0500
Reply-To: [EMAIL PROTECTED]

In article <[EMAIL PROTECTED]>,
Tony Lawrence  <[EMAIL PROTECTED]> wrote:
>
>I just want to share this if you haven't heard about it
>already: http://aplawrence.com/Reviews/win4lin.html
>
>This was the final piece I needed to let me switch to a
>Linux desktop (now all I have to do is finish up that
>machine with a tape drive and I'm done).

I looked at the web page - sounds a lot like vmware.

Can you say anything about how the two products compare?

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

From: "virgin_news" <[EMAIL PROTECTED]>
Subject: SIMPLE HELP
Date: Fri, 5 May 2000 01:03:30 +0100

1- I need to write a script to display the current processes running on the
machine EXCEPT the processes which are part of the normal operation of the
system.

2- I also need to write a script to display the files in my home directory
which are bigger than 1MB.

How do I do this??

Any ideas ??

Thanks



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


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