Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jun 2001 23:23:58 -0400
From:      parv <parv_@yahoo.com>
To:        Gary Kline <kline@tao.thought.org>
Cc:        ChildsC@BCRAIL.COM, brigg@flatlan.net, freebsd-questions@FreeBSD.ORG
Subject:   Re: somewhat interesting rm issue
Message-ID:  <20010628232358.A2898@moo.holy.cow>
In-Reply-To: <20010628172323.B3556@tao.thought.org>; from kline@tao.thought.org on Thu, Jun 28, 2001 at 05:23:24PM -0700
References:  <01Jun28.130929pdt.119046@gatekeeper.bcrail.com> <20010628201452.A2404@moo.holy.cow> <20010628172323.B3556@tao.thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help
so, Gary Kline shared this in my lifetime...
> On Thu, Jun 28, 2001 at 08:14:52PM -0400, parv wrote:
> > 
...

> > while we are on the topic, is there any way to remove a file by inode
> > instead of by filename? didn't see anything in rm(1) and unlink(2) 
> > barely mentions the word 'inode' in context of error code [EIO].
> >  
...

> 
> 	You'll find the exact formula in an old edition of 
> 	DaemonNews.  
> 
> 	It's something like  
> 
> 	  % find -inum <<index number>> -print -exec rm -i {} \;
> 

now that you mention it, i seem to remember, vaguely, reading about using 
inode option of find; i was thinking of searching unix newsgroups
before asking but laziness overpowrered...


> 	((At least 75% of the questions here could be answered by 
> 	  checking the right URL.  Of the FBSD Diary, Daemonnews, or
> 	  the handbook FAQ's....  Somebody ought to put together a
> 	  master index :-))
> 
> 	-g

an excellent idea ... but that statement alone doesn't contribute 
much on my part. does it?

however, we do have weekly post of "happenings" from dan l. of freebsd 
diary/freshports fame and faq/complete freebsd book by greg l.

-- 
 so, do you like word games or scrabble?
	 - parv

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010628232358.A2898>