Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!voder!pyramid!ctnews!unix386!dick From: dick@unix386.Convergent.COM (Dick Hacking) Newsgroups: comp.unix.wizards Subject: Re: System Panic Message VFS_REMOVE Summary: mkfs quicker and gives better performance Message-ID: <1138@unix386.Convergent.COM> Date: 4 May 90 17:46:42 GMT References: <356@ticnj.UUCP> Organization: Unisys/Convergent, San Jose, CA Lines: 17 In article <356@ticnj.UUCP>, satish@ticnj.UUCP (News Administrator) writes: > I am using a rm command to empty a file system through a crontab entry, which > causes the system (sparcstation running SUNOS Rel. 4.0.3c) to panic > and reboot !! > > mount /dev/.... /mnt > cd /mnt > for i in * ; do rm -rf $i ; done > ..... Why not just use mkfs to recreate the filesystem. This has the advantage that performance will be much better than that over the fragmented filesystem left by removing lots of files. It will also bypass the cause of the panic if you are lucky ;-) Dick Hacking