[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[pbsd-mg2] mini-fs command list



現在のmini-fsに入っているコマンドをあげてみます。

これでこんなもんです。
% df -k
Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/wd0a       42911    22692    18073    55%    /
kernfs              1        1        0   100%    /kern
procfs              4        4        0   100%    /proc

From: suz@d2.bs1.fc.nec.co.jp (Koji Suzuki)
Subject: [pbsd-mg2] Re: MC-R700 status 
Date: Tue, 27 Jul 1999 13:34:23 +0900 (JST)

> /bin はあまり削りたくないですね。
> [               dd              kill            ps              sh
> cat             df              ksh             pwd             sleep
> chio            domainname      ln              rcmd            stty
> chmod           echo            ls              rcp             sync
> cp              ed              mkdir           rm              test
> csh             expr            mv              rmail
> date            hostname        pax             rmdir

% ls
[          date       expr       mkdir      rcp        stty
cat        dd         hostname   mv         rm         sync
chio       df         kill       pax        rmail      test
chmod      domainname ksh        ps         rmdir
cp         echo       ln         pwd        sh
csh        ed         ls         rcmd       sleep

> /sbin は だいぶ削りましたが、
> atactl          fsck_ffs        mount           mount_ufs       shutdown
> dhclient        fsck_msdos      mount_ffs       newfs           swapctl
> disklabel       fsirand         mount_kernfs    newfs_msdos     swapon
> dmesg           halt            mount_mfs       nologin         ttyflags
> fastboot        ifconfig        mount_msdos     ping            tunefs
> fasthalt        init            mount_nfs       reboot          umount
> fsck            mknod           mount_procfs    route           wsconsctl

% ls /sbin
atactl       fsck_msdos   mount_kernfs newfs_msdos  ttyflags
dhclient     fsirand      mount_mfs    nologin      tunefs
disklabel    halt         mount_msdos  ping         umount
dmesg        ifconfig     mount_nfs    reboot       wsconsctl
fastboot     init         mount_procfs route
fasthalt     mknod        mount_ufs    shutdown
fsck         mount        mount_union  swapctl
fsck_ffs     mount_ffs    newfs        swapon

> /usr/sbin は、だいぶ残っています。
> だいたい 1.2MB
> ac              inetd           netgroup_mkdb   pstat           update
> accton          iostat          nfsiod          pwd_mkdb        vipw
> arp             kvm_mkdb        nslookup        rmt             vnconfig
> chat            lastlogin       pkg_add         rtquery         wsconscfg
> chown           makedbm         pkg_admin       sa              wsfontload
> chroot          makemap         pkg_create      statmsg         zdump
> chrtbl          mbrlabel        pkg_delete      sysconfd        zic
> cron            mdconfig        pkg_info        sysctl
> dev_mkdb        mdsetimage      portmap         syslogd
> diskpart        mtree           praliases       traceroute

% cd /usr/sbin
ac              kvm_mkdb        pkg_admin       sysconfd
accton          lastlogin       pkg_create      sysctl
arp             makedbm         pkg_delete      syslogd
chat            makemap         pkg_info        traceroute
chown           mbrlabel        portmap         update
chroot          mdconfig        praliases       vipw
chrtbl          mdsetimage      pstat           vnconfig
cron            mtree           pwd_mkdb        wsconscfg
dev_mkdb        netgroup_mkdb   rmt             wsfontload
diskpart        nfsiod          rtquery         zdump
inetd           nslookup        sa              zic
iostat          pkg_add         statmsg

> /usr/bin は、どれを削ってよいものか判断できていません。
> 6.4MB 残っています。

% cd /usr/bin
% ls
Mail         dc           join         pagesize     tty
addftinfo    diff         jot          passwd       ul
addr2line    diff3        kdump        paste        uname
apply        dirname      ktrace       patch        unexpand
apropos      du           last         printenv     unifdef
at           egrep        lastcomm     printf       uniq
atq          eject        ldd          rdist        units
atrm         env          leave        renice       unvis
audioctl     error        less         reset        uptime
awk          ex           lesskey      rev          usbhidctl
banner       expand       locate       rlogin       users
basename     false        lock         rpcinfo      uudecode
batch        fgen         logger       rs           uuencode
bc           fgrep        login        rsh          vacation
bdes         file         logname      rup          vi
biff         find         look         ruptime      view
bunzip2      finger       lp           rwall        vmstat
bzcat        fmt          lpq          script       w
bzip2        fold         lpr          sdiff        wall
bzip2recover from         lprm         sed          wc
cal          fsplit       m4           shar         what
calendar     fstat        machine      shlock       whereis
cap_mkdb     ftp          mail         size         which
checknr      gcpp         mailx        sort         who
chflags      gencat       make         split        whoami
chfn         getconf      man          strings      whois
chgrp        getopt       md5          su           write
chpass       grep         merge        sum          xargs
chsh         grog         mesg         systat       yes
cksum        groups       mkdep        tail         zcat
clear        gunzip       mkfifo       tar          zcmp
cmp          gzcat        more         tcopy        zdiff
col          gzexe        msgs         tee          zegrep
colcrt       gzip         netstat      telnet       zfgrep
colrm        head         nfsstat      time         zforce
column       hexdump      nice         tip          zgrep
comm         id           nm           touch        zmore
cpio         indent       nohup        tput         znew
cpp          install      objcopy      tr
crontab      install-sid  objdump      true
ctags        ipcrm        od           tset
cut          ipcs         page         tsort

--
蛯原 純 (Jun Ebihara)Jis漢字コードは$6962
jun@soum.co.jp    http://www.re.soum.co.jp/~jun/
それはttyドライバのせいなんだよ。