Re: req: New feature to rm? Remove file by the inode number
From: Julien Gabel (jpeg_at_thilelli.net)
Date: 05/05/05
- Previous message: Raymond Wiker: "Re: req: New feature to rm? Remove file by the inode number"
- In reply to: Kamal R. Prasad: "Re: req: New feature to rm? Remove file by the inode number"
- Next in thread: Halil Demirezen: "Re: req: New feature to rm? Remove file by the inode number"
- Reply: Halil Demirezen: "Re: req: New feature to rm? Remove file by the inode number"
- Reply: John-Mark Gurney: "Re: req: New feature to rm? Remove file by the inode number"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 5 May 2005 18:55:27 +0200 (CEST) To: freebsd-hackers@freebsd.org
>> Point 2, likely as not, might explain why there's no
>> simple mechanism for doing this from rm. At the very
>> least you'd have to specify the file system you're
>> referring to, and many "plain" users couldn't do
>> that safely. Those that can are probably able to use
>> find anyway.
> A (device no, inode no) can uniquely identify a file
> -but then it requires the same amt of traversals (from
> the root directory's inode) that any other utility
> does. Im not sure rm can optimize anything that a find
> .. -exec rm {} \; would.
Or "find [...] -print | xargs \rm" to bypass some problem
with a very long list of files to delete.
-- -jpeg. _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
- Previous message: Raymond Wiker: "Re: req: New feature to rm? Remove file by the inode number"
- In reply to: Kamal R. Prasad: "Re: req: New feature to rm? Remove file by the inode number"
- Next in thread: Halil Demirezen: "Re: req: New feature to rm? Remove file by the inode number"
- Reply: Halil Demirezen: "Re: req: New feature to rm? Remove file by the inode number"
- Reply: John-Mark Gurney: "Re: req: New feature to rm? Remove file by the inode number"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|