Re: support for translators in tar

2001-09-13 Thread Kalle Olavi Niemitalo
Miles Bader <[EMAIL PROTECTED]> writes: > Kalle Olavi Niemitalo <[EMAIL PROTECTED]> writes: > > Now, where does the first translator save the second passive > > translator so that it will survive reboots? It doesn't fit in > > the metadata of the underlying node. > > Why should tar worry about

Re: support for translators in tar

2001-09-12 Thread Miles Bader
Kalle Olavi Niemitalo <[EMAIL PROTECTED]> writes: > A file system can save only one passive translator for one node; > this is implicit in the file_set_translator RPC. The original > file system saves only the passive translator that is closest to > it; that first translator is then responsible o

Re: support for translators in tar

2001-09-12 Thread Kalle Olavi Niemitalo
Neal H Walfield <[EMAIL PROTECTED]> writes: > > When 'tar' saves a translator, it must also save the file or > > directory underlying the translator, in case the translator wants > > to access it when run. The underlying node can be opened with > > O_NOTRANS. > > Do not forget, translators mayb

Re: support for translators in tar

2001-09-12 Thread Neal H Walfield
>> > When 'tar' saves a translator, it must also save the file or >> > directory underlying the translator, in case the translator wants >> > to access it when run. The underlying node can be opened with >> > O_NOTRANS. >> >> Do not forget, translators maybe stacked. > > That's not really releva

Re: support for translators in tar

2001-09-12 Thread Thomas Bushnell, BSG
Neal H Walfield <[EMAIL PROTECTED]> writes: > > When 'tar' saves a translator, it must also save the file or > > directory underlying the translator, in case the translator wants > > to access it when run. The underlying node can be opened with > > O_NOTRANS. > > Do not forget, translators mayb

Re: support for translators in tar

2001-09-12 Thread Paul Eggert
> Cc: [EMAIL PROTECTED], [EMAIL PROTECTED] > Keywords: Hurd,tar,passive >translator,file,format,bits,stat,showtrans,permissions,mode_t,author,ls > Supersedes: <[EMAIL PROTECTED]> > From: Kalle Olavi Niemitalo <[EMAIL PROTECTED]> > Date: 12 Sep 2001 19:15:08 +0300 > > [I already typed this once b

Re: support for translators in tar

2001-09-12 Thread Neal H Walfield
> When 'tar' saves a translator, it must also save the file or > directory underlying the translator, in case the translator wants > to access it when run. The underlying node can be opened with > O_NOTRANS. Do not forget, translators maybe stacked. >API: There is S_IPTRANS for mode_t, but

Re: support for translators in tar

2001-09-12 Thread Kalle Olavi Niemitalo
[I already typed this once but lost power before sending. :-( This time, I ensured auto-save-mode is on.] Paul Eggert <[EMAIL PROTECTED]> writes: > What does 'ls -l' do? Users will probably want 'tar' to do something similar. It starts the passive translator and gets the stat data from that.

Re: support for translators in tar

2001-09-11 Thread Paul Eggert
> From: Marcus Brinkmann <[EMAIL PROTECTED]> > Date: Sun, 9 Sep 2001 22:57:47 +0200 > We have GNU extensions in the C library to detect them, though (but > we need _GNU_SOURCE). No problem; tar turns on _GNU_SOURCE already. > The default for symlinks is to store them, dereferencing is possible