<gh_stars>1000+
{"id":"00414","group":"easy-ham-2","checksum":{"type":"MD5","value":"a46602860d900cb89e1edd5583ffdb55"},"text":"Return-Path: ilug-admin@linux.ie\nDelivery-Date: Mon Jul 22 16:02:38 2002\nReturn-Path: <<EMAIL>>\nReceived: from webnote.net (mail.webnote.net [192.168.3.11])\n\tby dogma.slashnull.org (8.11.6/8.11.6) with ESMTP id g6MG2bY17194\n\tfor <<EMAIL>>; Mon, 22 Jul 2002 17:02:37 +0100\nReceived: from lugh.tuatha.org (<EMAIL> [192.168.3.11])\n\tby webnote.net (8.9.3/8.9.3) with ESMTP id VAA24947\n\tfor <<EMAIL>>; Sat, 20 Jul 2002 21:37:53 +0100\nReceived: from lugh (root@localhost [127.0.0.1])\n\tby lugh.tuatha.org (8.9.3/8.9.3) with ESMTP id VAA01250;\n\tSat, 20 Jul 2002 21:33:46 +0100\nReceived: from ie.suberic.net (owsla.ie.suberic.net [62.17.162.83])\n\tby lugh.tuatha.org (8.9.3/8.9.3) with ESMTP id VAA01211\n\tfor <<EMAIL>>; Sat, 20 Jul 2002 21:33:38 +0100\nX-Authentication-Warning: lugh.tuatha.org: Host owsla.ie.suberic.net [172.16.31.10] claimed to be ie.suberic.net\nReceived: from owsla.ie.suberic.net (owsla [127.0.0.1])\n\tby ie.suberic.net (8.11.6/8.11.6) with ESMTP id g6KKXb927412\n\tfor <<EMAIL>>; Sat, 20 Jul 2002 21:33:37 +0100\nDate: Sat, 20 Jul 2002 21:33:35 +0100\nTo: <NAME> <<EMAIL>>\nCc: ILUG Mailing List <<EMAIL>>\nSubject: Re: [ILUG] How to copy some files\nMessage-ID: <<EMAIL>>\nReferences: <<EMAIL>> <<EMAIL>> <<EMAIL>> <<EMAIL>>\nMime-Version: 1.0\nContent-Type: text/plain; charset=iso-8859-15\nContent-Disposition: inline\nContent-Transfer-Encoding: 8bit\nUser-Agent: Mutt/1.2.5.1i\nIn-Reply-To: <<EMAIL>>; from <EMAIL> on Sat, Jul 20, 2002 at 08:24:47PM +0100\nX-Operating-System: Linux 2.4.18-5 i686\nX-GPG-Fingerprint: 9C1D 16F4 11F1 6BD2 933C  048D ACC7 9840 89D0 7646\nFrom: <NAME> <<EMAIL>>\nX-Delivery-Agent: TMDA/0.57\nSender: ilug-admin@linux.ie\nErrors-To: ilug-admin@linux.ie\nX-Mailman-Version: 1.1\nPrecedence: bulk\nList-Id: Irish Linux Users' Group <ilug.linux.ie>\nX-BeenThere: ilug@linux.ie\n\nOn Sat, Jul 20, 2002 at 08:24:47PM +0100, <NAME> wrote:\n>  Ar an 20� l� de m� 7, scr�obh <NAME> :\n>  > actaully i think soft links were invented because you can't hard link\n>  > directories. \n> But you could hard link directories, back when soft links were\n> being invented, AFAIK. \n\nthat was before my time.  all unix systems i've used didn't allow hard\nlinks to directories, or if they did they were restricted to root.\nthe reason why is because you could cause infinite loops in the kernel -\nusually a bad place for infinite loops.\n\n>  > apparently some systems limited soft links to the same device but\n>  > gave up after a while.  \n> Why?\n\nto make them consistent with hard links.\n\n> A better way of doing it would be a) have global unique filesystem\n> identifiers for every FS created (such that the chance of two of them\n> clashing is miniscule; 64 bits creatively used would do it, I'd say),\n> and b) implement the target info for the soft link as a {FSID, inode}\n> pair; the OS can work out if the thing linked to is now on a different\n> mount point, or has been moved. (HFS fans, is that what's done? Or are\n> aliases implemented differently?)\n\nlet's call these super-soft-links.  ln -ss\n\n    % ln -ss foo bar\n    % ls -i foo\n    111 foo\n    % mv floyd foo\n    % ls -i foo\n    222 foo\n\nand now bar no longer points to foo.\n\n    % ln -ss foo bar\n    % ls -i foo\n    111 foo\n    % rm foo\n    % touch floyd\n    % ls -i floyd\n    111 floyd\n\nthe fs would need to maintain a table of links going the other direction.\nso when the move command unlinks foo in the first example, it could\ncheck the table and mark that bar is now disconnected.  the same would\nbe true for the second example - and even more important since bar points\nto floyd if no table is consulted.\n\nand this all fails to handle nfs mounted file systems or filesystems\nthat have dynamic inodes (the fat fs's and reiser lacks inodes i think).\n\nkevin\n\n-- \<EMAIL>     that a believer is happier than a skeptic is no more to\nfork()'ed on 37058400    the point than the fact that a drunken man is happier\nmeatspace place: home       than a sober one. the happiness of credulity is a\nhttp://ie.suberic.net/~kevin   cheap & dangerous quality -- g.b. shaw\n\n-- \nIrish Linux Users' Group: <EMAIL>\nhttp://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.\nList maintainer: <EMAIL>\n"}