On Feb 23,  8:42am, "dre" wrote:
}
} actually, this is incorrect.  rm -rf is not really as powerful
} for removing systems as you would think.  assuming that
} rm uses dynamic linked libraries (instead of static), it could
} theoretically stop in execution upon reaching libc.so[.X] or

     On many systems, rm is linked statically.  However, since the
libraries will be open (meaning the diskspace won't actually be
deallocated until all programs using it exit) or are completely in
memory, this is irrelevant.

     However, we are now getting grossly off-topic...

} any of it's dependant executables.  assuming that one hits

     rm doesn't have dependent executables.

} a better way to delete an entire disk would be to use
} dd if=/dev/zero of=/dev/dsk/c0t0d0s0 bs=1024k (assuming Solaris)
} which writes tons of zeros to your disks.

     dd if=/dev/zero of=/dev/rdsk/c0t0d0s2 bs=1024k

would work much better (your command would only delete the root
partition, mine would clobber the entire disk, including the partition
table).

}-- End of excerpt from "dre"




Message Posted at:
http://www.groupstudy.com/form/read.php?f=7&i=21978&t=21978
--------------------------------------------------
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

Reply via email to