From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Glen Davison Newsgroups: gmane.os.tru64.managers Subject: Deleting advfs quota.* file links Date: Wed, 19 May 2004 16:19:02 +1000 Organization: UNSW Maths Computing Centre Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <200405191619.02869.glen@maths.unsw.edu.au> Reply-To: g.davison@unsw.edu.au NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1084947554 10816 80.91.224.253 (19 May 2004 06:19:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 May 2004 06:19:14 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed May 19 08:19:05 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1BQKPw-0007G7-00 for ; Wed, 19 May 2004 08:19:04 +0200 Original-Received: (qmail 13374 invoked by uid 5); 19 May 2004 06:18:51 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 13359 invoked by uid 49501); 19 May 2004 06:18:51 -0000 Original-Received: from glen@maths.unsw.edu.au by sws1 by uid 49491 with qmail-scanner-1.21 (clamdscan: 0.70-rc. iscan: v3.1/v5.600-1011/847/50540. spamassassin: 2.63. Clear:RC:0(160.91.4.119):SA:0(-4.9/5.0):. Processed in 0.58102 secs); 19 May 2004 06:18:51 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 19 May 2004 06:18:50 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0HXY0064M6VD11@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 19 May 2004 02:18:49 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute1.cind.ornl.gov by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) id <0HXY006026UZZM@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 19 May 2004 02:18:36 -0400 (EDT) Original-Received: from maths.unsw.edu.au (haiku.maths.unsw.edu.au [129.94.176.22]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0HXY006406UXMK@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 19 May 2004 02:18:34 -0400 (EDT) Original-Received: from localhost (localhost [[UNIX: localhost]]) by maths.unsw.edu.au (8.11.6/8.11.6) id i4J6J2122362 for tru64-unix-managers@ornl.gov; Wed, 19 May 2004 16:19:02 +1000 Original-To: tru64-unix-managers@ornl.gov User-Agent: KMail/1.4.3 Xref: main.gmane.org gmane.os.tru64.managers:6964 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:6964 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 recursi= vely=20 throughout a directory hierarchy. Unfortunately this also included the=20 quota.* files at the top of the fileset. I have now inserted a test to s= top=20 this happening again, but the damage is already done. Once I have these new links to quota.user (let's call it 'uuu') and=20 quota.group ('ggg') I found that=20 rm uuu ggg didn't work (failed noisily) and=20 rm -f uuu ggg failed silently. Looking through the tru64 archives, I see that people have asked several = times=20 about deleting the quota.* files because they looked large and unneeded, = but=20 were always mollified by the info that the files were sparse. Unfortunat= ely=20 this doesn't help me. Strangely, I thought I did manage to fix this same problem last week from= an=20 earlier run, but I can't do it today. Any hints appreciated Glen --=20 Glen Davison=09=09=09glen@maths.unsw.edu.au Computer System Administrator=09phone: +61 2 9385 7018 Maths, UNSW=09=09=09fax: +61 2 9385 7192