Deleting advfs quota.* file links

From: Glen Davison <glen_at_maths.unsw.edu.au>
Date: Wed, 19 May 2004 16:19:02 +1000

Q: How can I delete a hard-link to quota.user or quota.group?

BKG: I wrote and ran a perl script which made hard-links to files recursively
throughout a directory hierarchy. Unfortunately this also included the
quota.* files at the top of the fileset. I have now inserted a test to stop
this happening again, but the damage is already done.

Once I have these new links to quota.user (let's call it 'uuu') and
quota.group ('ggg') I found that

rm uuu ggg

didn't work (failed noisily) and

rm -f uuu ggg

failed silently.

Looking through the tru64 archives, I see that people have asked several times
about deleting the quota.* files because they looked large and unneeded, but
were always mollified by the info that the files were sparse. Unfortunately
this doesn't help me.

Strangely, I thought I did manage to fix this same problem last week from an
earlier run, but I can't do it today.


Any hints appreciated
Glen

-- 
Glen Davison			glen_at_maths.unsw.edu.au
Computer System Administrator	phone: +61 2 9385 7018
Maths, UNSW			fax:   +61 2 9385 7192
Received on Wed May 19 2004 - 06:21:02 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:44 NZDT