Messages in this thread | | | Subject | Re: [PATCH] Linux-2.5 fix/improve get_pid() | From | Alan Cox <> | Date | 11 Aug 2002 21:41:14 +0100 |
| |
On Sat, 2002-08-10 at 19:48, Jamie Lokier wrote: > Linus Torvalds wrote: > > > Oh dear -- what of programs that assume duplicate inode numbers are hard > > > links, and therefore assume the same contents will be found in each > > > duplicate? > > > > Well, anybody who tries to back up /proc with "tar" is in for some > > surprises anyway ;) > > I was thinking of an over-intelligent `find'. But hey, as long as this > is only for the weird and wonderful /proc :-)
If they hold both handles open and stat them and find the same inode number then yes its a bug. We have lots of room for inode numbers to handle 2^30 processes and allow for 2^30 other files
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |