| Solaris :: MapDev. Solaris :: MapDev Perl ¸ðµâ ÀνºÅϽº ¹øÈ£¿Í ÀåÄ¡ À̸§ °£ÀÇÁöµµ°¡ ÀÖ½À´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
Solaris :: MapDev. ¼øÀ§ ¹× ¿ä¾à
- °Ô½ÃÀÚ À̸§:
- Alan Burlison
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~aburlison/
Solaris :: MapDev. ű×
Solaris :: MapDev. ¼³¸í
Solaris :: MapDev Perl ¸ðµâ ÀνºÅϽº ¹øÈ£¿Í ÀåÄ¡ À̸§ »çÀÌÀÇÁöµµ°¡ ÀÖ½À´Ï´Ù. Solaris :: MapDev Perl ¸ðµâ ÀνºÅϽº ¹øÈ£¿Í ÀåÄ¡ À̸§ »çÀÌÀÇ ¸ÊÀÌ Æ÷ÇԵǾî ÀÖ½À´Ï´Ù. Solaris :: MapDev QW (inst_to_dev_to_inst)¸¦ »ç¿ëÇÕ´Ï´Ù. ³» $ disk = inst_to_dev ( "sd0"); MY $ NFS = INST_TO_DEV ( "NFS123"); ³» $ inst = dev_to_inst ( "c0t0d0s0"); mapdev_data_files (path_to_inst => "/ copy / / a / a / path_to_inst", mnttab => "/ of / a / mnttab", dev_ls => { "/ dev / rdsk"=> "ls-lr / of / dev_dsk ","/ dev / rmt "=>"ls-lr / of / dev_rmt "}); MY $ TAPE = INST_TO_DEV ( "ST1");ÀÌ ¸ðµâÀº ÀåÄ¡ ÀνºÅϽº À̸§ (¿¹ : SD0) ¹× / dev Ç׸ñ (¿¹ : C0T0D0) °£ÀÇ µÎ °¡Áö ¹æÇâÀ» ¸ÅÇÎÇÕ´Ï´Ù. '¹Ù´Ò¶ó'SCSI µð½ºÅ©, SSA µð½ºÅ©, A1000, A3000, A3500 ¹× A5000 µð½ºÅ©´Â Å×ÀÌÇÁ ÀåÄ¡ ¹× NFS Mounts.FunctionSINST_TO_DEV ($ insts)¶ó´Â ÀνºÅϽº ($ dev)¸¦ ÁöÁ¤ÇÑ ÀåÄ¡ À̸§ À̸§À» ¹ÝȯÇÕ´Ï´Ù. ÀνºÅϽº À̸§ÀÌ ÁöÁ¤µÈ ¸ðµç ÀνºÅϽº NameGet_DEV_NAMESRETING NameGet_nameNamesReturenDegNet_namesReturn _namesReturn ¸ðµç µð¹ÙÀ̽ºÀÇ Á¤·Ä µÈ ¸ñ·ÏÀº mapDev°¡ ½Ã½ºÅÛÀÇ ÇöÀç "¶óÀ̺ê"ÆÄÀÏÀÌ ¾Æ´Ñ ½ÇÁ¦ µ¥ÀÌÅÍ ÆÄÀÏÀÇ º¹»çº»¿¡ º¸À¯ µÈ µ¥ÀÌÅ͸¦ »ç¿ëÇϵµ·Ï Áö½ÃÇÕ´Ï´Ù. ÀÌ°ÍÀº ¿¹¸¦ µé¾î Ž»ö±â Ãâ·ÂÀ» °Ë»ç ÇÒ ¶§ À¯¿ëÇÕ´Ï´Ù. ÁÖ¿ä °ª ½ÖÀÇ ¸ñ·ÏÀÌ Àμö·Î ¿¹»óµË´Ï´Ù. À¯È¿ÇÑ Å° °ª ½ÖÀº ´ÙÀ½°ú °°½À´Ï´Ù. path_to_inst => "/ a / a / path_to_inst", À¯È¿ÇÑ path_to_inst ÆÄÀÏÀÔ´Ï´Ù. ÀÌ°ÍÀº ÇʼöÀÔ´Ï´Ù. mnttab => "/ copy / of / a / mnttab", À¯È¿ÇÑ / etc / mnttab ÆÄÀÏ. ÀÌ°ÍÀº ¼±Åà »çÇ×ÀÔ´Ï´Ù. ÁöÁ¤ÇÏÁö ¾ÊÀ¸¸é NFS ÀåÄ¡¿¡ ´ëÇÑ Á¤º¸°¡ Ç¥½ÃµÇÁö ¾Ê½À´Ï´Ù. dev_ls => { "/ dir / path"=> "/ ls-lr / of / dir / path", ...}); °æ·Î / µ¥ÀÌÅÍ ÆÄÀÏ ½ÖÀ» Æ÷ÇÔÇÏ´Â ÇؽÃ. °æ·Î´Â / dev / rdsk, / dev / osa / rdsk, / dev / osa / dev / rdsk ¶Ç´Â / dev / rmt Áß Çϳª ¿©¾ßÇÕ´Ï´Ù. µ¥ÀÌÅÍ ÆÄÀÏÀº ÁöÁ¤µÈ µð·ºÅ丮ÀÇ "ls -l"ÀÇ Ãâ·ÂÀ̾î¾ßÇÕ´Ï´Ù. / devÀÇ Àç±Í "ls -rl"ÀÌ Æ÷ÇÔ µÈ ´ÜÀÏ ÆÄÀϵµ ¼ö¿ë ÇÒ ¼ö ÀÖ½À´Ï´Ù .mapdev_system_filesthis´Â mapDEV°¡ ½Ã½ºÅÛÀÇ ÇöÀç "¶óÀ̺ê"µ¥ÀÌÅÍ ÆÄÀÏ »ç¿ëÀ¸·Î µÇµ¹¾Æ °¡±â À§ÇØ µÇµ¹¸®·Á°íÇÕ´Ï´Ù. "mapdev_data_files ()"¿ä±¸ »çÇ× : ¡¤ Perl.
Solaris :: MapDev. °ü·Ã ¼ÒÇÁÆ®¿þ¾î