Re: Why no work on rsync?
Re: Why no work on rsync?
- Subject: Re: Why no work on rsync?
- From: Markus Hitter <email@hidden>
- Date: Sun, 5 Mar 2006 11:42:51 +0100
Am 05.03.2006 um 00:13 schrieb Jordan K. Hubbard:
1. That the source and the target for any operation may or may not
support EAs, yet heterogeneous operations can't lose data.
2. That creating, editing, renaming, copying and deleting files all
need to be able to keep data and metadata together, fully cognizant
of the limitations posed by item #1.
Maybe there's a way to handle this at the file system level, even for
file systems not traditionally supporting EAs. EAs are/can be a thing
of the file system driver, even if you store files/metadata in a way
readable by a driver not supporting metadata.
To take an example on UFS:
Creating a file on a Macintosh would create a "file" entry and a
"._file" entry as necessary. Not at the system API level, but at the
file system level. The file system would hide "._file" on the Mac,
making UFS appearing as EA supporting file system. No tool would ever
get the idea to do something nasty with this "._file" pseudo-file as
it's transparent to the API level.
Mounting the same file system on a Linux/BSD/whatever OS would make
"._file" appear as a completely separate file from "file", fully
native to that other OS.
Disadvantages:
- File listings of the same volume on different OSs show a different
number of files.
- File archiving (tar etc.) and custom copy protocols (rsync etc.)
would still have to handle EAs themselves when copying to/from non-
Mac OSs.
Advantages:
- There's no need to tweak the basic CLI tools as all file systems
appear as supporting EAs on the Mac.
- Mapping for network file systems can be done at the network file
system driver level, so NFS etc. would still appear as supporting EAs
on the Mac, not supporting EAs on other OSs.
Markus
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden