|
Fwd: Re: More on Hard Links: msg#00229file-systems.reiserfs.general
Forwarding to list... --- Hubert Chan <hubert@xxxxxxxxx> wrote: > To: Narcoleptic Electron > <narcoleptic_electron@xxxxxxxxxxx> > Subject: Re: More on Hard Links > From: Hubert Chan <hubert@xxxxxxxxx> > Date: Thu, 29 Jan 2004 12:57:49 -0500 > > >>>>> "Narcoleptic" == Narcoleptic Electron > <narcoleptic_electron@xxxxxxxxxxx> writes: > > [...] > > Narcoleptic> I've given this a lot of thought, and > firstly have come to > Narcoleptic> believe that it is misguided to discuss > user features that > Narcoleptic> should be added to Hard Links. Hard > Links are a low-level > Narcoleptic> feature of the underlying file system, > and should be > Narcoleptic> treated as such. > > I agree enthusiastically. > > Narcoleptic> Instead, in a discussion about user > features, we should > Narcoleptic> first identify the features that we > want, then design a > Narcoleptic> higher-level construct (which may make > use of hard links in > Narcoleptic> its implementation, possibly directly) > that delivers these > Narcoleptic> features. > > Yes. Agreed. > > Narcoleptic> I can think of only 2 user-level > linking constructs that I > Narcoleptic> think would be useful: > > Narcoleptic> (1) "Aliases" (Inspired only partially > by Mac OS aliases.) > > [...] > > Narcoleptic> - When an alias is created on another > volume, the user will > Narcoleptic> be asked if the alias should keep a > local cache of the > Narcoleptic> master. If so, the file can still be > read (but not > Narcoleptic> modified) when disconnected. If not, > then it is not > Narcoleptic> readable when disconnected. > > Interesting idea. Aside from this point, "aliases" > could be implemented > using symlinks, with things like the "disconnected" > badge handled in > userspace. > > Instead of using a "clone list" as you suggested, > keeping the clones up > to date could be handled in userspace by something > like FAM (File > Alteration Monitor). That way, the target > filesystem doesn't have to > know about aliases. > > Narcoleptic> (2) "Shortcuts" (This is just a name; I > am *not* referring > Narcoleptic> to Windows-style shortcuts.) > > [...] > > Narcoleptic> Shortcuts would be implemented directly > using symbolic > Narcoleptic> links. > > Yup. > > There's another type of link that I think users may > want -- something > like symbolic links, but is resilient to file > movement -- at least > within the same filesystem. That could be > implemented by storing a > pointer to some sort of filesystem ID, and an inode > number. This is > what I call firm links, and what I think Leo would > call a soft link. > > -- > Hubert Chan <hubert@xxxxxxxxx> - > http://www.uhoreg.ca/ > PGP/GnuPG key: 1024D/124B61FA > Fingerprint: 96C5 012F 5F74 A5F7 1FF7 5291 AF29 > C719 124B 61FA > Key available at wwwkeys.pgp.net. Encrypted e-mail > preferred. > ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: linux and nfs issues: 00229, Robert Lazzurs |
|---|---|
| Next by Date: | Re: More on Hard Links: 00229, Narcoleptic Electron |
| Previous by Thread: | Re: More on Hard Linksi: 00229, Narcoleptic Electron |
| Next by Thread: | Re: More on Hard Links: 00229, Narcoleptic Electron |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |