.snap

Norberto Meijome freebsd at meijome.net
Sun Jul 15 07:58:56 UTC 2007


On Sun, 15 Jul 2007 08:59:04 +0200
Peter Boosten <peter at 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 .



_________________________
{Beto|Norberto|Numard} Meijome

"Software is like sex, its better when its free"
   Linus Torvalds

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.


More information about the freebsd-questions mailing list