== JinLiveCD/ToDo == === ÀÛ¾÷ÇÒ ³»¿ë === * csh À» busybox ·Î º¯°æ ( done ) * °è¼Ó ¹ßÀü°¡´É¼ºÀÌ ÀÖ°í, debug ÇϱⰡ ÁÁ´Ù. * cloop ¸¦ squashfs ·Î º¯°æ ( done ) * ¼º´ÉÀÇ ÀåÁ¡µµ ÀÖÁö¸¸, unionfs ¿Í °°ÀÌ »ç¿ëÇϸé, Àüü ÆÄÀϽýºÅÛÀ» ¸î°³ÀÇ ¾ÐÃà ÆÄÀÏ·Î ³ª´­ ¼ö ÀÖÀ¸¹Ç·Î, °³¹ß ȯ°æÀÌ ³ª¾ÆÁø´Ù. * ¸î°³ÀÇ ÆÄÀÏ·Î ³ª´­ °æ¿ì ¼º´ÉÀÇ ÀúÇÏ ¹®Á¦´Â °ËÅäÇØ º¸¾Æ¾ß ÇÑ´Ù. * unionfs »ç¿ë ( done ) * ¾ÆÁ÷ °³¹ß ÁßÀÎ ÆÄÀÏ ½Ã½ºÅÛÀÌÁö¸¸, ÇÁ·ÎÁ§Æ®°¡ 2006 ³â±îÁö´Â È®½ÇÈ÷ °è¼ÓµÉ °ÍÀÌ°í, ¸¹Àº live cd ¿¡¼­ äÅÃÀ» ÇÏ°í ÀÖÀ¸¹Ç·Î, ºü¸¥ ¼Óµµ·Î ¼öÁ¤ º¸¿ÏµÉ °ÍÀÌ´Ù. * ¾ÆÁ÷ ·¹À̾ µÎ °³ ¹Û¿¡ »ç¿ëÇÒ ¼ö ¾øÀ½. * 3 °³¸¦ »ç¿ëÇÒ °æ¿ì, mv ¿¡ ÀÇÇØ Ooops ¹ß»ý * uClibc ( not yet ) * È®½ÇÈ÷ ½ÇÇà ÆÄÀÏÀÇ Å©±â°¡ Å©¸é, ¼Óµµ°¡ ÀúÇϵǴ °Í °°´Ù. * live cd ¸¦ ¸¸µå´Âµ¥ ÇÊ¿äÇÑ ÆÄÀϵéÀº °¡´ÉÇÑ ÇÑ, uClibc ¸¦ »ç¿ëÇÏ¿© ÄÄÆÄÀÏÇÑ´Ù. * sysvinit ( need update ) * cdrom eject ¸¦ À§Çؼ­´Â sysvinit ÀÇ º¯°æÀÌ ÇÊ¿äÇÏ´Ù. * Á» ´õ ¿¬±¸ÇÏ¿© º¸´Ù ºü¸£°Ô ¸¸µé¾î¾ß ÇÑ´Ù. * ÀÌÁ¦´Â ÇÊ¿ä ¾ø½¿. * ´ÜÁö init ¿Í halt ¸¦ ¹­´Â °Í¸¸ÀÌ ÇÊ¿äÇÔ. * update ÇÊ¿äÇÔ. * bootsplash ( done ) * gfxboot ( done ) * installer ¸¸µé °Í ( not yet ) * livecd2win ( not yet ) * Çϵåµð½ºÅ© °ü·Ã ÀÛ¾÷ ³ÖÀ» °ÍÀΰ¡? * security ¸¦ À§ÇÑ ÆÐÅ°Áö ³ÖÀ» °ÍÀΰ¡? * bootsplash, usplash, fbsplash === ¹èÆ÷ÆÇ°ú °ü·ÃµÈ ÀÛ¾÷ === * Ä¿³ÎÀº µÎ°³·Î ¸¸µé¾î¾ß ÇÑ´Ù. * squashfs ¿Í unionfs, ±×¸®°í ÇÊ¿äÇÑ ÆÄÀÏ ½Ã½ºÅÛ ¸ðµâ * ¼Óµµ¸¦ »ý°¢ÇÏ¿© ºÒÇÊ¿äÇÑ ¸ðµâÀ» Áö¿ï¼öµµ ÀÖ½¿. * Çϵå¿þ¾î ¼³Á¤ * Çϵå¿þ¾î ¼³Á¤Àº ¹èÆ÷ÆÇÀÇ Çϵå¿þ¾î ¼³Á¤ ÇÁ·Î±×·¥µé°ú °ü°è°¡ ÀÖÀ¸¹Ç·Î, ¹èÆ÷ÆÇÀÇ ¼³Ä¡ ÇÁ·Î±×·¥¿¡¼­ ¼öÇàÇÏ´Â ÀÛ¾÷À» ¼öÇàÇØ¾ß ÇÑ´Ù. * ÀÌ ºÎºÐÀº rc.sysinit ¿¡¼­ ¼öÇà * cdrom eject ¸¦ À§ÇØ unionfs umount, squashfs umount ¸¦ ¼öÇàÇÏ°í, cdrom eject ¸¦ ¼öÇàÇϵµ·Ï ÇØ¾ß ÇÑ´Ù. * ÀÌ ºÎºÐÀº halt ¿¡¼­ ¼öÇà. === ÆÐÅ°Áö °ü¸® === * ÆÐÅ°Áö °ü¸®¶ó°í Çϱ⺸´Ù, ÇÊ¿äÇÑ ÀÛÀº ÆÐÅ°ÁöµéÀ» ½±°Ô ¼³Ä¡, »ç¿ëÇÒ ¼ö ÀÖµµ·Ï ÇÏ´Â °ÍÀÌ´Ù. * ²À ÇÊ¿äÇÑ update µµ ÀÖÀ» °ÍÀÌ´Ù. * ÇöÀç unionfs ¿¡ ¹®Á¦°¡ ÀÖ±â´Â ÇÏÁö¸¸, À̸¦ ÀÌ¿ëÇÏ¸é ½±°Ô ó¸®ÇÒ ¼ö ÀÖÀ» °Í °°´Ù. * klik ÀÇ cmg ¹æ½ÄÀ» °í·ÁÇÒ ÇÊ¿ä°¡ Àִ°¡? * static ·Î °¡´ÉÇÑ ÇÁ·Î±×·¥ÀÌ ¾Æ´Ï¸é, ÀÇÁ¸¼ºÀÇ ¹®Á¦¸¦ ¾ß±â ½Ãų °ÍÀ̹ǷΠ¸¹Àº ÀÛ¾÷ÀÌ ÇÊ¿äÇØ Áú ¼ö ÀÖ´Ù. === Çϵåµð½ºÅ©¿¡ ¼³Ä¡ÇÏ´Â ÀÛ¾÷ === * ÀÌ ºÎºÐÀº ¾ÆÁ÷ ²À ÇÊ¿äÇÑ ÀÛ¾÷Àº ¾Æ´ÏÁö¸¸ ¾ÕÀ¸·Î ÇÊ¿äÇÏ´Ù. * option À» ¾î¶»°Ô Á¤ÇÒ °ÍÀΰ¡°¡ ¹®Á¦ÀÏ »ÓÀÌ´Ù. === busybox === * http://www.busybox.net/ * busybox-1.01.tar.gz 16-Aug-2005 18:32 1.1M === squashfs === * http://sourceforge.net/project/showfiles.php?group_id=63835 * squashfs2.2 2005-07-03 18:53 * kernel ¿¡ ÆÐÄ¡¸¦ Àû¿ëÇÏ¿© ¸ðµâÀ» ¸¸µë. * cd /usr/src/linux * patch -p1 < /root/squashfs2.2/linux-2.6.12/squashfs2.2-patch === unionfs === * * http://www.unionfs.org/ * kernel module ¸¸À» »ý¼ºÇÒ ¼öµµ ÀÖ°í, kernel ¿¡ Ãß°¡ÇÏ¿© »ý¼ºÇÒ ¼öµµ ÀÖ°Ô µÇ¾î ÀÖÁö¸¸, fedora core 4 ÀÇ kernel-2.6.12-1.1398_FC4.src.rpm ¿¡ Àû¿ëÇÒ °æ¿ì ¿À·ù°¡ ¹ß»ýÇÔ. * unionctl °ú uniondbg ´Â uClibc ¸¦ »ç¿ëÇÏ¿© ¸¸µç´Ù. * 2.6.13 ÀÇ °æ¿ì, ¸ðµâ¸¸ ¸¸µé °æ¿ì, bad format ¹ß»ý * Ä¿³Î¿¡ ³ÖÀ» °æ¿ì, ¸¸µé¾î Áö±â´Â ÇÏÁö¸¸, ¿À·ù Åõ¼ºÀÌ·Î º¸ÀÓ === uClibc === * http://www.uclibc.org/ * uClibc-0.9.28.tar.gz 17-Aug-2005 15:52 2.3M * root_fs_i386.ext2.bz2 12-Jan-2005 00:09 21M * http://buildroot.uclibc.org/downloads/snapshots/ * buildroot-20050819.t..> 18-Aug-2005 23:15 1.5M * kernel À» 2.6.13 À» »ç¿ëÇÒ °æ¿ì linux-libc-header °¡ ¾ø¾î¼­ uclibc ¸¦ »ç¿ëÇÏ´Â °ÍÀÌ °ï¶õÇÔ. * dietlibc ¸¦ ½ÃÇèÇØ º¸¾Æ¾ß ÇÔ. === sysvinit === * ftp://ftp.cistron.nl/pub/people/miquels/sysvinit/ * sysvinit-2.86.tar.gz 97 KB 2004³â 12¿ù 10ÀÏ 00:00:00 * fedora core 4 ÀÇ SysVinit-2.85-39.src.rpm 128 KB 2005³â 05¿ù 21ÀÏ Àº uClibc ¸¦ »ç¿ëÇÏ¿© ÄÄÆÄÀÏ ÇϱⰡ Èûµë. * libselinux ¿Í libsepol ÀÌ ÇÊ¿äÇÏ°í, À̸¦ ÄÄÆÄÀÏ Çϱâ À§Çؼ­´Â ´Ù¸¥ °ÍµéÀÌ ¶Ç ÇÊ¿äÇÔ. === kudzu === * À̸¦ uClibc ¿¡¼­ ÄÄÆÄÀÏÇϱâ À§ÇØ ½ÃµµÇØ º¸¾ÒÁö¸¸, ³Ê¹« ¸¹Àº ¹®Á¦°¡ ÀÖ½¿. === fbui === * http://fbui.org/ * ¸¹Àº ³ë·ÂÀ» µé¿´Áö¸¸, ¾ÆÁ÷ ¾µ¸¸ÇÑ »óÅ´ ¾Æ´Ô. === gfxboot === * http://cvs.sourceforge.net/viewcvs.py/morphix/ === usplash === * http://bugzilla.ubuntu.com/buglist.cgi?query_format=advanced&resolution=DUPLICATE&resolution=---&bugidtype=include&cmdtype=doit&component=usplash === busybox ¼³Ä¡ === * uclibc ÀÇ busybox »ç¿ë {{{ Currently defined functions: [, [[, ash, awk, basename, busybox, cal, cat, chgrp, chmod, chown, chroot, chvt, clear, cp, cut, date, dd, df, dirname, dmesg, du, dumpleases, echo, egrep, env, expr, false, fdisk, fgrep, find, free, grep, gunzip, gzip, hdparm, head, id, insmod, kill, killall, klogd, ln, logger, losetup, ls, lsmod, mkdir, mkfifo, mknod, mkswap, modprobe, more, mount, mv, pivot_root, ps, pwd, readlink, realpath, reset, rm, rmdir, rmmod, sed, sh, sleep, sort, swapoff, swapon, sync, syslogd, tail, tar, tee, test, touch, tr, true, tty, udhcpc, udhcpd, umount, uname, uniq, unzip, uptime, vi, wc, which, whoami, xargs, yes, zcat }}} * slax ´Â busybox ÀÇ ash ¸¦ º¯ÇüÇÑ °ÍÀ¸·Î º¸ÀÓ. * busybox ÀÇ ¸í·ÉµéÀ» ash ¿¡ Ãß°¡ÇÑ °Í °°À½. * ash ÀÇ builtin function * mount ¿¡ ¹®Á¦°¡ ÀÖÀ½. * fedora core 4 ÀÇ busybox ¸¦ »ç¿ëÇØ º¼ °Í * ½ÇÆÐ. * make menuconfig ¿¡¼­ busybox snapshot À» »ç¿ëÇÏÁö ¾ÊÀ½. * busybox 1.0.1 À» »ç¿ëÇÔ. ¼º°ø * ash ¿¡ builtin function À» ¸¸µé °ÍÀΰ¡? * http://tree.celinuxforum.org/pipermail/test1/2005/000027.html {{{ static int catcmd(int, char **); ¾ËÆĺª ¼ø¼­¿¡ µû¶ó Ãß°¡ÇØ¾ß ÇÔ. { BUILTIN_REGULAR "cat", catcmd }, static int catcmd(int argc, char **argv) { bb_applet_name = argv[0]; optind=0; return cat_main(argc, argv); } main function ¿¡¼­ ÇØ¾ß ÇÒ ÀÏ 1. bb_show_usage (void) ¸¦ ã¾Æ¼­ ¼öÁ¤ ÇÊ¿ä. 2. exit ¸¦ ã¾Æ¼­ ¼öÁ¤ ÇÊ¿ä. exit À» return À¸·Î ¸¸µé¾î¾ß ash ¿¡¼­ ºüÁöÁö ¾ÊÀ½. »ý°¢ÀÌ ÇÊ¿äÇÔ. }}} {{{ slax knoppix busybox [ awk editor basename coreutil cat cat coreutil cd cd cd chdir chmod chmod coreutil chown coreutil cp cp coreutil cut coreutil df coreutil du coreutil echo echo echo egrep egrep finding eval exec exec exec expr coreutil fdisk system gawk hash grep finding gunzip archival hdparm misc head coreutil insmod module ln coreutil ls coreutil mkdir coreutil mknod coreutil mount mount system read read read rm rm coreutil rmdir coreutil rsync sed sed editors sleep sleep coreutil tail coreutil test test trap umount umount system uname coreutil unset ¹«Á¶°Ç ´Ù ash builtin À¸·Î ÇÏ´Â °ÍÀº ¹®Á¦°¡ ÀÖ½¿. ¾ÕÀ¸·Î busybox °¡ version up ÇÒ °æ¿ì ¼öÁ¤ÀÇ ¹®Á¦ ½ÃÇè ȯ°æÀÇ ¹®Á¦ ¿À·ù°¡ ¹ß»ýÇßÀ»¶§ÀÇ ¹®Á¦ ¼ÓµµÀÇ ¹®Á¦ }}} * chroot root su - ÀÇ ¹®Á¦Á¡. * : applet not found * make menuconfig +su * chroot root su - {{{ BusyBox v1.01 (2005.08.22-19:28+0000) Built-in shell (ash) Enter 'help' for a list of built-in commands. -sh: can't access tty; job control turned off }}} * /dev °¡ Àß ¸ø ¸¸µé¾îÁø ¶§¹®ÀÓ. * rm -Rf customize pcmcia hostap * acpid DHCP dm e2fsprog file hotplug itables libelf * libpcap ltp-testsuite lvm2 microcom mkdosfs ntp * http://www.uclibc.org/toolchains.html ÀÇ * These are currently available for arm, armeb, i386, mips, mipsel, powerpc, and sh4. * ¸¸µé¾îÁø °ÍÀ» »ç¿ëÇßÀ» ¶§, »ý¼ºµÇ´Â ½ÇÇàÆÄÀÏÀÇ Å©±â¿Í ³»°¡ ¸¸µç °Í¿¡¼­ ¸¸µç ½ÇÇàÆÄÀÏÀÇ Å©±â¿¡ Â÷ÀÌ°¡ ³². * ¼³Á¤ ¹®Á¦¸¦ ¾Ë¾Æ º¼ °Í * uclibc ¿¡ locale À» Àû¿ëÇÒ °æ¿ì lib °¡ Ä¿Áü. * À̸¦ Á×ÀÌ°í, ´Ù½Ã ¸¸µë. make clean À» ²À ÇؾßÇÔ. ---- gblic¸¦ ¾²¸é ±âÁ¸ÀÇ ¸ðµç ÆÐÅ°Áö¸¦ ±×´ë·Î °¡Á®¿Í ¾µ ¼ö ÀÖÀ¸³ª, uClibc¸¦ ¾²¸é ±×°Ô ºÒ°¡´ÉÇØÁö°Ô µÇ°ÚÁÒ. ±×¿¡ µÚµû¸£´Â ¾öû³­ »ðÁúÀ» ... --WkPark ¸ðµç °ÍÀ» ÇÊ¿ä·Î ÇÏÁö´Â ¾Ê½À´Ï´Ù. ´ÜÁö cd ÀÇ ¹èÆ÷ÆÇÀ» ã¾Æ¼­ ¿Ã¸®´Â ÀÛ¾÷°ú ³¡³¾ ¶§ cdrom À» eject ÇÏ´Â ÀÛ¾÷ÀÌ ÇÊ¿äÇÒ »ÓÀÔ´Ï´Ù. {{{ mandrake Currently defined functions: basename, busybox, cat, chgrp, chmod, chown, chroot, chvt, clear, cp, cut, date, dd, df, dirname, dmesg, du, echo, env, false, find, free, grep, gunzip, gzip, halt, head, id, init, kill, killall, klogd, linuxrc, ln, logger, ls, lsmod, mkdir, mknod, mkswap, more, mount, mv, poweroff, ps, pwd, reboot, reset, rm, rmdir, sed, sh, sleep, sort, swapoff, swapon, sync, syslogd, tail, tar, touch, true, tty, umount, uname, uniq, uptime, wc, which, whoami, xargs, yes, zcat slax Currently defined functions: [, ash, basename, busybox, cat, chmod, chown, chroot, clear, cp, cut, dd, df, dirname, du, echo, egrep, expr, false, fdisk, fgrep, find, free, grep, gunzip, halt, hdparm, head, insmod, kill, killall, last, ln, logger, losetup, ls, lsmod, md5sum, mkdir, mkfifo, mknod, mkswap, mktemp, modprobe, more, mount, mv, pivot_root, poweroff, ps, pwd, readlink, realpath, reboot, rm, rmdir, rmmod, sed, sh, sleep, sort, swapoff, swapon, sync, tail, tar, tee, test, touch, tr, true, umount, uname, uniq, vi, wc, xargs, zcat knoppix bg break continue cd chdir . echo eval exec exit export readonly false fg getopts hash jobid jobs lc local pwd read return set setvar shift test [ trap : true umask unset wait umount mount cat insmod rmmod lsmod sleep losetup adios Currently defined functions: [, [[, ash, awk, basename, bunzip2, busybox, bzcat, cat, chgrp, chmod, chown, chroot, chvt, clear, cmp, cp, cpio, cut, date, dd, deallocvt, df, dirname, dmesg, du, echo, egrep, eject, env, expr, false, fdisk, fgrep, find, free, freeramdisk, getopt, grep, gunzip, gzip, hdparm, head, hexdump, hostname, id, ifconfig, insmod, kill, killall, klogd, length, ln, logger, losetup, ls, lsmod, md5sum, mesg, mkdir, mkfifo, mknod, mkswap, mktemp, modprobe, more, mount, mv, nameif, nc, netstat, nice, nslookup, od, openvt, patch, pidof, ping, pivot_root, printf, ps, pwd, rdate, readlink, renice, reset, rm, rmdir, rmmod, route, sed, seq, sh, sleep, sort, stat, strings, stty, sum, swapoff, swapon, sync, sysctl, syslogd, tail, tar, tee, test, tftp, time, top, touch, tr, traceroute, true, tty, udhcpc, umount, uname, uniq, unzip, uptime, usleep, vi, wc, wget, which, whoami, xargs, yes, zcat }}} === Korean codeset === * Korean EUC (Extended UNIX Code) : eucKR * KSC5601 : CP949 micorsoft * ISO-2022-KR * UCS-2/UCS-4 : ISO/IEC 10646 standards * UTF-8 : ISO/IEC 10646 standards === bison, flex === {{{ Bison is a general-purpose parser generator that converts a grammar description for an LALR context-free grammar into a C program to parse that grammar. Once you are proficient with Bison, you can use it to develop a wide range of language parsers, from those used in simple desk calculators to complex programming languages. }}} {{{ Flex is a fast lexical analyser generator. It is a tool for generating programs that perform pattern-matching on text. There are many applications for Flex, including writing compilers in conjunction with GNU Bison. Flex is a free implementation of the well known Lex program. It features a Lex compatibility mode, and also provides several new features such as exclusive start conditions. }}} === /mnt/sda15 === download kernel patch squashfs patch bootsplash http://www.bootsplash.de/ {{{ vesafb: framebuffer at 0xd0000000, mapped to 0xf8880000, using 3072k, total 16384k vesafb: mode is 1024x768x16, linelength=2048, pages=9 vesafb: protected mode interface info at c000:5890 vesafb: scrolling: redraw vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0 Console: switching to colour frame buffer device 128x48 fb0: VESA VGA frame buffer device FrameBuffer UI (0.9.14) by Zack T Smith: operational on fb0 sizeof (struct fbui_window)=184 sizeof (struct fbui_processentry)=440 sizeof (struct fbui_font)=36 vga16fb: initializing vga16fb: mapped to 0xc00a0000 fb1: VGA16 VGA frame buffer device }}} == packages == === communition === * e-mail client : thunderbird * instant messaging : gaim * web browser : firefox * voice over ip : openwengo === education === === finance === === development === * framework/platform : mono * IDE : eclipse * IDE for c# and vb.net : sharpdevelop * windows installer : nullsoft scriptable system, inno setup === games === === productivity === * Database : openoffice(base) * mind mapping : free mind * pdf creator : pdf creator * presentation : openoffice(impress) * report creator : jasperreports * spreadsheet : openoffice(calc) * word processor : openoffice(writer) * scientific word processor : Lyx === management === * gantt chart : ganttproject * project management : openworkbench === misc === === multimedia === * 3d animation : blender * 3d graphics : pov-ray * 3d game development kit : crystal space * audio editing : audacity * audio palyer : cpplplayer, zinf * mp3 ripper : cdex * volume normalizer : mp3gain * diagram editor : dia * image editing : gimp * vector drawing : inkscape * vector drawing : sodopodi * media player : vlc media player * web design : nvu * video capture : visualdub * video editing : jashaka === security === * 802.1x client : securew2 * anti-spyware : winpooch * anti-virus : clamwin * network protocol analyzer : ethereal * password safe : keepass password safe, password safe * vpn client : openvpn client gui for windows === utilities === * file compression : 7-zip * ftp client : filezilla ftp client * statistics : windirstat === disk Á¤¸® 2005. 12. 19 === * sda5: there are many things to keep * sda6: swap * sda7: livefc4 2005-07-09 * sda8: booyo 2005-10-12 * sda9: fc4 update 2005-11-25 * sda10: booyo desktop * sda11: several things to keep * sda12: booyo old one * sda13: booyo old one * sda14: squashfs * sda15: squashfs * sda7 À» Áö¿ì°í, ÀÌ °÷¿¡ sda11 À» ¿Å±ä´Ù. * ¾î¶»°Ô ÇÏ´Â °ÍÀÌ Á¦ÀÏ ÁÁÀ»±î? * parted ¹®Á¦ ÀÖÀ½. fedora ÀÇ ¹®Á¦ or parted ÀÇ ¹®Á¦? * fedora ÀÇ °æ¿ì ext_attr feature ¸¦ »ç¿ëÇÔ. * debugfs -R feature /dev/sda8 (fedora install) {{{ [root@localhost sbin]# debugfs -R feature /dev/sda8 debugfs 1.37 (21-Mar-2005) Filesystem features: ext_attr resize_inode filetype sparse_super large_file ext_attr Àº SElinux ¿Í °ü·ÃµÈ °ÍÀÓ. }}} * debugfs -R feature /dev/sda10 (mkfs.ext2) {{{ [root@localhost sbin]# debugfs -R feature /dev/sda10 debugfs 1.37 (21-Mar-2005) Filesystem features: resize_inode filetype sparse_super large_file }}} * sda5 ´Â Á» ´õ µÑ °Í * sda7 ¿¡ ¿ì¼± ÇÊ¿äÇÑ °Í º¸°üÇÏ¿´½¿. * sda8-13 Áö¿ò * sda14, 15 °¡ 8,9 ·Î µÇ¾î ÀÖÀ½. ¿ì¼± ³ªµÑ °Í * sda10 ¿ª½Ã º¸°ü Àå¼Ò·Î ¸¸µé °Í * ³ª¸ÓÁö´Â ´Ù Áö¿î´Ù? * sda11 ´Â linux from scratch ·Î »ç¿ë (10 G) === linux from scratch === {{{ Download or otherwise obtain the following packages: Binutils (2.16.1) - 12,272 KB: http://ftp.gnu.org/gnu/binutils/ GCC (4.0.2) - 31,048 KB: http://ftp.gnu.org/gnu/gcc/ Linux-Libc-Headers (2.6.12.0) - 2,480 KB: http://ep09.pld-linux.org/~mmazur/linux-libc-headers/ Glibc (2.3.6) - 13,687 KB: http://ftp.gnu.org/gnu/glibc/ adjusting the toolchain Tcl (8.4.12) - 2,672 KB: http://prdownloads.sourceforge.net/tcl/ Expect (5.43.0) - 416 KB: http://expect.nist.gov/src/ DejaGNU (1.4.4) - 852 KB: http://ftp.gnu.org/gnu/dejagnu/ GCC (4.0.2) - 31,048 KB: http://ftp.gnu.org/gnu/gcc/ Binutils (2.16.1) - 12,272 KB: http://ftp.gnu.org/gnu/binutils/ Gawk (3.1.5) - 1,696 KB: http://ftp.gnu.org/gnu/gawk/ Coreutils (5.93) - 4,782 KB: http://ftp.gnu.org/gnu/coreutils/ Bzip2 (1.0.3) - 596 KB: http://www.bzip.org/ Gzip (1.3.5) - 284 KB: ftp://alpha.gnu.org/gnu/gzip/ Diffutils (2.8.1) - 648 KB: http://ftp.gnu.org/gnu/diffutils/ Findutils (4.2.27) - 887 KB: http://ftp.gnu.org/gnu/findutils/ Make (3.80) - 904 KB: http://ftp.gnu.org/gnu/make/ Grep (2.5.1a) - 520 KB: http://ftp.gnu.org/gnu/grep/ Sed (4.1.4) - 632 KB: http://ftp.gnu.org/gnu/sed/ Gettext (0.14.5) - 4,668 KB: http://ftp.gnu.org/gnu/gettext/ Ncurses (5.5) - 1,683 KB: ftp://invisible-island.net/ncurses/ Patch (2.5.4) - 156 KB: http://ftp.gnu.org/gnu/patch/ Tar (1.15.1) - 1,580 KB: http://ftp.gnu.org/gnu/tar/ Texinfo (4.8) - 1,492 KB: http://ftp.gnu.org/gnu/texinfo/ Bash (3.1) - 1,824 KB: http://ftp.gnu.org/gnu/bash/ M4 (1.4.4) - 300 KB: http://ftp.gnu.org/gnu/m4/ Util-linux (2.12r) - 1,344 KB: http://www.kernel.org/pub/linux/utils/util-linux/ Perl (5.8.7) - 9,628 KB: http://ftp.funet.fi/pub/CPAN/src/ Autoconf (2.59) - 908 kilobytes (KB): http://ftp.gnu.org/gnu/autoconf/ Automake (1.9.6) - 748 KB: http://ftp.gnu.org/gnu/automake/ Bash Documentation (3.1) - 1,994 KB: http://ftp.gnu.org/gnu/bash/ Bison (2.1) - 982 KB: http://ftp.gnu.org/gnu/bison/ E2fsprogs (1.38) - 3,120 KB: http://prdownloads.sourceforge.net/e2fsprogs/ File (4.16) - 399 KB: ftp://ftp.gw.com/mirrors/pub/unix/file/ Flex (2.5.31) - 672 KB: http://prdownloads.sourceforge.net/lex/ Groff (1.19.2) - 2,096 KB: http://ftp.gnu.org/gnu/groff/ GRUB (0.97) - 772 KB: ftp://alpha.gnu.org/gnu/grub/ Hotplug (2004_09_23) - 40 KB: http://www.kernel.org/pub/linux/utils/kernel/hotplug/ Iana-Etc (2.00) - 174 KB: http://www.sethwklein.net/projects/iana-etc/downloads/ Inetutils (1.4.2) - 752 KB: http://ftp.gnu.org/gnu/inetutils/ IPRoute2 (051007) - 291 KB: http://developer.osdl.org/dev/iproute2/download/ Kbd (1.12) - 624 KB: http://www.kernel.org/pub/linux/utils/kbd/ Less (394) - 216 KB: http://www.greenwoodsoftware.com/less/ LFS-Bootscripts (3.2.1) - 32 KB: http://downloads.linuxfromscratch.org/ Libtool (1.5.20) - 1,642 KB: http://ftp.gnu.org/gnu/libtool/ Linux (2.6.12.5) - 36,522 KB: http://www.kernel.org/pub/linux/kernel/v2.6/ Man (1.6b) - 205 KB: http://primates.ximian.com/~flucifredi/man/ Man-pages (2.17) - 1,688 KB: http://www.kernel.org/pub/linux/docs/manpages/ Mktemp (1.5) - 68 KB: ftp://ftp.mktemp.org/pub/mktemp/ Module-Init-Tools (3.2.2) - 165 KB: http://www.kernel.org/pub/linux/utils/kernel/module-init-tools/ Procps (3.2.6) - 221 KB: http://procps.sourceforge.net/ Psmisc (21.9) - 193 KB: http://prdownloads.sourceforge.net/psmisc/ Readline (5.1) - 1,456 KB: http://ftp.gnu.org/gnu/readline/ Shadow (4.0.13) - 1,057 KB: ftp://ftp.pld.org.pl/software/shadow/ Sysklogd (1.4.1) - 72 KB: http://www.infodrom.org/projects/sysklogd/download/ Sysvinit (2.86) - 88 KB: ftp://ftp.cistron.nl/pub/people/miquels/sysvinit/ Udev (071) - 427 KB: http://www.kernel.org/pub/linux/utils/kernel/hotplug/ Udev Rules Configuration - 5 KB: http://downloads.linuxfromscratch.org/udev-config-5.rules Vim (6.4) - 3,650 KB: ftp://ftp.vim.org/pub/vim/unix/ Vim (6.4) language files (optional) - 540 KB: ftp://ftp.vim.org/pub/vim/extra/ Zlib (1.2.3) - 415 KB: http://www.zlib.net/ Total size of these packages: 148 MB }}} * binutils * gcc * glibc {{{ binutils pass1 [root@localhost tools]# ls -R .: bin i686-pc-linux-gnu include info lib man ./bin: addr2line as gprof nm objdump readelf strings ar c++filt ld objcopy ranlib size strip ./i686-pc-linux-gnu: bin lib ./i686-pc-linux-gnu/bin: ar as ld nm objdump ranlib strip ./i686-pc-linux-gnu/lib: ldscripts ./i686-pc-linux-gnu/lib/ldscripts: elf_i386.x elf_i386.xdc elf_i386.xs elf_i386.xw i386linux.xr elf_i386.xbn elf_i386.xdw elf_i386.xsc i386linux.x i386linux.xu elf_i386.xc elf_i386.xn elf_i386.xsw i386linux.xbn elf_i386.xd elf_i386.xr elf_i386.xu i386linux.xn ./include: ansidecl.h bfd.h bfdlink.h dis-asm.h symcat.h ./info: as.info as.info-2 bfd.info bfd.info-2 configure.info ld.info as.info-1 as.info-3 bfd.info-1 binutils.info gprof.info standards.info ./lib: libbfd.a libbfd.la libiberty.a libopcodes.a libopcodes.la ./man: man1 ./man/man1: addr2line.1 c++filt.1 ld.1 objcopy.1 readelf.1 strip.1 ar.1 dlltool.1 nlmconv.1 objdump.1 size.1 windres.1 as.1 gprof.1 nm.1 ranlib.1 strings.1 }}} {{{ gcc [root@localhost tools]# ls -R .: bin i686-pc-linux-gnu include info lib libexec man share ./bin: addr2line cc gcov ld ranlib strip ar cpp gprof nm readelf as gcc i686-pc-linux-gnu-gcc objcopy size c++filt gccbug i686-pc-linux-gnu-gcc-4.0.2 objdump strings ./i686-pc-linux-gnu: bin lib ./i686-pc-linux-gnu/bin: ar as ld nm objdump ranlib strip ./i686-pc-linux-gnu/lib: ldscripts ./i686-pc-linux-gnu/lib/ldscripts: elf_i386.x elf_i386.xdc elf_i386.xs elf_i386.xw i386linux.xr elf_i386.xbn elf_i386.xdw elf_i386.xsc i386linux.x i386linux.xu elf_i386.xc elf_i386.xn elf_i386.xsw i386linux.xbn elf_i386.xd elf_i386.xr elf_i386.xu i386linux.xn ./include: ansidecl.h bfd.h bfdlink.h dis-asm.h mf-runtime.h symcat.h ./info: as.info bfd.info configure.info gccinstall.info standards.info as.info-1 bfd.info-1 cpp.info gccint.info as.info-2 bfd.info-2 cppinternals.info gprof.info as.info-3 binutils.info gcc.info ld.info ./lib: gcc libiberty.a libmudflap.so.0.0.0 libmudflapth.so.0.0.0 libbfd.a libmudflap.a libmudflapth.a libopcodes.a libbfd.la libmudflap.la libmudflapth.la libopcodes.la libgcc_s.so libmudflap.so libmudflapth.so libgcc_s.so.1 libmudflap.so.0 libmudflapth.so.0 ./lib/gcc: i686-pc-linux-gnu ./lib/gcc/i686-pc-linux-gnu: 4.0.2 ./lib/gcc/i686-pc-linux-gnu/4.0.2: crtbegin.o crtbeginT.o crtendS.o install-tools libgcc_eh.a crtbeginS.o crtend.o include libgcc.a libgcov.a ./lib/gcc/i686-pc-linux-gnu/4.0.2/include: README iso646.h mm_malloc.h root syslimits.h X11 libdevmapper.h mmintrin.h slang unwind.h asm limits.h mozilla-1.7.8 stdarg.h varargs.h emmintrin.h linux openssl stdbool.h xmmintrin.h float.h mm3dnow.h pmmintrin.h stddef.h zutil.h ./lib/gcc/i686-pc-linux-gnu/4.0.2/include/asm: posix_types.h ./lib/gcc/i686-pc-linux-gnu/4.0.2/include/linux: a.out.h ./lib/gcc/i686-pc-linux-gnu/4.0.2/include/mozilla-1.7.8: nspr nss ./lib/gcc/i686-pc-linux-gnu/4.0.2/include/mozilla-1.7.8/nspr: md ./lib/gcc/i686-pc-linux-gnu/4.0.2/include/mozilla-1.7.8/nspr/md: _darwin.h _rhapsody.h _solaris.h ./lib/gcc/i686-pc-linux-gnu/4.0.2/include/mozilla-1.7.8/nss: jzconf.h secport.h ./lib/gcc/i686-pc-linux-gnu/4.0.2/include/openssl: bn.h ./lib/gcc/i686-pc-linux-gnu/4.0.2/include/root: usr ./lib/gcc/i686-pc-linux-gnu/4.0.2/include/root/usr: X11R6 ./lib/gcc/i686-pc-linux-gnu/4.0.2/include/root/usr/X11R6: include ./lib/gcc/i686-pc-linux-gnu/4.0.2/include/root/usr/X11R6/include: X11 ./lib/gcc/i686-pc-linux-gnu/4.0.2/include/root/usr/X11R6/include/X11: Xos.h Xos_r.h Xosdefs.h ./lib/gcc/i686-pc-linux-gnu/4.0.2/include/slang: slang.h ./lib/gcc/i686-pc-linux-gnu/4.0.2/install-tools: gsyslimits.h include macro_list mkheaders.conf ./lib/gcc/i686-pc-linux-gnu/4.0.2/install-tools/include: README iso646.h mm_malloc.h stdarg.h unwind.h emmintrin.h limits.h mmintrin.h stdbool.h varargs.h float.h mm3dnow.h pmmintrin.h stddef.h xmmintrin.h ./libexec: gcc ./libexec/gcc: i686-pc-linux-gnu ./libexec/gcc/i686-pc-linux-gnu: 4.0.2 ./libexec/gcc/i686-pc-linux-gnu/4.0.2: cc1 collect2 install-tools ./libexec/gcc/i686-pc-linux-gnu/4.0.2/install-tools: fixinc.sh fixincl mkheaders ./man: man1 man7 ./man/man1: addr2line.1 c++filt.1 gcc.1 ld.1 objcopy.1 readelf.1 strip.1 ar.1 cpp.1 gcov.1 nlmconv.1 objdump.1 size.1 windres.1 as.1 dlltool.1 gprof.1 nm.1 ranlib.1 strings.1 ./man/man7: fsf-funding.7 gfdl.7 gpl.7 ./share: }}} {{{ lfs:/mnt/lfs/sources/gcc-build$ ../gcc-4.0.2/contrib/test_summary > kk lfs:/mnt/lfs/sources/gcc-build$ vi kk lfs:/mnt/lfs/sources/gcc-build$ cat kk cat <<'EOF' | LAST_UPDATED: Obtained from CVS: -rgcc_4_0_2_release Native configuration is i686-pc-linux-gnu === g++ tests === Running target unix FAIL: g++.dg/template/array14.C (test for excess errors) XPASS: g++.old-deja/g++.other/init5.C execution test === g++ Summary === # of expected passes 11130 # of unexpected failures 1 # of unexpected successes 1 # of expected failures 68 # of unsupported tests 56 /mnt/lfs/sources/gcc-build/gcc/testsuite/../g++ version 4.0.2 === gcc tests === Running target unix XPASS: gcc.dg/vect/vect-22.c scan-tree-dump-times vectorized 3 loops 1 === gcc Summary === # of expected passes 35255 # of unexpected successes 1 # of expected failures 94 # of untested testcases 28 # of unsupported tests 328 /mnt/lfs/sources/gcc-build/gcc/xgcc version 4.0.2 === libmudflap tests === Running target unix FAIL: libmudflap.cth/pass40-frag.c execution test FAIL: libmudflap.cth/pass40-frag.c output pattern test FAIL: libmudflap.cth/pass40-frag.c (-O2) execution test FAIL: libmudflap.cth/pass40-frag.c (-O2) output pattern test FAIL: libmudflap.cth/pass40-frag.c (-O3) execution test FAIL: libmudflap.cth/pass40-frag.c (-O3) output pattern test === libmudflap Summary === # of expected passes 1282 # of unexpected failures 6 === libstdc++ tests === Running target unix XPASS: 22_locale/locale/cons/12658_thread-1.cc execution test === libstdc++ Summary === # of expected passes 3668 # of unexpected successes 1 # of expected failures 13 Compiler version: 4.0.2 Platform: i686-pc-linux-gnu configure flags: --prefix=/tools --with-local-prefix=/tools --enable-clocale=gnu --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-libstdcxx-pch --enable-languages=c,c++ EOF Mail -s "Results for 4.0.2 testsuite on i686-pc-linux-gnu" gcc-testresults@gcc.gnu.org && mv /mnt/lfs/sources/gcc-build/./gcc/testsuite/g++.sum /mnt/lfs/sources/gcc-build/./gcc/testsuite/g++.sum.sent && mv /mnt/lfs/sources/gcc-build/./gcc/testsuite/gcc.sum /mnt/lfs/sources/gcc-build/./gcc/testsuite/gcc.sum.sent && mv /mnt/lfs/sources/gcc-build/./i686-pc-linux-gnu/libmudflap/testsuite/libmudflap.sum /mnt/lfs/sources/gcc-build/./i686-pc-linux-gnu/libmudflap/testsuite/libmudflap.sum.sent && mv /mnt/lfs/sources/gcc-build/./i686-pc-linux-gnu/libstdc++-v3/testsuite/libstdc++.sum /mnt/lfs/sources/gcc-build/./i686-pc-linux-gnu/libstdc++-v3/testsuite/libstdc++.sum.sent && mv /mnt/lfs/sources/gcc-build/./gcc/testsuite/g++.log /mnt/lfs/sources/gcc-build/./gcc/testsuite/g++.log.sent && mv /mnt/lfs/sources/gcc-build/./gcc/testsuite/gcc.log /mnt/lfs/sources/gcc-build/./gcc/testsuite/gcc.log.sent && mv /mnt/lfs/sources/gcc-build/./i686-pc-linux-gnu/libmudflap/testsuite/libmudflap.log /mnt/lfs/sources/gcc-build/./i686-pc-linux-gnu/libmudflap/testsuite/libmudflap.log.sent && mv /mnt/lfs/sources/gcc-build/./i686-pc-linux-gnu/libstdc++-v3/testsuite/libstdc++.log /mnt/lfs/sources/gcc-build/./i686-pc-linux-gnu/libstdc++-v3/testsuite/libstdc++.log.sent && true }}} * 6Àå gcc * /sources/gcc-build/gcc/Makefile * insert -I/usr/include {{{ # Options to use when compiling crtbegin/end. CRTSTUFF_CFLAGS = -O2 $(GCC_CFLAGS) $(INCLUDES) -I/usr/include $(MULTILIB_CFLAGS) -g0 \ -finhibit-size-directive -fno-inline-functions -fno-exceptions \ -fno-zero-initialized-in-bss -fno-unit-at-a-time # The GCC to use for compiling libgcc.a and crt*.o. # Usually the one we just built. # Don't use this as a dependency--use $(GCC_PASSES) or $(GCC_PARTS). GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) ./xgcc -B./ -B$(build_tooldir)/bin/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include -I/usr/include -L$(objdir)/../ld }}} * patch ¾È µÈ °ÍÀ» »ç¿ëÇØ¾ß ÇÔ. === in company === * 6.11 glibc * multibyte study {{{ root:/sources/glibc-build# grep Error glibc-check-log make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored) make[2]: *** [/sources/glibc-build/nptl/tst-attr3.out] Error 1 make[2]: *** [/sources/glibc-build/nptl/tst-clock2.out] Error 1 make[1]: *** [nptl/tests] Error 2 make: *** [check] Error 2 }}} * coreutils * make NON_ROOT_USERNAME=dummy RUN_EXPENSIVE_TESTS=yes check * gettext tar * inetutil think about PAM * perl tar * tar already patch gcc related * util-linux tar === 2006. 1. 23 === * linux from scratch ¸¦ ÀÌ¿ëÇÏ´Â °ÍÀº ¹è¿ì´Â °ÍÀº ¸¹ÀÌ ÀÖ°ÚÁö¸¸, ¿©·¯°¡Áö ¹®Á¦°¡ ÀÖ´Ù. * centos ¸¦ ±â¹ÝÀ¸·Î ÇÏ´Â °ÍÀÌ ÁÁÀ» °Í °°´Ù. * mach ¸¦ ÀÌÇØÇØ¾ß ÇÔ. * ÇÑ±Û ¹®Á¦¸¦ ÀÌÇØÇØ¾ß ÇÔ. * ¾îµð±îÁö¸¦ centos ·Î ÇÏ°í, ¾îµð±îÁö¸¦ »õ·Î ¸¸µé°ÍÀΰ¡? * ¿ì¼± centos ¿¡ gnome ¼³Ä¡¸¦ À§ÇÑ ±âºÐ ÀÛ¾÷À» »ý°¢ÇØ º¸ÀÚ. * gnome ÀÌ¿Ü¿¡ ¼³Ä¡ÇØ¾ß ÇÏ´Â °ÍµéÀº ? * centos ÀÇ core, base ÀÇ dependency graph ¸¸µé °Í * °¢ ÆÐÅ°ÁöÀÇ source ÀÇ dependency graph µµ ¸¸µé °Í * /dev/sda12 centos workstation * /dev/sda13 centos minimal * /dev/sda14 centos base * /dev/sda15 centos dev * minimal °ú base ´Â µ¿ÀÏÇÔ. === structure === {{{ hardware->kernel-modules->kernel->libraries->applications/servers harware(screen,mouse,hard drive,modem...) kernel modules allow the kernel to communicate with hardware the kernel controls the hardware and communicates with libraries libraries contain common functions or logic that program need applications do what you want(edit document,read mail) servers do thing that need to be done without interventions like printing, apache, disk io, swapping there is also a desktop view: video hardware->video kernel modules->kernel->x libs->x server(xfree/xorg)->display manager->window manager x libs include kde,qt and gnome libs. there are tool kits for the window managers to draw widgets and keep track of windows display managers are xdm,gdm,kdm. this allow you to login to the desktop environment like twm,gnome,kde windowmanagers keep track of the windows and give them the 'buttons, 'borders' and 'arrow'. there is also a unix/pc boot process: power on-> bios->kernel->hardware/hard disk detection-> sysv init system->start servers->console login }}} === 2006.4.14 === {{{ binary package source package patch files binary to source source to binary pkg-config distro version binary package dependency source package dependency configure.in, configure.ac dependency binary packages install order source packages install order package's category original source code version distro version }}} * package ºÐ·ù°¡ ÇÊ¿äÇÑ °ÍÀº ¸Â´Â °Í °°Àºµ¥.... === debian packages === * base-installer * Standard system * Desktop environment * Web server * Print server * DNS server * File server * Mail server * SQL database * Laptop