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 <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"