Ä¿ÇÇÇâÀÌ ³ª´Â *NIX
Ä¿ÇǴнº
½Ã½ºÅÛ/³×Æ®¿÷/º¸¾ÈÀ» ´Ù·ç´Â °÷
*
HanIRCÀÇ #coffeenix ¹æ
[
Àåºñ ¹× ȸ¼± ÈÄ¿ø
]
> Forum <
IT ÀÏÁ¤
N
e
w
!
ÀÚµ¿È ÇÁ·ÎÁ§Æ®
HOME
>
½Ã½ºÅÛ °ü¸® / ¼¹ö¿î¿µ
>
µð½ºÅ© °ü¸® / ÆÄÀϽýºÅÛ / mount
µµ¿ò¸»
°Ë»ö :
»çÀÌÆ®
WHOIS
À¥¼¹ö Á¾·ù
¸®´ª½º¿¡¼ NTFS ÆÄÀϽýºÅÛ ÀÐ°í ¾²±â
ÀÛ¼ºÀÏ : 2003/11/11 01:05
±Û¾´ÀÌ : ÁÁÀºÁøÈ£ (
http://coffeenix.net/
)
Á¶È¸¼ö : 15304
[
ÀÌÀüȸé
/
¼öÁ¤
] ºñ¹Ð¹øÈ£ :
ÀÛ¼ºÀÚ : ÁÁÀºÁøÈ£(truefeel,
http://coffeenix.net/
)
ÀÛ¼ºÀÏ : 2003.11.09(ÀÏ)
¸®´ª½º Ä¿³Î¿¡´Â ½ÇÇèÀûÀ¸·Î NTFS ÆÄÀϽýºÅÛ¿¡ ¾µ ¼ö ÀÖµµ·Ï ÇÏ°í ÀÖÀ¸³ª Ȥ½Ã ¹ß»ýÇÒ ¼öµµ ÀÖ´Â
¹®Á¦ ¶§¹®¿¡ »ç¿ëÇÏ´Â À̵éÀº ¸¹Ä¡ ¾ÊÀ»°Å¶ó »ý°¢µÈ´Ù.
ÀÌ·± °ÆÁ¤À» ÇÒ ÇÊ¿ä¾øÀÌ Ä¿³Î¿¡¼ Áö¿øÇÏ´Â ¾²±â ¸ðµâÀ» ÀÌ¿ëÇÏÁö ¾Ê°í »ö´Ù¸¥ ¹æ¹ýÀ¸·Î NTFSÀ»
´Ù·ç´Â ¹æ¹ý(10¿ù °ø°³ÀûÀ¸·Î ¹ßÇ¥µÈ Åø)ÀÌ ³ª¿Ô´Ù.
Jan Kratochvil¾¾°¡ ¸¸µç Captive ÇÁ·Î±×·¥Àº À©µµ¿ìÁî NT(XP) Ä¿³Î ¿¡¹Ä·¹À̼ÇÀ» ÅëÇØ NTFS ÆÄÀÏ
½Ã½ºÅÛÀ» ¸®´ª½º¿¡¼ ÀÚÀ¯ÀÚÀç·Î ÀÐ°í ¾µ ¼ö ÀÖµµ·Ï ÇÏ°í ÀÖ´Ù. ¿¡¹Ä·¹À̼ÇÇÏ´Â °ÍÀ̶ó XP¿¡ ¼³Ä¡µÈ
ntoskrnl.exe¿Í ntfs.sys ÆÄÀÏÀÌ ¹Ýµå½Ã ÇÊ¿äÇÏ´Ù.
1. Captive ¼³Ä¡ (redhat±âÁØÀ̳ª º°¹Ý Â÷ÀÌ ¾øÀ» °ÍÀÌ´Ù.)
* Captive ȨÆäÀÌÁö :
http://www.jankratochvil.net/project/captive/
Redhat 8°ú 9, Mandrake 9.x, Suse 9.0, Debian µî ¿©·¯ ¹èÆ÷º»º° ÆÐÅ°Áö¿Í ¼Ò½º¸¦ Á¦°øÇÑ´Ù.
1) Captive ¼³Ä¡Àü¿¡ NTFS ÇÁ·ÎÁ§Æ®(
http://linux-ntfs.sourceforge.net/downloads.html#downloads
)
Ȩ¿¡¼ ntfsprogs (ÇöÀç ntfsprogs-1.8.0beta2-1.i386.rpm )À» ¹Þ¾Æ ¼³Ä¡ÇÑ´Ù.
2) Captive ȨÆäÀÌÁö¿¡¼ ´ÙÀ½À» ¹Þ¾Æ ¼³Ä¡ÇÑ´Ù.
captive-1.0.2-0.i386.rpm (397.6KB)
captive-lufs-1.0.2-0.i386.rpm (22.5KB)
captive-install-1.0.2-0.i386.rpm (57.3KB)
lufs-0.9.6-1captive6.i386.rpm (1.6MB)
gnome-vfs-httpcaptive-2.3.8captive2-0.i386.rpm (36.6KB)
ntfsprogs-gnomevfs-1.0.2-0.i386.rpm (11.8KB)
#
rpm -ivh *.rpm
LUFS(Linux Userland File System)À» »ç¿ëÇϱ⠶§¹®¿¡ À§¿¡¼ º¸´Â °Íó·³ lufs ÆÐÅ°Áö(lufs.o
Ä¿³Î ¸ðµâÀÌ Æ÷ÇԵǾî ÀÖÀ½)ÀÌ ÇÊ¿äÇÏ´Ù.
Âü°í·Î LUFS´Â FTP³ª SSH, ±×´©ÅÚ¶ó µîÀ» ¸¶¿îÆ®Çؼ ·ÎÄà ÆÄÀÏó·³ »ç¿ëÇÒ ¼ö ÀÖµµ·Ï ÇØÁØ´Ù.
3) captive-install-acquire À» ½ÇÇàÇϸé â Çϳª°¡ ¶ã °ÍÀÌ´Ù.
NTFS ÆÄÀϽýºÅÛ±îÁö µÚÁ®°¡¸é¼ ntfs.sys¿Í ntoskrnl.exeÀ» ã´Â´Ù. ±×·¯³ª ÀúÀÇ °æ¿ì
ntoskrnl.exe ÆÄÀÏÀÌ ºÐ¸íÈ÷ Á¸ÀçÇϴµ¥ ¹¹°¡ ¹®Á¦ÀÎÁö ãÁö ¸øÇß´Ù. ±×·¡¼ captive°¡ driver
¸¦ ÀúÀåÇصδ /var/lib/captive µð·ºÅ丮¿¡ Á÷Á¢ º¹»çÇØ ³Ö¾ú´Ù.
ÀÌÁ¦ ¼³Ä¡´Â ³¡³µ´Ù.
captive »ç¿ëÀÚ°¡ »ý¼ºµÇ¾î ÀÖ°í
/etc/fstab´Â captive-install rpm ¼³Ä¡ÇÒ ¶§ ÀνÄÇÑ ÆÄƼ¼Ç Á¤º¸°¡ Ãß°¡µÇ¾î ÀÖÀ» °ÍÀÌ´Ù.
/dev/hdb2 /mnt/captive-hdb_download captive-ntfs defaults,noauto 0 0
/dev/hda1 /mnt/captive-c_linux captive-ntfs defaults,noauto 0 0
¸¶¿îÆ® Æ÷ÀÎÅͷΠǥ½ÃµÈ hdb_download, c_linux´Â Captive°¡ ÀνÄÇÑ HDDÀÇ º¼·ý¸íÀÌ´Ù.
¹°·Ð /mnt ¾Æ·¡¿¡µµ ¸¶¿îÆ®ÇÒ µð·ºÅ丮°¡ ÀÌ¹Ì »ý¼ºµÇ¾î ÀÖ´Ù.
2. NTFS ÆÄÀϽýºÅÛ ´Ù·ç±â
/etc/fstab¿¡ ÀÌ¹Ì ¼³Á¤µÇ¾î ÀÖÀ¸¹Ç·Î °£´ÜÈ÷ 'mount /dev/µð¹ÙÀ̽º¸í' Çصµ ÀÐ°í ¾µ ¼ö
ÀÖ´Â ÇüÅ·Π¸¶¿îÆ®µÈ´Ù. óÀ½ ¸¶¿îÆ®ÇÒ ¶§´Â ÄÄÆÄÀÏ °úÁ¤ÀÌ ÇÊ¿äÇϹǷΠ½Ã°£ÀÌ °É¸± °ÍÀÌ´Ù.
( mount -t captive-ntfs /dev/hdb2 /mnt/¸¶¿îÆ®ÇÒ_µð·ºÅ丮¸í )
#
mount /dev/hdb2
Captive NTFS v1.0.2. Check new version:
http://www.jankratochvil.net/
#
cd /mnt/captive-hdb_download
#
cp ~/ntfs_rw.txt .
#
ls -l
ÇÕ°è 1
drwx------ 1 root root 0 7¿ù 13 12:01 ?????? <-- ÇÑ±Û ÆÄÀϸí
drwx------ 1 root root 0 7¿ù 12 17:16 System Volume Information
drwx------ 1 root root 0 9¿ù 27 11:47 WUTemp
... Áß·« ...
-rw------- 1 root root 6122 11¿ù 9 22:57 ntfs_rw.txt
#
mount
... Áß·« ...
/dev/hdb2 on /mnt/captive-hdb_download type captive-ntfs (owner=0,fs=captivefs,mntent.mnt
fsname=/dev/hdb2,mntent.mnt_type=captive-ntfs,dir_cache_entries=0,image=/dev/hdb2,noauto,
aptive_options=--disk;--rw;--load-module=/var/lib/captive/ntoskrnl.exe;--filesystem=/var/
ib/captive/ntfs.sys;--sandbox-server=/usr/sbin/captive-sandbox-server;--bug-pathname=/var
lib/captive/bug-%FT%T.captivebug.xml.gz;--syslog;--rw,server_socket=/tmp/lufsd812572323,s
rver_pid=19268)
* captive-ntfs : ¸¶¿îÆ® ŸÀÔ
* --rw : Àб⠾²±â ÇüÅ·Î
* --load-module=/var/lib/captive/ntoskrnl.exe
* --sandbox-server=/usr/sbin/captive-sandbox-server : NTFS ¾×¼¼½ºÇϵµ·Ï ÇØÁÖ´Â wrapper
¸¶¿îÆ®ÇϰԵǸé Ç×»ó sandbox server ÇÁ·Î¼¼½º°¡ ¶ç¿öÁ® ÀÖ´Ù.
* --bug-pathname=/var/lib/captive/bug-%FT%T.captivebug.xml.gz
¹ö±×·¯Æ÷ÆÃÀÌ ÀúÀåµÇ´Â °æ·Î. »ó´çÈ÷ Å« ÆÄÀÏÀÌ´Ù.
3. ¹®Á¦Á¡À» Çϳª¾¿ »ìÆ캸ÀÚ.
±×·¯³ª ÀÌ °Í ¶ÇÇÑ ¿©·¯ ¹®Á¦Á¡ÀÌ ÀÖ´Ù.
¹®Á¦Á¡¿¡ ºñÇÏ¸é ½±°Ô ÀÐ°í ¾µ ¼ö ÀÖ´Ù´Â°Ô ´õ ¸Å·ÂÀûÀÌÁö¸¸.
1) ÀÌ¹Ì ¾Ë·ÁÁø ¹®Á¦·Î ÇѱÛÀ» Æ÷ÇÔÇÑ ¿©·¯ ¾ð¾îÀÇ ÆÄÀϸíÀ» Ç¥½ÃÇÏÁö ¸øÇÑ´Ù. À§ÀÇ ¸ñ·Ï¿¡¼µµ
??? ·Î Ç¥½ÃµÈ °ÍÀ» È®ÀÎÇÒ ¼ö ÀÖ´Ù. (¿É¼Ç »ç¿ëÇصµ ÀÇ¹Ì ¾øÀ½)
2) ¾ÆÁ÷Àº À©µµ¿ìÁî XP µå¶óÀ̹ö¸¸ ȣȯ¼ºÀ» °®´Â´Ù. ¾ÕÀ¸·Î À©µµ¿ìÁî 2000, NT 4.0, 2003 ¼¹ö
µå¶óÀ̹öµµ ȣȯÀ» °®µµ·Ï ÇÒ °èȹÀ̶ó°í ÇÑ´Ù.
ÀÌ ¸»ÀÌ XP µå¶óÀ̹ö¸¦ ÀÌ¿ëÇÏ¿© À©µµ¿ìÁî 2000ÀÇ NTFS ÆÄÀϽýºÅÛÀ» ¾×¼¼½º ÇÒ ¼ö ¾ø´Ù´Â
Àǹ̴ ¾Æ´Ñ °Í °°´Ù.
3) NTFS ÆÄÀϽýºÅÛ ¾×¼¼½ºÇÒ ¶§ ½Ã½ºÅÛ ·Îµå¸¦ ¸¹ÀÌ Àâ¾Æ ¸Ô´Â °æ¿ì°¡ Á¾Á¾ »ý±ä´Ù.
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
19271 captive 20 0 10776 10M 2500 R 71.5 2.8 0:06 0 captive-sandbox
19268 root 16 0 13968 13M 4632 S 22.3 3.6 0:01 0 lufsd
4) Á¦ ½Ã½ºÅÛ¸¸ÀÇ ¹®Á¦ÀÎÁö´Â ¸ð¸£°ÚÀ¸³ª
2°³ÀÇ NTFS ÆÄƼ¼Ç Áß¿¡ ÇϳªÀÇ ÆÄƼ¼Ç(/dev/hda1)Àº ¾²±â¸¦ ÇÒ ¼ö ¾ø¾ú´Ù.
½áÁø °Í ó·³ º¸À̴µ¥, ¾ð¸¶¿îÆ®ÇÏ°í ´Ù½Ã ¸¶¿îÆ®Çؼ »ìÆ캸¸é Á» Àü¿¡ ½è´ø ÆÄÀÏÀÌ ¾ø¾ú´Ù.
¹ß»ýÇÑ ¿¡·¯ ·Î±×´Â /var/log/messages¿¡ ³²´Âµ¥, ´ÙÀ½°ú °°Àº ¿¡·¯ ¸Þ½ÃÁö¸¦ º¼ ¼ö ÀÖ¾ú´Ù.
Nov 9 22:42:35 truefeel Captive[8019]: Filesystem crash broke dirty object: /kkkk
5) Å« ÆÄÀÏ º¹»çÇÒ ¶§ ³Ê¹« ¿À·£ ½Ã°£ÀÌ °É¸°´Ù.
¼º´ÉÀÌ 1GHz CPU: read 1.5MB/s, write 500KB/s, 20MB of RAM °ú °°ÀÌ °³¼±µÇ¾ú´Ù°í Çϳª
½ÇÁ¦·Î´Â 10MB ÆÄÀÏ 1°³ º¹»ç(write)Çϴµ¥ 1ºÐ ÀÌ»ó °É·È´Ù.
4. Âü°í ÀÚ·á
* Captive ȨÆäÀÌÁö
http://www.jankratochvil.net/project/captive/
* Linux-NTFS Project
( Âü°í·Î Ä¿³Î Ä¿ÆÄÀÏÀÌ ±ÍÂúÀº »ç¿ëÀÚ¸¦ À§ÇØ NTFS ¸ðµâÀ» º°µµ·Î Á¦°øÇÑ´Ù. )
http://linux-ntfs.sourceforge.net/
* LUFS ȨÆäÀÌÁö
http://lufs.sourceforge.net/lufs/
Ä¿ÇǴнº Ä«Æä ÃÖ±Ù ±Û
[12/13]
»ï¼º
[12/12]
±¹°¡
[12/12]
±¹°¡
[12/11]
±¹³»
[12/10]
Çö´ë
[12/10]
±¹°¡
[12/10]
±¹°¡
[12/09]
Çö´ë
[12/09]
±¹°¡
[12/08]
°ú°Å
[12/05]
ÇÑÆí &#
[12/04]
ÇØ¿Ü
[12/04]
±¹°¡
[12/03]
±¹°¡
[12/03]
±¹³»
N
e
w
! ÃÖ±Ù¿¡ µî·ÏÇÑ ÆäÀÌÁö
KiCad EDA Suite project (Free/Libre/Open-Source EDA Suite) (CAD)
¿ÀÇÂij½ºÄÉÀ̵å ijµå (OpenCASCADE CAD)
QCad for Windows --- GNU GPL (Free Software)
The Hello World Collection
IPMI¸¦ È°¿ëÇÑ ¸®´ª½º ¼¹ö°ü¸®
DNS ¼³Á¤ °Ë»ç
nagiosgraph ¼³Ä¡ ¹æ¹ý
Slony-I ¼³Ä¡ ¹æ¹ý (postgresql replication tool)
Qmail±â¹ÝÀÇ Anti spam ½Ã½ºÅÛ ±¸ÃàÇϱâ
clusterssh
[ ÇÔ²²ÇÏ´Â »çÀÌÆ® ]
¿î¿µÁø :
ÁÁÀºÁøÈ£(truefeel)
, ¾ß¼ö(yasu), ¹ü³ÃÀÌ, sCag
2003³â 8¿ù 4ÀÏ~