Linux-Setup Digest #405, Volume #19              Tue, 15 Aug 00 12:13:12 EDT

Contents:
  Re: Cannot mount CD-ROM drive (Colinet Remy)
  Re: lpd problem: can't get official name for remote machine (lduperval)
  I did a bad thing... :( (jay jefferson)
  Re: Adding user from text file (Eric)
  Re: How to remove a non-rpm program? (Eric)
  kernel compiling for sparc64 under sparc32 (Daniel Goergen)
  Re: Adding user from text file ("Opps!")
  Re: I did a bad thing... :( (Kevin Croxen)
  Re: I did a bad thing... :( (Daniel Goergen)
  Re: How to remove a non-rpm program? (Thomas Rasmussen)
  VFS: cannot open root device ("Manfred Ernst")
  Help! urgent: how to allow a use to mount (* Tong *)
  Re: Apache vs. IIS 5 ("Richard Wright")
  Re: Telnet/FTP Problem as root ("Jeff Muse")
  Re: compiling assembly (sylvain hutchison)
  Linux Server Setup ("DH")
  Strange characters in left column printing with an OL400e on /dev/ttyS0 (root)
  Re: Linux Server Setup (Tim Haynes)
  Re: Linux Server Setup ("Tom Kralidis")
  Re: Partition Size Advice (John Beardmore)
  Re: Partition Size Advice (John Beardmore)
  Re: Disk compression (John Beardmore)

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

From: Colinet Remy <[EMAIL PROTECTED]>
Subject: Re: Cannot mount CD-ROM drive
Date: Tue, 15 Aug 2000 14:18:54 +0200

Karsten Linzmeier a �crit :

> Hi Linux-Cracks,
>
> I have installed RedHat-Linux 6.0 on my Pentium II machine and now
> nearly everything runs fine, except my CD -ROM drive.
>
> /etc/fstab contains the following line:
> /dev/cdrom  /mnt/cdrom  iso9660  user,exec,dev,suid,ro,uid=0,gid=0  0  0
>
> (/dev/cdrom refers to /dev/hdc)
>
> When I try to mount the drive with "mount /dev/cdrom" I receive the
> error message
> "mount: the kernel does not recognize /dev/cdrom as a block device
> (maybe `insmo driver'?)"
>
> How can I fix this problem? Does the kernel need additional parameters
> when it is started?
> I have already tried using "kernelcfg", but I don't know what kind of
> module and which arguments
> I must apply. Where can I find the information I need?
>
> Thanks a lot for every hint!

Type :

cd /dev
ln -s /dev/cdrom /dev/hd?

with the /dev/hd? corresponding to your CD Rom :

- if you have one Hard drive, then it should be
/dev/hdb. If you 2 hard drives, then it should be /dev/hdv, ....

- if you have a scsi CD ROM drive, it should be /dev/sda

Then, the kernel will recognize /dev/cdrom as a block device.



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

Subject: Re: lpd problem: can't get official name for remote machine
From: lduperval <[EMAIL PROTECTED]>
Date: Tue, 15 Aug 2000 05:25:28 -0700

[EMAIL PROTECTED] wrote:
>

>> Aug 14 16:18:57 localhost lpd[3900]: unable to get official
name
>> for remote machine
>>
>> What is the problem? Where should I start looking?
>
>Even if you have only a single unnetworked desktop computer,
linux in
>general and lpd in particular want to assume that you are on a
network.
>You'll need to run netconfig (or whatever the equivalent program
is on
>your distribution).

Well, I *am* networked. Everything works great except for lpd
(well, everything I've used so far, anyway). I'll try to run
netconfig to see what could be the problem.

My /etc/hosts looks like this. I get connected via dhcpcd

127.0.0.1
localhost  lduperva

I dunno if that has anything to do with it.

Thanks,

L




Fear The Penguin Behind Your Closed Windows

===========================================================

Got questions?  Get answers over the phone at Keen.com.
Up to 100 minutes free!
http://www.keen.com


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

From: jay jefferson <[EMAIL PROTECTED]>
Subject: I did a bad thing... :(
Date: Tue, 15 Aug 2000 12:32:52 GMT

Ok, I know this is bad, but I'm hoping someone can help me fix my
boo-boo. I removed the qt-1.44 package using "rpm -e qt-1.44 -nodep"
(yeah, I know, kill me... don't ask why) but needless to say I've
pretty much trashed my Mandrake X install. When I boot up I get this
error:

kdm: error in loading shared libraries: libqt.so.1: cannot open shared
object file: no such file or directory

Well, I'm assuming this is because the "rpm -e qt-1.44 -nodep" killed
the file, but I have NO idea how to fix this. I'm assuming that I have
to "rpm -i <some package>" but I don't know which one(s). Can someone
help me on this? I really don't want to have to format and redo from
ground up. :(

Thanks,
-j.


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

From: Eric <[EMAIL PROTECTED]>
Subject: Re: Adding user from text file
Date: Tue, 15 Aug 2000 14:47:45 +0200
Reply-To: [EMAIL PROTECTED]

Zebee Johnstone wrote:
> 
> In comp.os.linux.setup on Tue, 15 Aug 2000 17:06:27 +0800
> Opps! <[EMAIL PROTECTED]> wrote:
> >Hi, I am using RedHat 6.2 ,and I want to create 1000 user to my server.
> >I already have a text file which look like below
> >
> >user1
> >user2
> >user3
> >user4
> >user5
> >.
> >.
> >.
> >.
> >
> >What I want is creat user account for each user listed in the file with
> >the passwd same as the user name,also ,I want the dir public_html
> >created and chmod to 711 and all of them will belong to a user group
> >call staff.Can any one tell me how to do it?Should I need a script or
> >some utilities to complete the task? IF yes...plz help me to write the
> >script...thx alot..!!! ^_^
> 
> quick and dirty as follows:
> 
> as root, create the staff group using the groupadd command.  use
>         man groupadd
> to see how.
> 
> #!/bin/sh
> 
> # put the list in a variable.  If it complains there are two many
> #split the file into two and run this script on both
> LIST=`cat my_text_file`
> 
> for USER in $LIST
> do
>         useradd -g staff -p $USER $USER
                            ^^^^^^^
This part will not work as you might expect, because the -p option
requires  the encrypted password as an argument. So you'll need to
encrypt the password first, before passing it as an argument. Can't help
you on how to do that in an easy way though, but perhaps there are some
tools on the web to do this for you.

Eric

>         mkdir /home/$USER/public_html
>         chown $USER.staff /home/$USER/public_html
>         chmod 711 /home/$USER/public_html
> done
> 
> --
> SAGE-AU: The System Administrator's Guild. www.sage-au.org.au
>   To advance the profession of System Administration by raising
>   awareness of the need for System Administrators, and educating
>   System Administrators in technical as well as professional issues.

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

From: Eric <[EMAIL PROTECTED]>
Subject: Re: How to remove a non-rpm program?
Date: Tue, 15 Aug 2000 14:52:56 +0200
Reply-To: [EMAIL PROTECTED]

Alex Walker wrote:
> 
> Hi
> 
> I've installed a number of programs from their source code.  Now to
> free up space I'd like to delete old programs I no longer use.  But
> files from these programs are spread around /usr/loca/app_name,
> /usr/local/bin, /usr/bin, etc. and who knows what other directories.
> What's the best approach to delete all the files from one app?
> 
> Thanks

If you're lucky the original makefile also included a "make clean" (or
make distclean) option. You can try that, if not, you'll need to remove
everything manually.

Eric

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

From: Daniel Goergen <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: kernel compiling for sparc64 under sparc32
Date: Tue, 15 Aug 2000 15:16:01 +0200

Hello!
How can I compile a Kernel for a sparc64 on a sparc32 machine?

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

From: "Opps!" <[EMAIL PROTECTED]>
Subject: Re: Adding user from text file
Date: Tue, 15 Aug 2000 21:22:49 +0800

Yep, only plan text is entered to the /etc/shadow ....so how to solve
it?

Eric wrote:
> 
> Zebee Johnstone wrote:
> >
> > In comp.os.linux.setup on Tue, 15 Aug 2000 17:06:27 +0800
> > Opps! <[EMAIL PROTECTED]> wrote:
> > >Hi, I am using RedHat 6.2 ,and I want to create 1000 user to my server.
> > >I already have a text file which look like below
> > >
> > >user1
> > >user2
> > >user3
> > >user4
> > >user5
> > >.
> > >.
> > >.
> > >.
> > >
> > >What I want is creat user account for each user listed in the file with
> > >the passwd same as the user name,also ,I want the dir public_html
> > >created and chmod to 711 and all of them will belong to a user group
> > >call staff.Can any one tell me how to do it?Should I need a script or
> > >some utilities to complete the task? IF yes...plz help me to write the
> > >script...thx alot..!!! ^_^
> >
> > quick and dirty as follows:
> >
> > as root, create the staff group using the groupadd command.  use
> >         man groupadd
> > to see how.
> >
> > #!/bin/sh
> >
> > # put the list in a variable.  If it complains there are two many
> > #split the file into two and run this script on both
> > LIST=`cat my_text_file`
> >
> > for USER in $LIST
> > do
> >         useradd -g staff -p $USER $USER
>                             ^^^^^^^
> This part will not work as you might expect, because the -p option
> requires  the encrypted password as an argument. So you'll need to
> encrypt the password first, before passing it as an argument. Can't help
> you on how to do that in an easy way though, but perhaps there are some
> tools on the web to do this for you.
> 
> Eric
> 
> >         mkdir /home/$USER/public_html
> >         chown $USER.staff /home/$USER/public_html
> >         chmod 711 /home/$USER/public_html
> > done
> >
> > --
> > SAGE-AU: The System Administrator's Guild. www.sage-au.org.au
> >   To advance the profession of System Administration by raising
> >   awareness of the need for System Administrators, and educating
> >   System Administrators in technical as well as professional issues.

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

From: [EMAIL PROTECTED] (Kevin Croxen)
Subject: Re: I did a bad thing... :(
Date: 15 Aug 2000 13:13:43 GMT

Um, just an off-the-wall guess here --if removing the qt-1.44 package from
your installation produced the results you describe, don't you think that
would be the package you'd want to reinstall using rpm? Particularly in
light of the error message flagging the absence of lib*qt*.so.1?


In article <[EMAIL PROTECTED]>, jay jefferson wrote:
>Ok, I know this is bad, but I'm hoping someone can help me fix my
>boo-boo. I removed the qt-1.44 package using "rpm -e qt-1.44 -nodep"
>(yeah, I know, kill me... don't ask why) but needless to say I've
>pretty much trashed my Mandrake X install. When I boot up I get this
>error:
>
>kdm: error in loading shared libraries: libqt.so.1: cannot open shared
>object file: no such file or directory
>
>Well, I'm assuming this is because the "rpm -e qt-1.44 -nodep" killed
>the file, but I have NO idea how to fix this. I'm assuming that I have
>to "rpm -i <some package>" but I don't know which one(s). Can someone
>help me on this? I really don't want to have to format and redo from
>ground up. :(
>
>Thanks,
>-j.
>

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

From: Daniel Goergen <[EMAIL PROTECTED]>
Subject: Re: I did a bad thing... :(
Date: Tue, 15 Aug 2000 15:29:44 +0200

jay jefferson wrote:
> 
> Ok, I know this is bad, but I'm hoping someone can help me fix my
> boo-boo. I removed the qt-1.44 package using "rpm -e qt-1.44 -nodep"
> (yeah, I know, kill me... don't ask why) but needless to say I've
> pretty much trashed my Mandrake X install. When I boot up I get this
> error:
> 
> kdm: error in loading shared libraries: libqt.so.1: cannot open shared
> object file: no such file or directory
> 
> Well, I'm assuming this is because the "rpm -e qt-1.44 -nodep" killed
> the file, but I have NO idea how to fix this. I'm assuming that I have
> to "rpm -i <some package>" but I don't know which one(s). Can someone
> help me on this? I really don't want to have to format and redo from
> ground up. :(
> 
> Thanks,
> -j.
i searched my RedHat rpms and found:

libqt.so.1
        /cdrom/RedHat/RPMS/qt1x-1.45-3.sparc.rpm
libqt.so.2
        /cdrom/RedHat/RPMS/qt-2.1.0-4.beta1.sparc.rpm

to search your rpms try:

 for i in /cdrom/RedHat/RPMS/*rpm; do rpm -qp --provides $i|grep libqt
&& echo $i; done 

greetings
daniel

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

Subject: Re: How to remove a non-rpm program?
From: Thomas Rasmussen <[EMAIL PROTECTED]>
Date: Tue, 15 Aug 2000 13:31:25 GMT

>>>>> "Eric" == Eric  <[EMAIL PROTECTED]> writes:

 Eric> Alex Walker wrote:
 >>  Hi
 >> 
 >> I've installed a number of programs from their source code.  Now
 >> to free up space I'd like to delete old programs I no longer use.
 >> But files from these programs are spread around
 >> /usr/loca/app_name, /usr/local/bin, /usr/bin, etc. and who knows
 >> what other directories.  What's the best approach to delete all
 >> the files from one app?
 >> 
 >> Thanks

 Eric> If you're lucky the original makefile also included a "make
 Eric> clean" (or make distclean) option. You can try that, if not,
 Eric> you'll need to remove everything manually.

And then next time you install programs, do use --prefix=/somewhere/
when doing a ./configure. It demands a bit more work. I myself have
the following structure when compiling programs myself
All programs go into

/pack/prog-name-version

and then I have:
/coll/bin
/coll/lib
/coll/etc
...
...

which all contains links to 
/pack/prog-name-version/bin
...
...
...

then you can actually have more than one version of all software, and when
trying beta software its quite handy.
If you compile all software yourself you may wish to have some sort of
tool that creates the links for you. At work we uses a small tool
called packman, which does most of the work for us (I think)
see: http://sunsite.auc.dk/pack/www/packman.html for more info about packman.

The advantage of this structure is, that users only need to add
/coll/bin to their path, and you can put /pack on a seperate
disk/partition and even when upgrading/reinstalling you have all your
software available.
In /usr/ it can often become quite messy after having installed 20+
applications which doesn't always use /usr/local for such stuff.

/Thomas

-- 
"To alcohol! The cause of - and solution to - all of life's problems!"
-- Homer Simpson

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

From: "Manfred Ernst" <[EMAIL PROTECTED]>
Subject: VFS: cannot open root device
Date: Tue, 15 Aug 2000 15:34:44 +0200

I cannot install Red Linux V.7 (RED HAT LINUX 6.0 GPL, German Version).

Installation stopps after the first screen with the message
VFS: cannot open root device at 08:05
Kernel panic: VFS: unable to mount root fs on 08:05

Machine: 2 processors P III 700 MHZ, 1024 MB RAM, 3 IDE-HDs with 30 GB

What to do?

Manfred





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

From: * Tong * <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.questions
Subject: Help! urgent: how to allow a use to mount
Date: 15 Aug 2000 11:02:00 -0300
Reply-To: Tong <[EMAIL PROTECTED]>

Hi,

Is it possible to alow certain user to have mount privilege?
'cause when I tried to mount a foreign volumn as a normal user, I
got "mount: permission denied" under solaris and "mount: only root
can do that" under linux. 

I badly need to mount foreign volumns myself, with my own id. How to
do that? Thanks a lot!

-- 
Tong (remove underscore(s) to reply)
  http://members.xoom.com/suntong001/
  - All free contribution & collection & music from the heavens

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

From: "Richard Wright" <richard.wright@don'tbothertryingtospamthisaddress.com>
Crossposted-To: alt.linux,alt.os.linux,alt.os.linux.mandrake
Subject: Re: Apache vs. IIS 5
Date: Tue, 15 Aug 2000 13:12:04 +0100
Reply-To: "Richard Wright" <richard.wright@don'tbothertryingtospamthisaddress.com>

At www.linuxapps.com there is a program for converting ASPs to PHP which
Apache runs.
Mateo <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]...
> The real question is: Why would you want to? :)
> Let Windows be the sole OS that has to be bitten by the ASP.
>
>
>
> Bob Niederman wrote:
> >
> > ced wrote:
> > >
> > > Hi,
> > >
> > > Simple question: how to serve ASP pages with Apache?
> > >
> > > Thanks for help,
> > >
> > > ced
> >
> > Less simple, but open source (actually, I think it's Free):
> >
> > http://www.nodeworks.com/asp/
> >
> > --
> > - Bob Niederman http://bob-n.com
> > Fight UCITA! http://www.4cite.org, http://bob-n.com/ucita


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

From: "Jeff Muse" <[EMAIL PROTECTED]>
Subject: Re: Telnet/FTP Problem as root
Date: Tue, 15 Aug 2000 09:40:13 -0700

Since Telnet is not secure, the OS won't let you telnet or FTP as root (your
data and passwords aren't encrypted, and somebody might crack into them).
You can use a program called SSH (secure shell) that will let you remotely
login as root.

Jon <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
>
> Trying to telnet/ftp to/from 2 different versions of
> Linux: 5.2 and 6.0.  I can telnet and ftp as something other then
> root but why not root. What does it take to allow telnet and ftp
> as root ?
>
> Jon



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

From: sylvain hutchison <[EMAIL PROTECTED]>
Subject: Re: compiling assembly
Date: Tue, 15 Aug 2000 11:17:25 -0700

xfgn

sylvain hutchison wrote:

> Hi,
>
> anyone knows hoe to assemble a .s file in linux using as??
>
> I have difficulty compiling my code, it's very simple code, yet the
> compiler cannot recognize the operands, it says: "operands given don't
> match any known 386 instruction"??? I do have 1 instruction is only
> recongnized by a 486 cpu, it's the <xadd> instruction, but appart from
> that, nothing. So is there a way of using as and telling it that my
> CPU=486 or somehting like that??
> Do I need to setup something??
>
> Thanks so much.
>
> Sly.


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

From: "DH" <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,comp.os.linux.networking,comp.unix.questions
Subject: Linux Server Setup
Date: Tue, 15 Aug 2000 11:15:22 -0400

I am a Linux newbie. I need to replicate an existing UNIX server onto a new
Linux server.

The directory and file structure, and permissions that I have on the
Alpha_UX box must be replicated.

There are a couple of issues:

a) since *almost* all of the permissions are the same (drwxrwx-x), if I
build the Linux box manually, I'd like to have a 'default's permission set.
Right now, if I create a file, the permissions are drwxr-x-x, but I would
like to be able to create a file, and always have the drwxrwx-x permissions
set.

b) I log onto the Alpha_UX box as <biguser>. I'd like to be able to
replicate the environment variables for <biguser>. This is because I will
want the same env variables for <biguser> on the Linux box.

c) all necessary directory permissions will have to be given to <biguser>.

Help with any or all of these issues would be greatly appreciated ! I'm
expecting to have a good Linux users book in my hands by tomorrow !

dh



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

From: root <[EMAIL PROTECTED]>
Subject: Strange characters in left column printing with an OL400e on /dev/ttyS0
Date: Tue, 15 Aug 2000 15:41:58 GMT

The subject line pretty much covers it.
The printer filter is gs-5.50 with ljet2p as the device.
Appreciate any help on this.

/essce



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

From: [EMAIL PROTECTED] (Tim Haynes)
Crossposted-To: alt.linux,comp.os.linux.networking,comp.unix.questions
Subject: Re: Linux Server Setup
Date: 15 Aug 2000 16:35:20 +0100

"DH" <[EMAIL PROTECTED]> writes:

> The directory and file structure, and permissions that I have on the
> Alpha_UX box must be replicated.

For what subdirectories?

> There are a couple of issues:
> 
> a) since *almost* all of the permissions are the same (drwxrwx-x), if I
> build the Linux box manually, I'd like to have a 'default's permission
> set.  Right now, if I create a file, the permissions are drwxr-x-x, but I
> would like to be able to create a file, and always have the drwxrwx-x
> permissions set.

Why not just copy all the files over with correct permissions, see `man
tar`? Or `man bash` for umask, of course.

> b) I log onto the Alpha_UX box as <biguser>. I'd like to be able to
> replicate the environment variables for <biguser>. This is because I will
> want the same env variables for <biguser> on the Linux box.

Duplicate the setup scripts, then, or dump them to file 
        biguser%  env > foo
and reinstate on the linux box.

> c) all necessary directory permissions will have to be given to <biguser>.
> 
> Help with any or all of these issues would be greatly appreciated ! I'm
> expecting to have a good Linux users book in my hands by tomorrow !

You really want to install rsync and ssh, actually. At least ssh, so you
can do funky things like
        # cd /; ssh crappyalpha "tar cpf /home" | tar xvfp -
or
        # rsync -e ssh crappyalpha:/home/ /home/ -atvvlr 

and so on.

~Tim
-- 
| Geek Code: GCS dpu s-:+ a-- C++++ UBLUAVHSC++++ P+++ L++ E--- W+++(--) N++ 
| w--- O- M-- V-- PS PGP++ t--- X+(-) b D+ G e++(*) h++(*) r--- y-           
| The sun is melting over the hills,         | http://piglet.is.dreaming.org/
| All our roads are waiting / To be revealed | [EMAIL PROTECTED]

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

From: "Tom Kralidis" <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,comp.os.linux.networking,comp.unix.questions
Subject: Re: Linux Server Setup
Date: Tue, 15 Aug 2000 11:30:46 -0400

(cc to user)

"DH" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I am a Linux newbie. I need to replicate an existing UNIX server onto a new
> Linux server.
>
> The directory and file structure, and permissions that I have on the
> Alpha_UX box must be replicated.
>
> There are a couple of issues:
>
> a) since *almost* all of the permissions are the same (drwxrwx-x), if I
> build the Linux box manually, I'd like to have a 'default's permission set.
> Right now, if I create a file, the permissions are drwxr-x-x, but I would
> like to be able to create a file, and always have the drwxrwx-x permissions
> set.

umask 2

Throw that in whatever shell rc file you are.

>
> b) I log onto the Alpha_UX box as <biguser>. I'd like to be able to
> replicate the environment variables for <biguser>. This is because I will
> want the same env variables for <biguser> on the Linux box.

Some env variables will be system-specific; not much you can do there.
If you are talking about environment variables that you define, again, put them
into your shell rc file.

>
> c) all necessary directory permissions will have to be given to <biguser>.

Unclear.  You mean ownership?

chgrp

Read the man pages for the commands I have indicated here, ie:

man umask
man chgrp

>
> Help with any or all of these issues would be greatly appreciated ! I'm
> expecting to have a good Linux users book in my hands by tomorrow !

Please read it, it should answer these and other questions.

..Tom

=================================
Tom Kralidis
GIS / Systems Specialist
Canada Centre for Remote Sensing
Tel: (613) 947-1828
http://www.nrcan.gc.ca/~tkralidi/
=================================



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

From: John Beardmore <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,linux.redhat.install
Subject: Re: Partition Size Advice
Date: Tue, 15 Aug 2000 12:04:51 +0100

In article <8nat1t$fd7$[EMAIL PROTECTED]>, Peter T. Breuer
<[EMAIL PROTECTED]> writes
>In comp.os.linux.hardware John Beardmore <[EMAIL PROTECTED]> wrote:
>: In article <8n6111$40g$[EMAIL PROTECTED]>, Peter T. Breuer
>: <[EMAIL PROTECTED]> writes
>:>: Apart from weight of tradition, why do usr, root and home have to be
>:>: different partitions ?
>:>
>:>So that /usr can be read-only and /home can be read-write.
>
>: What's so great about /usr being ro ?
>
>So that you (or some hacker, or some rogue program) doesn't write to
>it. 

OK.


>:> So that everytime you mess up your home
>:>partition you don't also mess up your /.
>
>: But why should you mess up your home partition ?  Indeed how can you ?
>
>Oh, I do it every 10 minutes or so. Every time the kernel driver I'm
>writing crashes and takes out the system, causing a reboot while the
>readwrite file systems are in an unclean state.

Sort of 'the more super blocks the better' ?

OK, I take the point if you are doing low level development.


> Then I have to wait
>while everything is checked out on the FS parts that weren't readonly,
>resolve all foulups manually (usually the log files are heavily
>double-blocked, but they're on /var, not on my precious /home), hold
>my breath and hope my source code is still there ...

:)


>And then there are all those people running a vulnerable or flakey http
>server from out of their /home.

Is apache vulnerable ?  ( I just ask as I was thinking of doing exactly
that in a few weeks !  :)


>:> And vice versa. So that you
>:>can comfortably clone your OS without also cloning your own files.
>
>: Can't this just be done by keeping user files under /usr and managing
>: files rather than partitions ?
>
>Oh it can. But it's much simpler to restrict tar to a partition
>boundary rather than some nebulous mental line that you hoped you've
>never crossed. Did you add stuff in /usr/local only?

I've never had a problem with that.  Anyway, once the partitions are
mounted, it's easy to stray outside them as they all look like part of
one file system.

I'd have though ownerships and permissions would be a better mechanism.


>:> And
>:>vice versa. So you can upgrade or multi-install in functional units.
>:>Etc. Etc.
>
>: Hmmmm...  OK.
>
>:>He forgot to list /var as a separate partition. That's quite important.
>:>I really hate runaway log files growing to swamp / or /home.
>
>: So it's just to limit the size of a file system ?
>
>For /var, that is a good reason. Try "yes > /var/tmp/yes" and tell me how
>comfortable your system feels afterwards.

I don't even know what that does but maybe I'll try it when I've
installed.


> But a better reason is that 
>/var gets All Fouled Up Very Often. It's the highly variable area of
>the disk.

OK.

And you can just rebuild it in single user mode as needed ?


>:>If you really don't know this and you aren't just trolling, go check
>:>out the Partition-HOWTO.
>
>: No, not trolling, just curious.
>
>: I had thought of doing a custom instal but wondered if my ideas on
>: partitioning would be making myself a headache for later.
>
>
>:>There are some legitimate reasons for making a one partition system.
>:>They boil down to "the owner is an idiot and/or doesn't care about
>:>preserving and maintaining his system, so he might as well do the
>:>laziest thing available, as he'll throw it all away tomorrow anyhow".
>
>: I have one partition disks on other OSs and I've never found it a
>: problem.
>
>Then you've never had a problem. That should make you very very nervous
>...

I've had lots of problems -  but seldom with file systems which I
usually learn to hack in some way, from INT13 if needs be.


>: I've also had one partition Unix systems without regret.  I'm just
>: seeing if the dogma stems from sound reasoning or just a fear that the
>: sky will fall in if tradition is not followed.
>
>And what about "preserving and maintaining" your other OS's.

This is an Alpha so the only other one I might want is NT.  For now I'll
run NT on my other Alpha box, but MS have dropped Alpha support so Linux
is 'way to go' in the long run.  I guess I'll be confining NT/2000 to
Intel boxes in the long run.


> How much
>luck have you had with them! What happened the last time your scsi
>controller on the sun blew a skalally while fsck was running?

I've never had a SCSI controller go down. Quite an assortment of disks
though.  Three this year already.

Important stuff is usually backed up by distributing it around the
network and shipping it to clients.

I guess in the general run of things, I'd just copy it back over the
LAN.  Right now, the Alpha NT box is only being a print spooler anyway,
and even that could be better done by an Intel box with a faster
ethernet card.


Cheers, J/.
-- 
John Beardmore

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

From: John Beardmore <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,linux.redhat.install
Subject: Re: Partition Size Advice
Date: Tue, 15 Aug 2000 12:06:54 +0100

In article <8na6u3$ko4$[EMAIL PROTECTED]>, Craig Bingman
<[EMAIL PROTECTED]> writes
>In article <[EMAIL PROTECTED]>,
>John Beardmore  <[EMAIL PROTECTED]> wrote:

>>><swap> 128MB
>>
>>What's the rationale for sizing swap partitions ?
>
>>How sensible would it be on say a 512 meg ram Linux box to have a mere
>>64 or 128 meg swap partition ? 
>
>In the older kernel versions, swap partitions were limited to a useful
>size of 128 meg.  They could be larger than that, but only 128 megs was
>used.  One could, however, have multiple swap partitions.  In more recent
>kernels, this is no longer an issue and swap partitions can be larger.
>If you have multiple drives, in most cases it makes more sense to 
>distribute smaller swap partitions to several drives than having one big
>swap partition on one drive.
>
>How large a swap partition needs to be depends entirely on what one
>wants to do, so there is no universal rule for sizing them.  I set mine up
>to give me about 1 GB of total memory space, because very infrequently,
>I run applications that call for almost that much memory.

This all seems so much more rational than the win32 rules of thumb !


>Having even a smallish swap partion makes sense in almost all cases.  When
>you are running out of physical memory, the system should start to swap.
>Even if you aren't paying much attention, you should notice that.  

OK.  I'll think of it as an alarm system...


Cheers, J/.
-- 
John Beardmore

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

From: John Beardmore <[EMAIL PROTECTED]>
Subject: Re: Disk compression
Date: Tue, 15 Aug 2000 12:09:12 +0100

In article <[EMAIL PROTECTED]
o.home.com>, [EMAIL PROTECTED] writes
>On Mon, 14 Aug 2000 22:07:13 +1000, Rob Sturgess <[EMAIL PROTECTED]> 
>wrote:
>>Is there a linux equivalent of DriveSpace for Linux ? My linux hard drive is
>>feeling a little cramped....
>
>What is the point when drives are so cheap?  $200 will buy you a 45G
>drive!

Depends if there's space in the box.

Depends if it's a Sunday.

I'd cheerfully compress things like print queues.  It's not as if they
are performance critical !


Cheers, J/.
-- 
John Beardmore

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


** 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.setup) 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-Setup Digest
******************************

Reply via email to