From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 561BE2EFDB for ; Mon, 1 Oct 2001 03:40:56 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f917eum10978 for axp-list@listman.redhat.com; Mon, 1 Oct 2001 03:40:56 -0400 Received: from mandy.eunet.fi (mandy.eunet.fi [193.66.1.129]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f917etg10974 for ; Mon, 1 Oct 2001 03:40:55 -0400 Received: from alphatux2.ts.ray.fi (ws-002.ray.fi [193.64.14.2]) by mandy.eunet.fi (Postfix) with ESMTP id 5FFADA0F5; Mon, 1 Oct 2001 10:40:48 +0300 (EET DST) (envelope-from jd@ts.ray.fi) Received: from localhost (jd@localhost) by alphatux2.ts.ray.fi (8.9.3/8.9.3) with ESMTP id KAA03401; Mon, 1 Oct 2001 10:41:59 +0300 X-Authentication-Warning: alphatux2.ts.ray.fi: jd owned process doing -bs Date: Mon, 1 Oct 2001 10:41:59 +0300 (EEST) From: Jukka Iso-Heiniemi To: axp-list@redhat.com Cc: Tuomo Hakola Subject: directory hardlinks Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: This is not alpha spesific, but still... has anybody know how to get hardlinks to work with directories (or what is proper mail list to ask for); ... and yes, I really need hardlinks for directories. So far I have modified "fs/ext2/namei.c" to get ext2 to accept hardlinks, but obviously there is some issues with VFS ("fs/namei.c" ?) If I remove files from directory which is "pointed" by several entries from parent directory I can't create new files with same names; or actually I can, but files won't show up in the directory. I still can 'ls' them if I use full path; ex. "/tmp/test1/blah" -rw-rw-r-- 0 root root 14 Sep 28 19:39 /tmp/test1/blah as you see the link count is "0"? I think there is something out of sync in VFS's cache, but dunno what...