delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/08/00:25:23

To: djgpp AT delorie DOT com
Date: Wed, 08 Mar 2000 04:07:10 0000
From: "nimrod a. abing" <synflood AT eudoramail DOT com>
Message-ID: <MIFKPJBDGBMAAAAA@shared1-mail.whowhere.com>
Mime-Version: 1.0
X-Sent-Mail: off
X-Expiredinmiddle: true
X-Mailer: MailCity Service
Subject: rm -d and mangled fat entries
X-Sender-Ip: 208.160.246.197
Organization: QUALCOMM Eudora Web-Mail (http://www.eudoramail.com:80)
Reply-To: djgpp AT delorie DOT com

Hellow!

I've been using DJGPP for about 6 months now
and so far I've encountered few problems. I
update DJGPP regularly to keep up with the new
releases. I have a problem regarding rm.

I used it to uninstall a DJGPP package, and
by accident I typed in the -d option (which
removes directories without checking if they
are empty). Now when I defragment my hard disk,
I see lots of blocks that are "unmovable", they
were not there before I used rm with the -d
option. And I am pretty sure that it was caused 
by rm. I could be wrong though, Windoze and FAT
is a really bad combination. Anyway, can anyone
show me how I can remove these "unmovable" 
blocks? They are wasting my hard disk space.

BTW: I read in the rm info page that rm -d will:

Remove directories with `unlink' instead of
`rmdir', and don't require a directory to be 
empty before trying to unlink it.  Only
works if you have appropriate privileges.  
Because unlinking a directory causes any files 
in the deleted directory to become 
unreferenced, it is wise to `fsck' the 
filesystem after doing this.

This is why I am pretty sure that my misuse of
rm caused all this. If anyone out there knows
of an fsck workalike, plz let me know.

Thanks!


---
nimrod_a_abing

----------------
Hot Windows Tip:
----------------

How to free up at least 300 MB of hard disk 
space (as seen from the MS-DOS prompt):

C:\>deltree c:\windows
Delete directory "Windows" and all its subdirectories? [yn] y
Deleting Windows...

C:\>

(don't try this at home kids... not unless
you have Linux installation CDs)




Join 18 million Eudora users by signing up for a free Eudora Web-Mail account at http://www.eudoramail.com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019