Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 May 2006 05:37:11 +0200
From:      "Dimitar Vasilev" <dimitar.vassilev@gmail.com>
To:        "Martin Schweizer" <info@pc-service.ch>, freebsd-questions@freebsd.org
Subject:   Re: Move /var/imap
Message-ID:  <59adc1a0605152037y7c0d2cc9h@mail.gmail.com>
In-Reply-To: <20060515211109.GI63826@saturn.pcs.ms>
References:  <20060513082657.GS31586@saturn.pcs.ms> <59adc1a0605130125l70cf0d5fj@mail.gmail.com> <20060515211109.GI63826@saturn.pcs.ms>

next in thread | previous in thread | raw e-mail | index | archive | help

2006/5/15, Martin Schweizer <lists_freebsd@bluewin.ch>:
> Hello Dimitar
>
> Am Sat, May 13, 2006 at 10:25:05AM +0200 Dimitar Vasilev schrieb:
> > Speaking on prima vista:
> > Boot in single user mode.
> > Move the partiotions
> > Recreate the sockets
>
> How do I create sockets? I have no idea.
>
Usually the program makes the sockets after it is run.
In single user mode, no prog is active, so you can move the partition freely.
My colleagues have done this with /var on a server, on which I'm involved too.
If you want to create socket check
http://www.ohse.de/uwe/iodp/uxstreamsocket.html
man socket
http://wwwwbs.cs.tu-berlin.de/user-taipan/kraxel/gnuinfo/libc/File_Socket_Example.html
http://www.google.com/search?client=opera&rls=en&q=create+file+sockets&sourceid=opera&ie=utf-8&oe=utf-8
I think as a general rule, a prog should recreate its sockets, after
such operation.
You can go with just moving the imap in single user and I think it will be  ok.
Try this on a test box with imap to be sure.
Regards,
-- 
Димитър Василев
Dimitar Vassilev

GnuPG key ID: 0x4B8DB525
Keyserver: pgp.mit.edu
Key fingerprint: D88A 3B92 DED5 917E 341E D62F 8C51 5FC4 4B8D B525


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?59adc1a0605152037y7c0d2cc9h>