Re: Best Strategy to install Debian 1.3 - partitioning matters

1997-06-28 Thread Eddie Katz
The md-layout-mini-howto (or something with a similar name) has some fine
background reading. 
After reading it, I decided to put /usr/lib and /usr/local/lib on the
same partition, but different from the /usr partition. 
I am surprised to see that with Debian installation you require /usr/local direc
tory. I am new to Debian (not to LInux), have a 1.3 installed and my /usr/local 
is completly empty. I believe that dpkg installs everything in /usr/lib. Is ther
e a way, using dpkg, to install certain packages in /usr/local ?

Thanks,

== Eddie Katz 
== [EMAIL PROTECTED]  


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Best Strategy to install Debian 1.3 - partitioning matters

1997-06-28 Thread Joost Kooij


On Fri, 27 Jun 1997, Eddie Katz wrote:

 I am surprised to see that with Debian installation you require /usr/local 
 direc
 tory. I am new to Debian (not to LInux), have a 1.3 installed and my 
 /usr/local 
 is completly empty. I believe that dpkg installs everything in /usr/lib. Is 
 ther
 e a way, using dpkg, to install certain packages in /usr/local ?

/usr/local is for programs you have compiled and/or installed yourself and
that are not registered with the debian packaging system.
If the programs are used by only one user, you could also install them in
that user's $HOME.

If you want to know all about the reasons and philosophy behind the
organization of the filesystem(s), just go ahead and read the:
- debian policy manual;
- debian programmers manual;
- filesystem standard;
You can find these sort of documents in the debian-doc package.

Cheers, 


Joost


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Best Strategy to install Debian 1.3 - partitioning matters

1997-06-28 Thread Joost Kooij


On Tue, 24 Jun 1997, Sudhakar Chandrasekharan wrote:

 The same in my case too.  Ideally, I would like to have seperate
 partitions for /, /usr, /usr/local, /home and /root.  One wants to
 maintain a clean machine. ;-)

The md-layout-mini-howto (or something with a similar name) has some fine
background reading. 
After reading it, I decided to put /usr/lib and /usr/local/lib on the
same partition, but different from the /usr partition. 
I made a /mnt.lib directory in the root filesystem and /usr.lib and
/usr.local.lib directories in the filesystem to be mounted at /mnt.lib.
Then I used the well-known tar-trick
  cd /from ; tar cf - . | ( cd /to ; tar xvf - )
to copy files and directories and symlinks over to the new partition.

I have so far encountered two problems:
- the tar-trick as above - quoted from running linux does not preserve
permissions; use p as an extra switch at the second invocation of tar.
There was a posting today that mentioned a couple more useful switches.
- /usr/lib/X11R6 is a symlink to /usr/X11R6/lib, but the latter is
expressed as ../X11R6/lib. This works when relative to /usr, but not
anymore when relative to /mnt.lib/usr.lib... I fixed this by making a
symlink X11R6 - ../usr/X11R6 in /mnt.lib. Without this, packages like
xbanner wouldn't install.

The libs in /usr/X11R6/lib might be placed on the /mnt.lib filesystem as
well I guess, but I wonder if this wouldn't have given any problems
when purging and reinstalling X.

 Another thing.  The more installs and re-installs that one does, the
 more one learns in the process - IMO.  I have had hours of bliss (and
 learning) installing Debian on all kinds of machines.

If you want to try to install debian on a system with all these
partitioning tricks in place before the actual base installation, I'd love
to hear all about the bliss and learning :-)

Cheers,


Joost


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .