Berkeley CSUA MOTD:Entry 49614
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/05/24 [General] UID:1000 Activity:popular
5/24    

2008/3/30-4/6 [Computer/SW/OS/Solaris] UID:49614 Activity:nil
3/30    Question: I just deleted 60 GB of files from an 80 GB disk. The
        disk activity lights were blinking like crazy and I could hear the
        drive crunch while the data was deleted. This is under Solaris.
        Anyway, I think UNIX uses unlink() when files are deleted. Shouldn't
        it just update the free list on the superblock and call it a day?
        What is all the crunching about?
        \_ Well, I guess it depends on how you delete it.  I assume you did
           'rm -rf *'?  In that case it would go through all the directories
           delete each file by name one at a time.  You could get the behavior
           you were hoping for by formatting or rewriting the partition table.