Subject : rm command·Îµµ Áö¿öÁöÁö¾Ê´Â fileÀ» Áö¿ì´Â ¹æ¹ý

Description :

  . su root              /* ¸ÕÀú Super mode·Î µé¾î°£´Ù. */

  . ls -li filename      /* indode number¸¦ È®ÀÎÇÑ´Ù. */

    82 -rw-r--r--  1 kumars        0 Jun 26 09:13 filename

  . df .                
                          /* ÇöÀç filesystemÀÇ device fileÀ» È®ÀÎÇÑ´Ù. */

    /home   (/dev/dsk/c0t3d0s7 ):  104682 ºí·°   236066 ÆÄÀÏ 
                                           /* Solaris 2.x ¿¹. */

  . clri /dev/dsk/c0t3d0s7 82              /* inode¸¦ Áö¿î´Ù. */

  . Reboot if it's on root or else:

    A. sync ; sync ; sync
    B. kill -15 1 or shutdown now          /* for single user */
    C. umount filesystem
    D. fsck -y /dev/xxxxx -y
    E. ^D to multiuser

  . fsck                        /* fsck¸¦ Çϴµ¿¾È removeÇÒ°ÍÀÎÁö¸¦ ¹°À¸¸é
                                 "y"·Î ´äÇÑ´Ù. */
 



Revision History

ÀÛ¼ºÀÏÀÚ : 96.06.14
ÀÛ¼ºÀÚ : À̹ÎÈ£

¼öÁ¤ÀÏÀÚ : 
¼öÁ¤ÀÚ