Re: Problem: How to resize FreeBSD "partitions" on a live system?



In article <4fdf8tF1ijvkaU1@xxxxxxxxxxxxxx>,
jpd <read_the_sig@xxxxxxxxxxxxxxxxxxxxxx> wrote:
Begin <slrne92s59.11gh.steve@xxxxxxxxxxxxxxxxx>
On 2006-06-15, Steve Ackman <steve@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
You can effectively do that without touching partitions by creating
a directory like /usr/var/db and moving all your /var/db stuff to it.
Now create the link /var/db -> /usr/var/db

Note that /var/db contains mostly (if not exclusively[1]) system database
type things, like the package database, mounttab, that sort of thing.

Looking at my copy of the ports tree, mysql defaults to /var/db/mysql,
so in the event of moving-and-symlinking, I'd probably _only_ move that,
not the entirety of /var/db, as I personally like the rest where it is.

In /usr/local/etc/rc.d you will find this in the mysql start script



#
# Add the following line to /etc/rc.conf to enable mysql:
# mysql_enable (bool): Set to "NO" by default.
# Set it to "YES" to enable MySQL.
# mysql_limits (bool): Set to "NO" by default.
# Set it to yes to run `limits -e -U mysql`
# just before mysql starts.
# mysql_dbdir (str): Default to "/var/db/mysql"
# Base database directory.
# mysql_args (str): Custom additional arguments to be passed
# to mysqld_safe (default empty).
#

Bill

--
Bill Vermillion - bv @ wjv . com
.



Relevant Pages

  • Re: Problem: How to resize FreeBSD "partitions" on a live system?
    ... type things, like the package database, mounttab, that sort of thing. ... Looking at my copy of the ports tree, mysql defaults to /var/db/mysql, ... not the entirety of /var/db, as I personally like the rest where it is. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Problem: How to resize FreeBSD "partitions" on a live system?
    ... type things, like the package database, mounttab, that sort of thing. ... Looking at my copy of the ports tree, mysql defaults to /var/db/mysql, ... not the entirety of /var/db, as I personally like the rest where it is. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Event-based databases
    ... sort type indicates whether it is word for word, letter for letter, numbers ... a web site I update at times; this is a MySQL table create statement. ... KEY `sortdate` ... Somewhere I've got a copy of MySQL, but I never learnt how to use it. ...
    (soc.genealogy.computing)
  • Re: [PHP] changing order of items
    ... order number is stored in mysql too. ... To execute the change, ... and improve it independently from the interface. ... people team) - in that case sort by date might be better. ...
    (php.general)
  • Re: [PHP] changing order of items
    ... order number is stored in mysql too. ... To execute the change, ... and improve it independently from the interface. ... people team) - in that case sort by date might be better. ...
    (php.general)