Date: Sun, 15 Jul 2007 14:32:33 +0200 From: Erik Trulsson <ertr1013@student.uu.se> To: Peter Boosten <peter@boosten.org> Cc: freebsd-questions@freebsd.org Subject: Re: .snap Message-ID: <20070715123232.GA7861@owl.midgard.homeip.net> In-Reply-To: <469A0BC5.4060709@boosten.org> References: <4699C5B8.9000005@boosten.org> <20070715175850.52d6f45e@localhost> <469A0BC5.4060709@boosten.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jul 15, 2007 at 01:57:57PM +0200, Peter Boosten wrote: > Norberto Meijome wrote: > > On Sun, 15 Jul 2007 08:59:04 +0200 > > Peter Boosten <peter@boosten.org> wrote: > > > >> Hi all, > >> > >> Is it possible to mount a filesystem with it creating a .snap directory? > >> > >> I mount a different partition for mysql under /var/db/mysql, but since > >> there's a .snap directory, mysql thinks there's a .snap database > > > > :-D > > > >> (the > >> name is actually a bit complexer). > > > > You can tell mysql where to look for pretty much anything via my.cnf, or > > rc.conf settings (i think you want to do the latter). > > - the /var/db/mysql is the default, but by no means unchangeable. > > > > for example, mount your partition in /mnt/dbs , make a > > directory /mnt/dbs/mysql and point mysql to this. the .snap will be > > in /mnt/dbs . > > > Thanks for the suggestion, Norberto, but that doesn't answer my > question: is it possible to mount a partition _without_ it creating a > .snap directory? Mounting a partition does not create a .snap directory. The .snap directory is created when you create the filesystem (see the -n option to newfs(8)). If you do not want the .snap directory then you can just delete it like any ordinary directory. -- <Insert your favourite quote here.> Erik Trulsson ertr1013@student.uu.se
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070715123232.GA7861>