Re: [LAD] Non Session Management

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <Linux-audio-dev@...>
Date: Tuesday, March 27, 2012 - 12:24 pm

Am 27. März 2012 03:23 schrieb David Robillard :

Thanks for pointing out, David.

1.
I don't totally agree with using symlinks:
- I tend to think, that file-systems are not as efficient as databases
- I feel that symlinks pollute the file-system
- What if any of the symlink to symlink is deleted - do applications
still know, where the file is which they had been pointing too ?
- Some apps would want to store additional info relating to the file
(meta-data, tags, related info, ...), thus requiring a simple database
anyway.
- having symlinks leaves the user with the question how to reliably
copy a directory, without messing up everything (dereference yes/no,
follow links yes/no ...), something that is critical to deside

2.
I don't totally agree with a file- vs. copy-directory:
I mean: is there really a semantic difference between a created, a
modified file and a copy ??
I think no. After modification, creation, duplication, etc., soon
you won't be able to say, weather a file is a any of the above. I
mean: For one app it can be a file (original), while for another it
can be a copy / reference / whatever.

For an app, there may be a semantic difference for

A: existing files a user added, which are ORIGINALS (thus refs),
never-modified ones

B: files the app created or modified, thus copied - files that are
NEWONES (thus real and refs)
note: a modified or created file can become an ORIGINAL for a
different application !
that's what I meant above, in 2.

C: files that are HISTORY, the user may want to delete these anytime,
to store space
- a history-file can become an "original" - what now ?

My conclusion:
- -
1. large files should never go to the session directory

2. Lfiles shared between apps have to be managed by a (super-)
instance that knows what's going on - the session-manager - otherwise
it's completely undefined/unclear what happens

3. Lfiles newly created (recorded / modified ) - for ALL sessions - go
to a common NSM-Lfiles directory

4. The session manager knows, of EVERY reference to files inside the
NSM-Lfiles dir.,
distinguishing between
- CURRENT_REFS (files currently used by any instance)
- HISTORY_REFS (file not currently used by any instance) (this is
equal ALL_FILES minus CURRENT_REFS)
- EXTERNAL_REFS (files referenced by any instance, but not contained
in the NSM-Lfiles dir. and NOT created/recorded/modified by any
instance )

5. this means, the user is disallowed to manually reference/link to
any of the files contained in the NSM-Lfiles dir (because the SM
wouldn't know about it)

6. The SM knows all files-in-use and is able to move unused
history-files to a dustbin (no app is allowed to use/reference files
within the dustbin). The dustbin can manually be deleted by the user
anytime.

7. The SM allows Lfiles (CURRENT_REF + EXTERNAL_REFS) for a certain
session or app to be copied to a user-defined directory
(export-function)

8. The SM allows HISTORY_FILES to be moved to a dustbin folder. (not
including CURRENT_REFS or EXTERNALS)

IF I did not forget / oversee anything critical, this looks like a well managed
and reliable approach to me. Any opinions ?

--
E.R.
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] Non Session Management, rosea.grammostola, (Thu Mar 22, 10:55 am)
Re: [LAD] Non Session Management, Emanuel Rumpf, (Thu Mar 22, 4:52 pm)
Re: [LAD] Non Session Management, rosea.grammostola, (Thu Mar 22, 6:59 pm)
Re: [LAD] Non Session Management, David Robillard, (Thu Mar 22, 3:10 pm)
Re: [LAD] Non Session Management, rosea.grammostola, (Sat Mar 24, 3:19 pm)
Re: [LAD] Non Session Management, Fons Adriaensen, (Sat Mar 24, 10:09 pm)
Re: [LAD] Non Session Management, rosea.grammostola, (Thu Mar 29, 9:24 am)
Re: [LAD] Non Session Management, Emanuel Rumpf, (Thu Mar 29, 1:18 pm)
Re: [LAD] Non Session Management, Louigi Verona, (Thu Mar 29, 10:02 am)
Re: [LAD] Non Session Management, rosea.grammostola, (Thu Mar 29, 10:41 am)
Re: [LAD] Non Session Management, rosea.grammostola, (Thu Mar 29, 11:08 am)
Re: [LAD] Non Session Management, thijs van severen, (Thu Mar 29, 10:30 am)
Re: [LAD] Non Session Management, rosea.grammostola, (Thu Mar 29, 10:46 am)
Re: [LAD] Non Session Management, thijs van severen, (Thu Mar 29, 11:17 am)
Re: [LAD] Non Session Management, Emanuel Rumpf, (Thu Mar 29, 2:22 pm)
Re: [LAD] Non Session Management, rosea.grammostola, (Thu Mar 29, 2:35 pm)
Re: [LAD] Non Session Management, rosea.grammostola, (Thu Mar 29, 11:21 am)
Re: [LAD] Non Session Management, thijs van severen, (Thu Mar 29, 11:26 am)
Re: [LAD] Non Session Management, rosea.grammostola, (Thu Mar 29, 11:34 am)
Re: [LAD] Non Session Management, rosea.grammostola, (Mon Mar 26, 3:42 pm)
Re: [LAD] Non Session Management, Louigi Verona, (Mon Mar 26, 3:51 pm)
Re: [LAD] Non Session Management, rosea.grammostola, (Mon Mar 26, 4:16 pm)
Re: [LAD] Non Session Management, Emanuel Rumpf, (Mon Mar 26, 6:15 pm)
Re: [LAD] Non Session Management, Emanuel Rumpf, (Mon Mar 26, 8:32 pm)
Re: [LAD] Non Session Management, rosea.grammostola, (Mon Mar 26, 9:47 pm)
Re: [LAD] Non Session Management, rosea.grammostola, (Wed Mar 28, 7:25 pm)
Re: [LAD] Non Session Management, J. Liles, (Wed Mar 28, 8:43 pm)
Re: [LAD] Non Session Management, rosea.grammostola, (Wed Mar 28, 9:20 pm)
Re: [LAD] Non Session Management, rosea.grammostola, (Wed Mar 28, 9:28 pm)
Re: [LAD] Non Session Management, Fons Adriaensen, (Mon Mar 26, 9:40 pm)
Re: [LAD] Non Session Management, J. Liles, (Tue Mar 27, 12:15 am)
Re: [LAD] Non Session Management, Fons Adriaensen, (Tue Mar 27, 7:41 pm)
Re: [LAD] Non Session Management, Lieven Moors, (Wed Mar 28, 9:28 am)
Re: [LAD] Non Session Management, Fons Adriaensen, (Wed Mar 28, 8:19 pm)
Re: [LAD] Non Session Management, Emanuel Rumpf, (Tue Mar 27, 8:45 pm)
Re: [LAD] Non Session Management, Emanuel Rumpf, (Wed Mar 28, 1:28 am)
Re: [LAD] Non Session Management, David Robillard, (Wed Mar 28, 3:46 am)
Re: [LAD] Non Session Management, Emanuel Rumpf, (Wed Mar 28, 12:24 pm)
Re: [LAD] Non Session Management, Burkhard Wölfel, (Fri Mar 30, 2:46 pm)
Re: [LAD] Non Session Management, David Robillard, (Fri Mar 30, 5:41 pm)
Re: [LAD] Non Session Management, David Robillard, (Wed Mar 28, 5:26 pm)
Re: [LAD] Non Session Management, thijs van severen, (Wed Mar 28, 1:36 pm)
Re: [LAD] Non Session Management, Renato, (Wed Mar 28, 4:35 pm)
Re: [LAD] Non Session Management, David Robillard, (Wed Mar 28, 5:33 pm)
Re: [LAD] Non Session Management, Emanuel Rumpf, (Wed Mar 28, 6:01 pm)
Re: [LAD] Non Session Management, David Robillard, (Wed Mar 28, 6:53 pm)
Re: [LAD] Non Session Management, Emanuel Rumpf, (Thu Mar 29, 1:30 pm)
Re: [LAD] Non Session Management, David Robillard, (Thu Mar 29, 6:21 pm)
Re: [LAD] Non Session Management, rosea.grammostola, (Mon Apr 2, 9:33 pm)
Re: [LAD] Non Session Management, Emanuel Rumpf, (Wed Mar 28, 12:12 pm)
Re: [LAD] Non Session Management, Emanuel Rumpf, (Mon Mar 26, 11:05 pm)
Re: [LAD] Non Session Management, David Robillard, (Tue Mar 27, 1:23 am)
Re: [LAD] Non Session Management, Emanuel Rumpf, (Tue Mar 27, 12:24 pm)
Re: [LAD] Non Session Management, David Robillard, (Wed Mar 28, 3:43 am)
Re: [LAD] Non Session Management, Emanuel Rumpf, (Wed Mar 28, 12:11 pm)
Re: [LAD] Non Session Management, David Robillard, (Wed Mar 28, 5:01 pm)
Re: [LAD] Non Session Management, David Robillard, (Mon Mar 26, 9:59 pm)
Re: [LAD] Non Session Management, J. Liles, (Mon Mar 26, 7:04 pm)
Re: [LAD] Non Session Management, Louigi Verona, (Mon Mar 26, 4:21 pm)
Re: [LAD] Non Session Management, rosea.grammostola, (Mon Mar 26, 4:30 pm)
Re: [LAD] Non Session Management, Diego Simak, (Mon Mar 26, 8:17 pm)
Re: [LAD] Non Session Management, Emanuel Rumpf, (Mon Mar 26, 8:42 pm)
Re: [LAD] Non Session Management, Diego Simak, (Mon Mar 26, 9:39 pm)
Re: [LAD] Non Session Management, thijs van severen, (Thu Mar 22, 11:59 am)
Re: [LAD] Non Session Management, David Robillard, (Thu Mar 22, 2:54 pm)
Re: [LAD] Non Session Management, rosea.grammostola, (Thu Mar 22, 12:33 pm)
Re: [LAD] Non Session Management, Harry van Haaren, (Thu Mar 22, 1:52 pm)
Re: [LAD] Non Session Management, rosea.grammostola, (Thu Mar 22, 3:43 pm)
Re: [LAD] Non Session Management, Tim E. Real, (Sun Mar 25, 7:35 am)
Re: [LAD] Non Session Management, Fons Adriaensen, (Sun Mar 25, 10:44 am)
Re: [LAD] Non Session Management, thijs van severen, (Thu Mar 22, 12:57 pm)
Re: [LAD] Non Session Management, rosea.grammostola, (Thu Mar 22, 12:53 pm)