FreeBSD 备份文件

回复
admin
网站管理员
帖子: 459
注册时间: 周四 3月 15, 2018 3:56 pm
来自: 广东深圳
联系:

FreeBSD 备份文件

帖子 admin »

# cat /etc/fstab
# Device Mountpoint FStype Options Dump Pass#
/dev/ada0p2 none swap sw 0 0
/dev/ada1p1 /data ufs rw 0 0
proc /proc procfs rw 0 0
#/dev/da0p1 /mnt1 fuse rw,mountprog=/usr/local/bin/lklfuse,type=ext4,allow_other 0 0
#/dev/da0p2 /mnt2 fuse rw,mountprog=/usr/local/bin/lklfuse,type=ext4,allow_other 0 0
#/dev/da0p3 /mnt3 fuse rw,mountprog=/usr/local/bin/lklfuse,type=ext4,allow_other 0 0
#/dev/da0p4 /mnt4 fuse rw,mountprog=/usr/local/bin/lklfuse,type=ext4,allow_other 0 0

# cat /etc/rc.conf
hostname="tot107.bluepoint-ha.com"
ifconfig_em0="inet 192.168.1.107 netmask 255.255.255.0"
defaultrouter="192.168.1.1"
sshd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"
zfs_enable="YES"
#gnome="YES"
moused_enable="YES"
dbus_enable="YES"
hald_enable="YES"
gdm_enable="YES"
gnome_enable="YES"
snd_hda="YES"
#if_bridge_load="YES"
#bridgestp_load="YES"
cloned_interfaces="bridge0 tap0 tap1 tap2 tap3 em0"
#autobridge_interfaces="bridge0"
#autobridge_bridge0="tap* em0"
#ifconfig_bridge0="inet $ipaddr/$len"
ifconfig_bridge0="addm em0 addm tap0 addm tap1 addm tap2 addm tap3"
sendmail_enable="NONE"
kld_list="i915kms"
linux_enable="YES"
kld_list="fusefs"
fusefs_enable="YES"

# cat /etc/sysctl.conf
# $FreeBSD$
#
# This file is read when going to multi-user and its contents piped thru
# ``sysctl'' to adjust kernel values. ``man 5 sysctl.conf'' for details.
#

# Uncomment this to prevent users from seeing information about processes that
# are being run under another UID.
#security.bsd.see_other_uids=0
vfs.zfs.min_auto_ashift=12
net.link.tap.user_open=1
net.link.tap.up_on_open=1
net.inet.ip.forwarding=1
#net.inet.ip.random_id=1

# cat /boot/loader.conf
kern.geom.label.disk_ident.enable="0"
kern.geom.label.gptid.enable="0"
cryptodev_load="YES"
zfs_load="YES"
if_tap_load="YES"
if_bridge_load="YES"

# cat /etc/devfs.conf
# Copyright (c) 2003 The FreeBSD Project
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
# $FreeBSD$

# These are examples of how to configure devices using /etc/rc.d/devfs.
# The first parameter is always the action to take, the second is always the
# existing device created by devfs, and the last is what you want to change.
# The name of the action is only significant to the first unique character.
#
# Examples:

# Commonly used by many ports
#link cd0 cdrom
#link cd0 dvd

# Allow a user in the wheel group to query the smb0 device
#perm smb0 0660

# Allow members of group operator to cat things to the speaker
#own speaker root:operator
#perm speaker 0660
own tap0 root:wheel
own tap1 root:wheel
own tap2 root:wheel
own tap3 root:wheel
## perm /dev/da0 0666
回复