Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jan 2013 15:33:14 +0100
From:      Polytropon <freebsd@edvax.de>
To:        Ralf Mardorf <ralf.mardorf@rocketmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Sharing a mail folder between Linux and FreeBSD
Message-ID:  <20130126153314.1b3aab01.freebsd@edvax.de>
In-Reply-To: <1359191497.2029.49.camel@precise>
References:  <op.wrguj103uwjkcr@freebsd> <20130125133346.f1484ed8.freebsd@edvax.de> <op.wrgzatq7uwjkcr@freebsd> <20130125150414.f262d162.freebsd@edvax.de> <op.wrg019couwjkcr@freebsd> <20130125161215.f498f4e4.freebsd@edvax.de> <5102FE7B.4070808@gmail.com> <op.wrhm3riquwjkcr@freebsd> <20130126084957.2dd3f122.freebsd@edvax.de> <1359191497.2029.49.camel@precise>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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, ...



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