入口
benchmarks
  bonnie
    results
  bytebench
comms
  mgetty
    /etc/mail/aliases
  mgetty+sendfax
    pppd サーバを作る mgetty
    設定の概要
    /etc/tty00 --モデム
    /etc/ttys
    mgetty.config, login.config
    まずは login して見る
    /etc/ppp/options
    /etc/ppp/pap-secrets
    確認方法
cross
  i386-mingw32
  ming-w64
    二つの不思議
databases
  mysql-server
    mysql_install_db
    rc.d/mysqld
    mysql_secure_installation
    20050605
      pkg_add
      (err)
      grant
    help
    error
      mysqlcheck
      reset password
      backup
    reset password
    create db
    create user
    grant
    ProFTPD+mysql
    操作
  postgres
  rrdtool
devel
  cvsync
    cvsync.conf
    ソースの取出
    問題
      desired version
  distcc
    url
    distcc って何
    用意するもの
    distccmon-text
    pkg_add
  doxygen
    Doxyfile
    出力を利用する
    1.4.5
    2007/04
  doxygen/gcc
    doxy 1.4.5
  mercurial
  git
font
  設定方法
    mkfontdir
    fontpath
  確認方法
    fontpath
    全ての書体
  intlfonts
    fontpath
  ipa
graphics
  graphviz
  magicpoint
  tgif
    print error
    work around
ham
  hamlog
inputmethod
  anthy
    kinput2
mail
  cyrus-imapd
    url
    説明
    pkg_info -D
    bin/master
    /etc/rc.d/
    認証
    cyrus-saslauthd
    メール box の管理
    着信(MTA)
    問題
    古い cyrus
    sieve
      設定
      .sieve
      操作
      検査
      有効にするには
      問題
        saslauthd
        passwd is asked
  fml
  sendmail
  milter-regex
  smtpfeed
    smtpfeed.mc
    ./Build
    test
    起動準備
  spamassassin
    pkg_add
    sa-learn
    local.cf
  spamass-milter
    メール見出
    設定
    問題
    tuning
  squirrelmail
    url
    設置と設定
    pkg_info -D
    apache
    開始画面例
    文字符号
    課題
    問題
  ja-squirrelmail
    url
    設置と設定
    pkg_info -D
    開始画面例
    文字符号
    課題
    問題
  ctorrent
  urjtag
misc
  ttyrec
multimedia
  mplayer
  gmplayer
  libdvdcss
  xine-ui
net
  bind9
    設定確認
    起動
    必要な機能の分類
    chroot 環境
  TCP/IP と AppleTalk
  netatalk
    AppleTalk と TCP/IP
    版と構成部品
    pkg_info -D
    afpd
    一時的に起動
    認証
    動作確認
    誤り
  mrtg
  net-snmp
    設定
    起動
    log
    mrtg
    snmpget
    snmpwalk
    man pages
    参考
  rsync
  samba
    版
    設定
      smb.conf
      /etc/rc.d
    起動
    add user
    debug
    problem
news
  inn
pkgtools
  pkg_chk
print
  mf
    pktogf + gftodvi
  bibtex
    ごみ
  xpdf
  ja-ptex-bin
    jpbibtex
  ja-ptex
    dvipdfmx
    その他
  pdvipdfmx
personal
  fml
    設定作業の流れ
    pkg_info -D
    fml-system
    ml を作る
      newml
    /etc/mail/aliases
    Generic From
    sendmail.cf
    最初の会員
    自動で送られるメール
    MHonArc
    majordomo
    覚え
      password の設定
      members-admin
      log
      cf を変更した時には
      自動登録
      メールで管理するには
      admin add で welcome
      asymmetric mode って
      debug
      問題
      package 問題
  id-utils
security
  cyrus-sasl
  cy2-crammd5
  openssh
sysutils
  dd_rescue
  mklivecd
      config
  memtester
textproc
  hyperestraier
    更新
    異常停止
wip
  emacs-current
    X11
wip-jp
wm
  fvwm2
www
  apache
    rc.d
    httpd.conf
    start
    mkcert
    startssl
  ap2-auth-pgsql
  cvsweb
    pkgsrc
  firefox
    Fonts
    言語毎設定
    Firmacs
  php4
    mb_string
      Wordpress
    php.ini
  w3m
X11
  qt2
wip
  u-boot

Software 入口 | Hardware | NetBSD 解説 | packages | macppc | TsubaiBSD 絹/software/全文検索

This is under: http://www.ki.nu/software/pkgsrc/

NetBSD/pkgsrc

Last Update: "2008/04/27 23:03:40 makoto"

mklivecd

pkgsrc の中に mklivecd というものがあります。これを使うと簡単に livecd が作れます。
sysutils/mklivecd
http://cvsweb.netbsd.org/cgi-bin/cvsweb.cgi/pkgsrc/sysutils/mklivecd/
2004/09/02 の日記
http://www.ki.nu/~makoto/diary/2004/09/02/#200409021
PLIST: (pkg で入るもの)
man/man8/mklivecd.8
sbin/mklivecd
share/mklivecd/KERN-LIVECD
share/mklivecd/mfs_rcd
share/mklivecd/personal_config
@dirrm share/mklivecd
help:
21:16:53/040829(...sysutils/mklivecd)> /usr/pkg/sbin/mklivecd

        mklivecd: [-v] [-c config_file] [target]

        Target operations:

        kernel      Build and install the Boot kernel image
        iso         Build the ISO 9660 image
        burn        Burn the ISO image via cdrecord
        base        Install the base/x11 sets into ISODIR
        chroot      chroot into the livecd
        clean       Clean the work directory
        config      Create the default configuration file
config:
21:19:20/040829(/export/mklivecd)> /usr/pkg/sbin/mklivecd config
=> Configuration file created, now please edit it.
=> Path: /home/makoto/.mklivecd/mklivecd.conf
ttyp0:makoto@celeron  23:37:57/040902(~)> wc .mklivecd/mklivecd.conf
      41      97    1149 .mklivecd/mklivecd.conf
config
(before edit)
# --*-sh-*--    
#               
# mklivecd - configuration file
# See mklivecd(8) for a detailed description of each variable.
#
# Generated automatically on Sun Aug 29 21:19:24 JST 2004.

# Base directories/options
SOURCEDIR="/usr/src"
PKGSRCDIR="/usr/pkgsrc"
SHAREDIR="/usr/pkg/share/mklivecd"
BASEDIR="/home/makoto/livecd"
WORKDIR="/home/makoto/livecd/work"
ISODIR="/home/makoto/livecd/iso"
BASE_SETS_DIR="/home/makoto/release/binary/sets"
X11_SETS_DIR="/home/makoto/release/binary/sets"
BASE_SETS="etc.tgz base.tgz comp.tgz text.tgz"
X11_SETS="xbase.tgz xcomp.tgz xfont.tgz xserver.tgz"

# Miscellaneous options
ENABLE_X11="no"
MKISOFS_ARGS="-J -R -nobak -v"
CDRECORD_ARGS="-v"
BLANK_BEFORE_BURN="no"
CDROM_DEVICE="15,1,0"
PERSONAL_CONFIG="no"
BOOTKERN="KERN-LIVECD"
KERNEL_NAME="MKLIVECD"
IMAGE_NAME="NetBSD-LiveCD"
PKG_SYSCONFDIR="usr/pkg/etc"
REMOVE_DIRS="altroot usr/share/info"

# Mount arguments
MNT_DEV_ARGS="-o noatime -s 5m"
MNT_ETC_ARGS="-o noatime -s 2m"
MNT_VAR_ARGS="-o noatime -s 10m"
MNT_ROOT_ARGS="-o noatime -s 5m"
MNT_TMP_ARGS="-o noatime -s 10m"
MNT_HOME_ARGS="-o noatime -s 50m"
MNT_PKG_SYSCONFDIR_ARGS="-o noatime -s 1m"
From the man page: TARGETS

A target specifies what mklivecd should do (as in make). The following list describes all supported targets, in the logical order in which you should call them.

config Create a sample mklivecd.conf file. You should edit it after the creation as you will probably want to change the default configuration, espe- cially paths.
kernel Builds the specified kernel $BOOTKERN into the $ISODIR directory.
base Install the $BASE_SETS and $X11_SETS into the $ISODIR directory and prepare the base system for the next target, which is the most important: chroot.
chroot Enters the chroot environment. Uses ksh(1) as default shell.
iso Builds the ISO image $IMAGE_NAME into $BASEDIR and removes all directories specified in $REMOVE_DIRS before it, to save some space.
burn Burns the ISO image $IMAGE_NAME on the CD-ROM with cdrecord(1). Use the $CDROM_DEVICE variable to specify the default device.
clean Cleans the $WORKDIR directory and the base NetBSD tree in $ISODIR, except the CD-ROM boot image /stand/cdlive-boot.fs and the NetBSD kernel /netbsd.
NetBSD解説/pkgsrc
Last Update: Mon, 08 Feb 2016 22:22:20 GMT 1.66 2008/03/08