tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Glen Davison <glen@maths.unsw.edu.au>
Subject: Deleting advfs quota.* file links
Date: Wed, 19 May 2004 16:19:02 +1000	[thread overview]
Message-ID: <200405191619.02869.glen@maths.unsw.edu.au> (raw)


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


                 reply	other threads:[~2004-05-19  6:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox