Re: Problem: How to resize FreeBSD "partitions" on a live system?
- From: bv@xxxxxxx (Bill Vermillion)
- Date: Fri, 16 Jun 2006 05:05:01 GMT
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
.
- Follow-Ups:
- References:
- Prev by Date: Re: Problem: How to resize FreeBSD "partitions" on a live system?
- Next by Date: Re: Problem: How to resize FreeBSD "partitions" on a live system?
- Previous by thread: Re: Problem: How to resize FreeBSD "partitions" on a live system?
- Next by thread: Re: Problem: How to resize FreeBSD "partitions" on a live system?
- Index(es):
Relevant Pages
|