From owner-freebsd-questions@FreeBSD.ORG Sun Jan 27 12:58:13 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 63415E57 for ; Sun, 27 Jan 2013 12:58:13 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 06592F1B for ; Sun, 27 Jan 2013 12:58:12 +0000 (UTC) Received: from r56.edvax.de (port-92-195-8-191.dynamic.qsc.de [92.195.8.191]) by mx02.qsc.de (Postfix) with ESMTP id A069A246F1; Sun, 27 Jan 2013 13:58:03 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r0RCw6OZ001921; Sun, 27 Jan 2013 13:58:06 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 27 Jan 2013 13:58:06 +0100 From: Polytropon To: Erich Dollansky Subject: Re: Sharing a mail folder between Linux and FreeBSD Message-Id: <20130127135806.4d19e997.freebsd@edvax.de> In-Reply-To: <20130127153838.15b97613@X220.ovitrap.com> References: <20130125133346.f1484ed8.freebsd@edvax.de> <20130125150414.f262d162.freebsd@edvax.de> <20130125161215.f498f4e4.freebsd@edvax.de> <5102FE7B.4070808@gmail.com> <20130127153838.15b97613@X220.ovitrap.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Ralf Mardorf , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jan 2013 12:58:13 -0000 On Sun, 27 Jan 2013 15:38:38 +0700, Erich Dollansky wrote: > Hi, > > On Sun, 27 Jan 2013 09:15:09 +0100 > "Ralf Mardorf" wrote: > > > Good morning, > > ood morning? The sun is settling soon! The sun of the planet of the ood? Or the former Sun of one of the microsystems? :-) > > if I run 'make deinstall reinstall' for a port, it doesn't ask a > > single question, at least not for dbus. > > > > # ls -l /usr/local/bin/dbus-daemon > > -r-xr-xr-x 1 rocketmouse wheel 377744 Jan 18 22:44 > > /usr/local/bin/dbus-daemon > > > > # cd /usr/ports/devel/dbus ; make deinstall reinstall > > > > # ls -l /usr/local/bin/dbus-daemon > > -r-xr-xr-x 1 root wheel 377744 Jan 27 > > 08:55 /usr/local/bin/dbus-daemon > > > > Is there a command to deinstall and reinstall all ports or an idea > > for a script to do it? > > > Check portupgrade or one of other utilities to handle ports. There is > one option to force an upgrade even if it would be a downgrade. With tools like portmaster, this task can easily be automated. If you only will have to handle a few ports, using the "bare ports method" (make) is probably the easiest way (in case everything else stays definitely consistent). > > Do I have to reboot into single user mode and then to run "make > > installworld" only to reinstall world? > > No, you just run it as root. It should work afterword except for > currently running programs. The comment header of /usr/src/Makefile suggests installing the world in single user mode (steps 5 - 11). # 1. `cd /usr/src' (or to the directory containing your source tree). # 2. `make buildworld' # 3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). # 4. `make installkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). # [steps 3. & 4. can be combined by using the "kernel" target] # 5. `reboot' (in single user mode: boot -s from the loader prompt). # 6. `mergemaster -p' # 7. `make installworld' # 8. `make delete-old' # 9. `mergemaster' (you may wish to use -i, along with -U or -F). # 10. `reboot' # 11. `make delete-old-libs' (in case no 3rd party program uses them anymore) This should be the safest method. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...