Linux Gazette #24

    Æí¿ª : Æ÷Ç×°ø´ë ºÐ»êó¸®È¯°æ ¿¬±¸½Ç ±Ç¼ø¼±  
    e-mail : cessi@postech.ac.kr  
     

 

 Copyright ¨Ï1996-98 Specialized Systems Consultants. Inc.
Linux Gazette is a member of the Linux Documentation Project.

 

2¼¾Æ®Â¥¸® ÆÁ ¸î°¡Áö

 

¶Ç ÇϳªÀÇ °£´ÜÇÑ ÆÁ

    Date : Sun 30 Nov 1997 03:48:40 -0800(PST)
    From : Gary Johnson gjohnso@season.com
    ÀÌ¹Ì ÀÌ ÆÁÀ» ¾Ë°í ÀÖ´Â »ç¶÷ÀÌ ÀÖÀ»Áöµµ ¸ð¸£°Ú´Âµ¥, ¾ÆÁ÷ ÀÌ Linux Gazette¿¡ ½Ç¸° ÀûÀÌ ¾ø´Ù¸é ½Ç¾îÁÖ¼¼¿ä.
    »ç¿ëµÇÁö ¾Ê´Â °¡»ó ÄַܼΠȭ¸éÀ» ÀüȯÇϸé È­¸é¿¡ ¾Æ¹« °Íµµ ³ªÅ¸³ªÁö ¾Ê°Ô µÇ°í, Å°º¸µå·Îµµ Á¶ÀÛÇÒ ¼ö ¾ø´Â »óÅ°¡ µË´Ï´Ù. ½ÃÀÛÇÒ ¶§ ´ÙÀ½°ú °°ÀÌ Çغ¸½Ê½Ã¿À.

    setterm -clear > /dev/tty12

    Alt Å°¿Í F12Å°¸¦ µ¿½Ã¿¡ ´©¸£°Å³ª ¿¢½º À©µµ¿ì¸¦ »ç¿ëÇÏ°í ÀÖÀ» ¶§´Â Alt Å°¿Í Ctrl Å°, F12 Å°¸¦ µ¿½Ã¿¡ ´©¸£¸é µË´Ï´Ù. ±× °¡»ó ÄܼÖ(/dev/tty12)¿¡´Â ·Î±×ÀÎ ÇÁ·Î¼¼½º°¡ µ¹¾Æ°¡°í ÀÖÁö ¾Ê±â ¶§¹®¿¡ Ưº°È÷ ÇÏ°í ÀÖ´Â ÀÏÀº ¾ø½À´Ï´Ù.

     

µµ½º ¿¡¹Ä·¹ÀÌÅÍ

    Date : Fri, 5 Dec 1997 00:55:55 -500
    From : Joey Hess Joey@kitenet.net
    ³ª´Â ÁÁ¾ÆÇÏ´Â °ÔÀÓÀ» Çϱâ À§Çؼ­ µµ½º ¿¡¹Ä·¹ÀÌÅ͸¦ °¡²û ¾²°ï ÇÕ´Ï´Ù. ±×·¯³ª C:¡¬>ÇÁ·ÒÇÁÆ®´Â Á¤¸» ½È¾îÇÏÁÒ. ±×·¡¼­ »ý°¢Çϱ⸦ µµ½º ¿¡¹Ä·¹ÀÌÅÍ°¡ ½ÃÀÛÇÒ ¶§¿¡ ƯÁ¤ÇÑ ¸í·É¾î¸¦ ½ÇÇàÇϵµ·Ï ÇÏ°í ½Í¾î¼­ ¹æ¹ýÀ» »ý°¢Çس½À´Ï´Ù. Áö±Ý º¸¿©µå¸®´Â ÆÞ ½ºÅ©¸³Æ®°¡ ¹Ù·Î ±×·¯ÇÑ ¿ªÇÒÀ» ÇÏÁÒ. ¸Ç À­ºÎºÐÀÇ ÁÖ¼®À» Àß º¸¼¼¿ä. µµ½º ÂÊ¿¡¼­ ÇØÁÖ¾î¾ß ÇÒ ÀÏÀ» ¾ê±âÇÏ°í ÀÖ½À´Ï´Ù. ±âº»ÀûÀÎ ¾ÆÀ̵ð¾î´Â Ȩ µð·ºÅ丮¿¡ dos_do.bat¶ó´Â ÆÄÀÏÀ» ¸¸µé¾î µÎ°í ±× ÆÄÀÏ¿¡ µµ½º ¿¡¹Ä·¹ÀÌÅÍ°¡ ½ÇÇàÇϱ⸦ ¿øÇÏ´Â ¸í·ÉµéÀ» Àû¾îÁØ ´ÙÀ½, lredirÀ» ÀÌ¿ëÇؼ­ µµ½º ¿¡¹Ä·¹ÀÌÅÍ°¡ ½ÇÇàÇÒ ¶§¿¡ Ȩ µð·ºÅ丮¿¡¼­ ±× ÆÄÀÏÀ» ãÀ» ¼ö ÀÖµµ·Ï ÇÏ´Â °ÍÀÌÁÒ.

    #!/usr/bin/perl
    # # This runs dosemu.#
    # Any parameters specified after "-" will be passed in to dosemu to be
    # run as dos commands.
    #
    # Setup : add to autoexec.emu:
    #     lredir.com h: linux¡¬fs¡¬$(home)
    #     if exist h:¡¬dos_do.bat call h:¡¬dos_do.bat#
    # GPL Copyright 1996, 1997 Joey Hess
    # Split params into dosemu parameters and dos commands.
    while ($a=shift @ARGV) {
         if ($a=~m/-/ ne undef) {last}
         $dosemu_command_line.="$a ";}
    $dos_command_line=join(' ',@ARGV);
    $dos_command_line=~s/;/¡¬r¡¬n/g;

    open (OUT," >$ENV{HOME}/dos_do.bat" ) || exit print
    "$ENV{HOME}/dos_do.bat:
    $!";
    if ($dos_command_line) {
         print OUT "$dos_command_line¡¬r¡¬n"; # note dos CR LF
         print OUT "Exitemu¡¬r¡¬n";
         }
    close OUT;
    system "/usr/bin/dos $dosemu_command_line";
    unlink "$EVN{HOME}/dos_do.bat";

    Re: "find¸¦ »ç¿ëÇؼ­ ¿øÇÏ´Â °ÍÀ» ã¾Æ³»±â"
    Date : Wed, 03, Dec 1997 16:03:30 +0100
    From : Mike Neuhauser mike@gams.co.at
    Jon Rabone,
    jkr@camcon.co.uk ¾¾°¡ Áö³­ ¹ø 12¿ùÈ£ Linux Gazette¿¡¼­ ´ÙÀ½°ú °°ÀÌ ½è½À´Ï´Ù.

     

find¸¦ ÀÌ¿ëÇÏ¿© ¿øÇÏ´Â °Í ã¾Æ³»±â

    1997³â 10¿ùÀÚ Linux Gazette¿¡¼­ Dave Nelson¾¾´Â grepÀÌ ¿øÇÏ´Â ¹®ÀÚ¿­À» Æ÷ÇÔÇÏ´Â ÆÄÀÏÀ» ³ªÅ¸³¾ ¼ö ÀÖµµ·Ï ´ÙÀ½°ú °°ÀÌ Á¦¾ÈÇß¾úÁÒ.

    find . -type f -exec grep "string" /dev/null {} ¡¬;

    ÀÌ°ÍÀº ¸ðµç ÆÄÀÏ¿¡ ´ëÇؼ­ grepÀ» ½ÇÇàÇϴµ¥ ¿©±â ´õ ª°íµµ È¿°úÀûÀÎ ¹æ¹ýÀÌ ÀÖ½À´Ï´Ù.

    grep "string" 'find . -type f

    ÁÖÀÇÇÒ °ÍÀº Á¶°Ç¿¡ ¸Â´Â ÆÄÀÏÀÇ °³¼ö°¡ ¸¹À» °æ¿ì ½©ÀÇ ¸í·ÉÇà ¹öÆÛÀÇ ¹üÀ§¸¦ ¹þ¾î³ª¹Ç·Î ¹®Á¦°¡ »ý±æ ¼öµµ ÀÖ´Ù´Â °ÍÀÔ´Ï´Ù.

    ¸í·ÉÇà ¹öÆÛÀÇ ¿À¹öÇ÷ο츦 ¹æÁöÇϱâ À§Çؼ­ ´ÙÀ½°ú °°ÀÌ ÇϽʽÿÀ.

    find . -type f | xargs grep "string"

    ÀÌ ¹æ¹ýÀº ÆÄÀÏ À̸§¿¡ °ø¹éÀÌ µé¾î°¥ °æ¿ì(touch "test file"À» ½ÇÇàÇÏ°í 'ls'·Î È®ÀÎÇØ º¸½Ê½Ã¿À) ¹®Á¦°¡ »ý±æ ¼ö ÀÖ½À´Ï´Ù. ÀÌ·¯ÇÑ ¹®Á¦¸¦ ÇØ°áÇϱâ À§Çؼ­´Â

    find . -type f -print0 | xargs -0 grep "string"

    find´Â ½Éº¼¸¯ ¸µÅ©µÈ µð·ºÅ丮¿¡ ´ëÇؼ­´Â ±âº»ÀûÀ¸·Î °Ë»öÀ» ½Ç½ÃÇÏÁö ¾ÊÀ¸´Ï -follow ¿É¼ÇÀ» »ç¿ëÇØ¾ß ÇÒ °æ¿ìµµ ÀÖ´Ù´Â °ÍÀ» ¾Ë¾ÆµÎ¼¼¿ä.

     

Re:find¸¦ ÀÌ¿ëÇؼ­ ¿øÇÏ´Â °ÍÀ» ã¾Æ³»±â

    Data : 5 Dec 1997 17:47:50 -0000
    From : Dale K. Hawkins khawkins@mines.edu
    Á¦°¡ »ç¿ëÇÏ°í ÀÖ´Â ¹æ¹ýÀº ´ÙÀ½°ú °°½À´Ï´Ù.

    find . -type f -exec grep "string" /div/null {} ¡¬;

    ±×·±µ¥ Á¦ Ä£±¸°¡ ´ÙÀ½°ú °°Àº ¹æ¹ýÀ» ¾Ë·Á ÁÖ´õ±º¿ä. ¸Å¿ì ÁÁÀº ¹æ¹ýÀ̾ú½À´Ï´Ù.

    find . -type f | xargs fgrep "string" /dev/null

    ÀÌ ¹æ¹ýÀº ¸Å¹ø »õ·Î¿î grep  ÇÁ·Î¼¼½º¸¦ »ý¼ºÇÏÁö ¾Ê¾Æµµ µÈ´Ù´Â ÀåÁ¡ÀÌ ÀÖÁÒ. ±×·±µ¥ Á¤¸» ºü¸£°íµµ ±³¹¦ÇÑ ¹æ¹ýÀÌ ÀÖ½À´Ï´Ù. ´ÙÀ½°ú °°ÀÌ Çغ¸¼¼¿ä.

    locate $PWD | grep "$PWD" | xargs fgrep "string" /dev/null

    ÀÌ ¹æ¹ýµµ ±¦Âú±ä ÇÏÁö¸¸ grepÀÌ ¸Å¹ø ½ÇÇàµÇ°í, µð·ºÅ丮¿¡ ´ëÇؼ­±îÁö grepÀÌ ½ÇÇàµÈ´Ù´Â ´ÜÁ¡ÀÌ ÀÖÁÒ.

    locate $PWD | grep "$PWD" |xargs -ifilename sh -c ¡¬
      "if [ -f filename ]; then echo filename; fi "|¡¬
    xargs fgrep "string" /dev/null

    Á¦ ±ÛÀ» ÀÐÀ¸½Ã´Â µ¶Àںе鲲 : lesspipe.shÀÌ ¼³Ä¡µÇ¾î ÀÖ´Ù¸é Çѹø º¸¼¼¿ä.

     

find·Î ¿øÇÏ´Â °ÍÀ» ã¾Æ³»±â ¼¼ ¹ø° À̾߱â

    Data : Thu, 11 Dec 1997 17:12:46 +100(MET)
    From : Axel Dietrich Axel.Dietrich@newroinformatik.ruhr-uni-bochum.de
    Linux Gazette 1997³â 10¿ù È£¿¡¼­ Dave Nelson¾¾´Â

    find . -type f -exec grep "string" /dev/null {} ¡¬;

    À» ±ÇÀåÇß¾ú½À´Ï´Ù.
    Jon Rabone¾¾ÀÇ "´õ ª°íµµ È¿°úÀûÀÎ" ¹æ¹ýÀº ´ÙÀ½°ú °°½À´Ï´Ù.

    grep "string" 'find . -type '

    ´ÙÀ½°ú °°Àº ¹æ¹ýÀº ¸í·ÉÇà ¹öÆÛÀÇ ¿À¹öÇÃ·Î¿ì °ÆÁ¤À» ÇÒ ÇÊ¿ä¾øÀÌ »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù.

    find . -type f -exec grep -l"string" {}¡¬;

    '-l' ¿É¼ÇÀº grepÀÌ "string"À» Æ÷ÇÔÇÏ´Â ÆÄÀϸíÀ» ³ªÅ¸³»µµ·Ï ÇØÁÝ´Ï´Ù. ÀÌ·± ½ÄÀÇ °Ë»öÀ» ƯÁ¤ ÆÄÀϵ鿡 ´ëÇؼ­ ÇàÇϱâ À§Çؼ­ Àú´Â -type°ú -name ¿É¼ÇÀ» ¾²ÁÒ. ´ÙÀ½°ú °°ÀÌ ¸»ÀÌÁÒ.

    find . ¡¬(-type f -name "*¡¬.html"¡¬) -exec grep -l "string" {}¡¬;

    ÀÌ°ÍÀº htmlÀÇ È®ÀåÀÚ¸¦ °¡Áö´Â ¸ðµç ÆÄÀÏ¿¡ ´ëÇؼ­ "string"À» Æ÷ÇÔÇÏ´ÂÁö ¾Ë¾Æº¸°í Æ÷ÇÔÇÏ°í ÀÖ´Â ÆÄÀϸíÀ» Ãâ·ÂÇØÁÝ´Ï´Ù.

    /Axel

     

find¿¡ °üÇØ Á» ´õ ¾Ë¾Æº¼±î¿ä?

    Date : Tue, 16 Dec 1997 14:12:57 + 100(MET)
    From : Alexander Larsson
    alla@lysator.liu.se
    1997³â 12¿ùÀÚ Linux Gazette¿¡¼­ Jon Rabone¾¾´Â ´ÙÀ½°ú °°ÀÌ ¸»Çß¾úÁÒ.

    ÀÌ°ÍÀº °¢°¢ÀÇ ÆÄÀÏ¿¡ ´ëÇؼ­ grepÀ» ½ÇÇàÇϴµ¥ Á» ´õ ª°í °£´ÜÇÑ ¹æ¹ýÀÌ ÀÖ½À´Ï´Ù.

    grep "string" find . -type f

    ±×·±µ¥ ¾Ë¾ÆµÎ¾î¾ß ÇÒ °ÍÀº Á¶°Ç¿¡ ¸Â´Â ÆÄÀϵéÀÌ ¸¹Àº °æ¿ì ¸í·ÉÇà ¹öÆÛ°¡ ¿À¹öÇ÷οìµÉ ¼öµµ ÀÖ´Ù´Â °ÍÀÔ´Ï´Ù.

    À̰ͺ¸´Ù Á¶±Ý ´õ ÁÁÀº ¹æ¹ýÀÌ ÀÖÁÒ.

    find . -type f | xargs grep "string"

    ÀÌ ¹æ¹ýÀº ¸í·ÉÇà ¹öÆÛ°¡ °¡µæ Âû ¶§¸¶´Ù »õ·Î¿î grep ÇÁ·Î¼¼½º¸¦ ½ÇÇàÇØÁÝ´Ï´Ù.

     

find¸¦ ÀÌ¿ëÇÏ´Â ¶Ç ÇϳªÀÇ ¹æ¹ý

    Date : Sat, 27 Dec 1997 12:06:47 -0500
    From : rchandra@letter.com
    Áö±Ý ³íÀǵǰí ÀÖ´Â "¾î¶»°Ô ¼­ºêµð·ºÅ丮¿¡ ÀÖ´Â ÆÄÀϵ鿡 ´ëÇؼ­ grepÀ» ½ÇÇàÇØÁÙ ¼ö Àִ°¡?"ÇÏ´Â ¹®Á¦¿¡ °üÇÑ ¿©·¯ °¡Áö ¹æ¹ýµéÀº ¸Å¿ì À¯¿ëÇϱä ÇÏÁö¸¸ °Ë»öÀ» ½Ç½ÃÇÏ´Â µð·ºÅ丮¿¡ ¹ÙÀ̳ʸ® ÆÄÀÏÀÌ ÀÖÀ» °æ¿ì¿¡´Â Å͹̳ÎÀ» Á¦¾îÇÏÁö ¸øÇÏ´Â ¹®Á¦°¡ »ý±æ ¼öµµ ÀÖ½À´Ï´Ù. ¿Ö³ÄÇÏ¸é ¹ÙÀ̳ʸ® ÆÄÀÏÀÇ ¸î¸î Á¦¾î ¹®ÀÚµé(Control Characters)ÀÌ Å͹̳ÎÀ» ±×·¡ÇÈ ¸ðµå·Î ¹Ù²ã³õÀ» ¼ö Àֱ⠶§¹®ÀÔ´Ï´Ù. ¹°·Ð ÀÌ·¸°Ô µÇ¾úÀ» °æ¿ì Å͹̳ÎÀ» ´Ù½Ã ¹Ù·ÎÀâ´Â ¹æ¹ýÀÌ ÀÖ±ä ÇÏÁö¸¸ ¾Æ¹«·¡µµ °¡Àå ÁÁÀº ¹æ¹ýÀº ±×·¯ÇÑ ÀÏÀÌ ¾øµµ·Ï óÀ½ºÎÅÍ ¹æÁöÇÏ´Â °ÍÀÌ °¡Àå ÁÁ°ÚÁÒ.
    ÀÌÁ¦ È­¸é¿¡ ÂïÇô³ª¿Ã ¼ö ¾ø´Â ¹®ÀÚµéÀ» ¸ðµÎ ¾ø¾Öº¾½Ã´Ù. ¾î·µç ÀÐÀ» ¼ö´Â ¾øÁö¸¸ ´ÙÀ½°ú °°Àº ¸í·ÉÀ» ³»·Áº¸¼¼¿ä.

    sed -e 's/[^-~][^-~]*//g'

    ÀÌ ¸í·ÉÀº È­¸é¿¡ Ãâ·ÂµÉ ¼ö ¾ø´Â (Á¦¾î) ¹®ÀÚµéÀ» ±×³É ½ºÆäÀ̽ºµé·Î ¹Ù²ã ¹ö¸³´Ï´Ù. ÀÌ ¸í·ÉÀº ÆÄÀÌÇÁ¸¦ ÀÌ¿ëÇÏ¿© ½±°Ô ´Ù¸¥ ¸í·É¾îµé°ú °áÇÕÇؼ­ »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù. ¿©±â °£´ÜÇÑ ½© ½ºÅ©¸³Æ®°¡ ÀÖ½À´Ï´Ù. Àú´Â ÀÌ°ÍÀº grepfind¶ó°í À̸§ºÙ¿©¼­ »ç¿ëÇÏ°í ÀÖÁÒ.

    #!/bin/sh
    #save this in a file called grepfind and do a "chmod 755 grepfind"
    #
    if test $@ = 0 -o "$1" = "-h" -o "$1" = "-help" ; then
    echo 'grepfind  ¦¡ recursively descends directories and egrep all files '
    echo
    echo 'Usage: grepfind [-help][-h](start_directory] egrep_search_pattern'
    echo
    echo 'The surrent directory is used as start_directory if parameter'
    echo 'start_directory is omitted. The search is case insensitive.'
    echo 'Multiple occurrences of control characters are replaced by a single'
    echo 'space. This makes it possible to grep around in files that contain'
    echo 'binary data and strings without setting the terminal accidently'
    echo 'to graphics mode.'
    echo
    echo 'Example : grepfind/home "hello world"
    else
    if ["$2" = "" ];then
    find . -type f -exec egrep -i "$1" /dev/null {} ¡¬;|sed -e 's/[^-~][^-~]*//g'
    else
    if [-d "$1" ] ;then
      find $1 -type f -exec egrep -i "$2" /dev/null {} ¡¬;|sed -e 's/[^-~][^-~]*//g'
    else
      echo "ERROR: $1 is not a directory"
    fi
    fi
    fi
    #_END_OF_grepfind

     

RE: µµ¿ÍÁÖ¼¼¿ä

    Date : Sun, 7 Dec 1997 14:25:25 +0100(MET)
    From : Roland Smith
    rsmith@ibm.net

    Javier¾¾¿¡°Ô,
    ´ç½ÅÀÇ Áö³­ ¹ø Linux Gazette ±â»ç¿¡ ´ëÇÑ ´ä½ÅÀÔ´Ï´Ù.
    ´ç½ÅÀº MOZILLA(³Ý½ºÄÉÀÌÇÁ)°¡ ÀúÀåµÇ¾î ÀÖ´Â µð·ºÅ丮¿¡ ´ëÇÑ È¯°æº¯¼ö¸¦ ¼³Á¤ÇÏ¿©¾ß ÇÑ´Ù°í Çϼ̾úÁÒ.
    µÎ°¡Áö ¹æ¹ýÀÌ ÀÖ½À´Ï´Ù.
    'export MOZILLA_HOME=/usr/local/netscape'À» ÄÄÇ»ÅÍ°¡ ¸Å¹ø ½ÃÀÛµÉ ¶§¸¶´Ù ½ÇÇàÇØÁְųª ȤÀº /etc/profileÆÄÀÏÀ» ¼öÁ¤ÇÏ¸é µË´Ï´Ù. ÀÌ°ÍÀº bash½©ÀÌ ½ÃÀÛµÉ ¶§ Àоî¿À´Â ÆÄÀÏÀÔ´Ï´Ù. ÀÌ ÆÄÀÏ¿¡ ´ÙÀ½°ú °°Àº ³»¿ëÀ» Ãß°¡Çϼ¼¿ä.(³Ý½ºÄÉÀÌÇÁ´Â /usr/local/netscape µð·ºÅ丮¿¡ ¼³Ä¡µÇ¾î ÀÖ´Ù°í °¡Á¤ÇÕ´Ï´Ù.)

    MOZILLA_HOME=/usr/local/netscape
    export MOZILLA_HOME

    ¶ÇÇÑ À©µµ¿ì ¸Å´ÏÀúÀÇ ¼³Á¤ ÆÄÀÏ¿¡µµ ³Ý½ºÄÉÀÌÇÁÀÇ ½ÇÇà ÆÄÀÏÀÇ À§Ä¡¸¦ ¾Ë·ÁÁÖ¾î¾ß ³Ý½ºÄÉÀÌÇÁ¸¦ À©µµ¿ì ¸Å³ÊÀÚ°¡ »ç¿ëÇÏ´Â Åø¹Ù³ª ¸Þ´º¿¡¼­ °ð¹Ù·Î ÀÌ¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù. ÀÌ°ÍÀº »ç¿ëÇÏ´Â À©µµ¿ì ¸Å´ÏÀú¿¡ µû¶ó Ʋ¸®ÁÒ. ¸¸¾à FVWM2-95¸¦ »ç¿ëÇÏ½Å´Ù¸é ´ÙÀ½°ú °°Àº ³»¿ëÀ» Ȩ µð·ºÅ丮¿¡ ÀÖ´Â .fvwm2rc95ÆÄÀÏ¿¡ Ãß°¡ÇØÁÖ¼¼¿ä.

    #add to this menu
    AddMenu "Utilities" Titel
    + "Netscape%mini-ascape.xpm% Exec netscape -geometry
    931x683+54+9 &

     

»ç¿ëÇÏÁö ¾Ê´Â Çϵåµð½ºÅ© ȸÀü ¼Óµµ ÁÙÀ̱â

    Date : Mon, 08 Dec 1997 14:21:31 -0500
    From : Peter S Galbraith galbraith@mixing.qc.dfo.ca
    Linux Gazette 12¿ùÈ£ ±â»ç Áß ÇÏµå µð½ºÅ©ÀÇ È¸Àü ¼Óµµ¸¦ ÁÙÀ̱â À§Çؼ­ hdparm ¸í·ÉÀ» »ç¿ëÇÏ´Â ¹æ¹ýÀÌ ÀÖ¾úÁÒ. ÀÌ°ÍÀ» Á¦ ¿À·¡µÈ SCSI ÇÏµå µð½ºÅ©¿¡ ´ÙÀ½°ú °°ÀÌ Àû¿ëÇغ¸¾Ò½À´Ï´Ù.
    ¾ÈŸ±õ°Ôµµ SCSI ÇÏµå µð½ºÅ©¿¡´Â hdparm ¸í·ÉÀÌ ÀÛµ¿ÇÏÁö ¾Ê´Â±º¿ä. (¸Þ´º¾ó ÆäÀÌÁö¿¡µµ ³ª¿ÍÀÖÁö ¾ÊÀº °Ô Âü ÀÌ»óÇÏÁÒ?)

    bash-2.01#hdparm -S6 /dev/sdb

    /dev/sdb;
    operation not supported on SCSI disks

     

    º¸¾È ½ºÅ©¸³Æ®

     

     

     

     

     

     

     


     

 

homeÀ¸·Î...