|
Namazu for hns による簡易全文検索 詳しくは 詳細指定/ヘルプを参照して下さい |
||||||||||||||||||||||||||||||||||||||||||||||||
2000年03月05日(日) 旧暦 [n年日記]#1 [NetBSD/macppc] 1.4.2
試しに 1.4.2 を外付けの SCSI に入れて見た。
kernel のとても大まかな動き(の一つ)
src/sys/kern/init_main.c:
181 main()
337 configure();
416 cpu_rootconf();
417 cpu_dumpconf();
src/sys/kern/subr_autoconf.c:
105 configure()
119 cpu_configure();
src/sys/arch/macppc/macppc/autoconf.c:
36 #include <sys/device.h>
58 struct device *booted_device; /* boot device */
72 cpu_configure()
232 cpu_rootconf()
233 {
234 printf("boot device: %s\n",
235 booted_device ? booted_device->dv_xname : "<unknown>");
236
237 setroot(booted_device, booted_partition);
238 }
src/sys/sys/device.h
73 struct device {
74 enum devclass dv_class; /* this device's classification */
75 TAILQ_ENTRY(device) dv_list; /* entry on list of all devices */
76 struct cfdata *dv_cfdata; /* config data that found us */
77 int dv_unit; /* device unit number */
78 char dv_xname[16]; /* external name (name + unit) */
79 struct device *dv_parent; /* pointer to parent device */
80 int dv_flags; /* misc. flags; see below */
81 };
( つっこみ )
#2 [PS/2] ばらした人の話( つっこみ )
#3 [Emacs] snapshot/bitmap-mule はここかな。
久し振りに elips を見ていたら、bitmap-mule の話が出ていました。
ftp://ftp.jpl.org/pub/elisp/bitmap/snapshots/
bitmap-mule-200002140047.tar.gz
( つっこみ )
#4 [NetBSD/sparc] kernel の再構成
他にもいろいろやっている機械の上の話だけれど、cvs で取出して、
次のところに置いて、
ftp://ftp.ki.nu/pub/NetBSD/
2000-11-09-syssrc.tar.gz
を使って
--- GENERIC_SCSI3 Mon Jan 6 16:34:14 1997 +++ GENERIC_SCSI3_AT Sun Mar 5 17:52:33 2000 @@ -8,3 +8,5 @@ sd1 at scsibus? target 1 lun ? # second SCSI disk sd2 at scsibus? target 2 lun ? # third SCSI disk sd3 at scsibus? target 0 lun ? # fourth SCSI disk + +options NETATALK 4157.208u 470.710s 2:09:45.72 59.4% 0+0k 24436+21571io 20273pf+0w makoto@milano 20:12:32/000305(...compile/GENERIC_SCSI3_AT)>二時間もかかった。603e/240 の場合で 38 分くらいだから、そのようなものかな。 (SS-10) ( つっこみ )
#5 [inn] history にない記事
expire しても消えないと思うと、初めから history にないものがある
そういうものを探して消してしまう Perl 手続きを以前に作ったが、
少し直して
使っている。
news@milano 20:34:20/000305(~...control/cancel)> /home/makoto/perl/grephist-2.2.2 -r -D 2 *でもどうして history に残っていないのだろう。 考えたら上のものを Find.pm を使うように変更したい。
news@milano 20:37:52/000305(~...articles/japan)> find2perl . -type f -ctime +365
#!/usr/local/bin/perl
eval 'exec /usr/local/bin/perl -S $0 ${1+"$@"}'
if $running_under_some_shell;
require "find.pl";
# Traverse desired filesystems
&find('.');
exit;
sub wanted {
(($dev,$ino,$mode,$nlink,$uid,$gid) = lstat($_)) &&
-f _ &&
(int(-C _) > 365);
}
news@milano 20:37:56/000305(~...articles/japan)>
( つっこみ )
#6 [FAQ] FreeBSD の場合の形式( つっこみ )
|
最近の日記 2026年02月28日 ・my first script-fu 2026年01月29日 ・Die Fledermaus at New National theatre 2026/01/29 2025年12月25日 ・pbulk 11.99.3 (emacs30) 2025年11月22日 ・crash dump 2025年10月25日 ・recover from disk error | ||