Sharing a mail folder between Linux and FreeBSD

Polytropon freebsd at edvax.de
Sat Jan 26 14:33:17 UTC 2013


On Sat, 26 Jan 2013 10:11:37 +0100, Ralf Mardorf wrote:
> On Sat, 2013-01-26 at 08:49 +0100, Polytropon wrote:
> > On Fri, 25 Jan 2013 23:22:29 +0100, Ralf Mardorf wrote:
> > > On Fri, 25 Jan 2013 22:51:55 +0100, Joshua Isom <jrisom at gmail.com> wrote:
> > > > Sorry if my original command ended up breaking your system
> > > 
> > > Don't worry, I run dump to backup it, but I'll try to fix it without  
> > > restoring it from the backup.
> > 
> > Maybe you can read the original owners from that backup and
> > just _change them_ accordingly? As the files haven't been
> > altered, there would be no need to rewrite them entirely.
> 
> I used dump and can't find how to extract something from the dump files.
> If I would restore from a dump I would lose something, since the dump is
> some days old and I worked on my FreeBSD.

Maybe something along "restore -t" is possible, as you only
would want to extract owner information and nothing more.
That information could be used to chown the files which need
that change.




> If it would be possible to write a script that does rebuild everything,
> with the same configs and _without the need of user interaction_ I would
> rebuild and if needed update (at least Chromium) everything. But last
> time there were still yes/no (should I delete this file) questions all
> the times.

Maybe you can do a separate check for /usr/local (installed
ports) and "everything else" (and both excluding /home).
The one is cured by the "mtree magic" (or "make installworld"
in worst case), the other by reinstalling ports that need
it (or, if only few files are affected, to check the "install"
directives in the Makefile and do it manually).




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list