>From gkminix.han.de!gero Sat Mar 27 15:41:04 1999 X-Delivered: at request of gero on gkminix Date: Wed, 24 Mar 1999 11:09:36 +0100 Message-Id: <199903241009.LAA12795@baghira.han.de> X-Authentication-Warning: baghira.han.de: factotum set sender to owner-netboot using -f To: owner-netboot@baghira.han.de From: owner-netboot@baghira.han.de Subject: BOUNCE netboot@baghira.han.de: Non-member submission from [Hamish Moffatt <hamish@debian.org>] >From netboot-owner Wed Mar 24 11:09:27 1999 Received: from yodeller.rising.com.au (mail@yodeller.rising.com.au [203.63.216.19]) by baghira.han.de (8.9.3/8.9.3) with ESMTP id LAA12379 for <netboot@baghira.han.de>; Wed, 24 Mar 1999 11:06:26 +0100 Received: from hamish by yodeller.rising.com.au with local (Exim 2.05 #1 (Debian)) id 10PkXY-00082l-00; Wed, 24 Mar 1999 21:05:36 +1100 Message-ID: <19990324210535.B30826@rising.com.au> Date: Wed, 24 Mar 1999 21:05:35 +1100 From: Hamish Moffatt <hamish@debian.org> To: Heinrich Rebehn <rebehn@comm.uni-bremen.de>, debian-user@lists.debian.org Cc: netboot@baghira.han.de Subject: Re: /var/lib/dpkg on diskless linux Mail-Followup-To: Heinrich Rebehn <rebehn@comm.uni-bremen.de>, debian-user@lists.debian.org, netboot@baghira.han.de References: <rebehn-990322101204.A01370@reno.comm.uni-bremen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <rebehn-990322101204.A01370@reno.comm.uni-bremen.de>; from Heinrich Rebehn on Mon, Mar 22, 1999 at 10:12:20AM +0100 Sender: Hamish Moffatt <hamish@rising.com.au> On Mon, Mar 22, 1999 at 10:12:20AM +0100, Heinrich Rebehn wrote: > However i was wondering about /var/lib/dpkg. Normally, in a diskless cluster, > every client gets its own copy of /etc, /dev and /var, while /bin, /sbin, /lib > and /usr are there only once. > /var/lib/dpkg, however, which is NOT specifc for each client, occupies some > 10 to 20 MB of disk space. Also, if i install or upgrade packages on the server, > the change is not reflected in the client's copy of /var/lib/dpkg. > > My questions: > 1) Why is this stuff in /var? Shouldn't it rather go to /usr? Interesting question. The files in /var/lib/dpkg/info are mostly constant; the scripts in particular, so those could/should possibly go in /usr. However, /var/lib/dpkg/available and status are databases, which puts them in /var. > 2) Can i replace /var/lib/dpkg on the clients with a link to the server's > /var/lib/dpkg? > 3) Is /var/lib/dpkg only used at install/upgrade time? Only dpkg and dselect and apt usr /var/lib/dpkg. Your clients might not need it at all; if you do all package installation/maintainence on the server, it won't matter if it doesn't exist on the clients or is out of date. I experimented with remote booting and NFSROOT here a while back. My template /var/lib for each client machine was empty. Hamish -- Hamish Moffatt VK3TYD hamish@debian.org, hamish@rising.com.au Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5 CCs of replies from mailing lists are welcome. http://hamish.home.ml.org -- Pessimists have already begun to worry about what is going to replace automation. - John Tudor -- Gero Kuhlmann, Hannover 0511/6497525 (Voice) gero@gkminix.han.de =========================================================================== This Mail was sent to netboot mailing list by: "Gero Kuhlmann" <gero@gkminix.han.de> To get help about this list, send a mail with 'help' as the only string in it's body to majordomo@baghira.han.de. If you have problems with this list, send a mail to netboot-owner@baghira.han.de.
For requests or suggestions regarding this mailing list archive please write to netboot@gkminix.han.de.