Deleting advfs quota.* file links

From: Glen Davison (glen@maths.unsw.edu.au)
Date: Wed May 19 2004 - 02:19:02 EDT


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@maths.unsw.edu.au
Computer System Administrator	phone: +61 2 9385 7018
Maths, UNSW			fax:   +61 2 9385 7192


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:59 EDT