[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] Re: give us a hand with arch
From: |
Harald Meland |
Subject: |
Re: [Gnu-arch-users] Re: give us a hand with arch |
Date: |
Sun, 28 Sep 2003 22:35:57 +0200 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (usg-unix-v) |
[Ethan Benson]
> On Sun, Sep 28, 2003 at 12:59:51AM +0200, Harald Meland wrote:
>> For example, on this Debian box Emacs is by default set up to create
>> backup files by renaming. While I'm not claiming to have looked very
>> closely at xattr semantics, I would guess that
>>
>> rename(file, file~)
>> open(file)
>> ... write new contents ...
>> close(file)
>>
>> would leave the user with the original file-id xattr in file~ (which
>> by default would be ignored by tla), and no corresponding xattr in
>> file. This would be bad.
>
> no, rename() supports xattr.
Uhm, yes. But does open(2) automatically add the same xattrs to the
file it just created? I think (and certainly hope ;-) not.
(BTW: This argument applies equally well to Andrea's "separate
meta-data stream in the inode" mirage. Such a feature would, for the
very same reasons outlined in my pseudo-code example above, require
changes to (lots of) tools before things start working the way he
claims they will.)
> however file copying requires xattr support.
Ahh, good, my hope was justified. :-)
> in any event it should be configurable somehow, so if the user doesn't
> want xattrs used they won't be.
Then we agree.
--
Harald
- Re: [Gnu-arch-users] Re: give us a hand with arch, (continued)
- Re: [Gnu-arch-users] Re: give us a hand with arch, Andrea Arcangeli, 2003/09/28
- Re: [Gnu-arch-users] Re: give us a hand with arch, Stephen J. Turnbull, 2003/09/28
- Re: [Gnu-arch-users] Re: give us a hand with arch, Miles Bader, 2003/09/28
- Re: [Gnu-arch-users] Re: give us a hand with arch, Stephen J. Turnbull, 2003/09/29
- Re: [Gnu-arch-users] Re: give us a hand with arch, Tom Lord, 2003/09/29
- Re: [Gnu-arch-users] Re: give us a hand with arch, Robert Anderson, 2003/09/27
- Message not available
- Re: [Gnu-arch-users] Re: give us a hand with arch, Robert Anderson, 2003/09/27
- Re: [Gnu-arch-users] Re: give us a hand with arch, Ethan Benson, 2003/09/27
- Re: [Gnu-arch-users] Re: give us a hand with arch, Harald Meland, 2003/09/27
- Re: [Gnu-arch-users] Re: give us a hand with arch, Ethan Benson, 2003/09/28
- Re: [Gnu-arch-users] Re: give us a hand with arch,
Harald Meland <=
- Re: [Gnu-arch-users] Re: give us a hand with arch, Ethan Benson, 2003/09/28
- Re: [Gnu-arch-users] Re: give us a hand with arch, Harald Meland, 2003/09/28
- Re: [Gnu-arch-users] Re: give us a hand with arch, Ethan Benson, 2003/09/28
- Re: [Gnu-arch-users] Re: give us a hand with arch, Miles Bader, 2003/09/28
- Re: [Gnu-arch-users] Re: give us a hand with arch, Ethan Benson, 2003/09/28
- Re: [Gnu-arch-users] Re: give us a hand with arch, Tom Lord, 2003/09/28
- Re: [Gnu-arch-users] Re: give us a hand with arch, Mark A. Flacy, 2003/09/27
- [Gnu-arch-users] Re: give us a hand with arch, Miles Bader, 2003/09/27
- Re: [Gnu-arch-users] Re: give us a hand with arch, Zack Brown, 2003/09/27
- [Gnu-arch-users] Re: give us a hand with arch, Miles Bader, 2003/09/27