Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Drop support for multiple video dirs? [was: FeatureRequest]



Carsten Koch wrote:
> 
> Klaus Schmidinger wrote:
> ...
> > What I would really like to do is to get rid of this
> > altogether! I shouldn't have implemented this "spreading
> > recordings over drives and linking them together" in the
> > first place, but at the time it seemed like a useful idea.
> 
> As I have said already in the past: I am sorry I talked you
> into this back then. I have used it only for a very short time.
> 
> As soon as you had implemented subdirectories, this became
> obsolete. I created a top level entry for each genre in /video.
> Some of them are actual directories in /video and some are
> symbolic links to other mount points.
> 
> Here is what it currently looks like on my vdr:
> 
> vdr /home/cko> df -hTl
> Filesystem    Type    Size  Used Avail Use% Mounted on
> /dev/hda2      xfs    114G   92G   23G  81% /
> /dev/hdb1      xfs    153G  144G  8.9G  95% /video2
> /dev/hdc1      xfs    153G  134G   19G  88% /video
> /dev/hdd1      xfs    153G  145G  8.1G  95% /video3
> shmfs          shm    189M     0  189M   0% /dev/shm
> vdr /home/cko> ls -l /video
> total 5504
> lrwxrwxrwx    1 cko      users          14 2003-04-05 05:22 Action -> /video2/Action
> drwxr-xr-x   35 cko      users        4096 2003-09-29 00:22 Comedy
> lrwxrwxrwx    1 cko      users          19 2003-04-15 22:05 Fantasy -> /video4/vdr/Fantasy
> lrwxrwxrwx    1 cko      users          14 2003-04-05 05:22 Horror -> /video3/Horror
> lrwxrwxrwx    1 cko      users          12 2003-04-05 05:22 Kids -> /video3/Kids
> drwxr-xr-x    8 cko      users         140 2003-09-23 01:23 Misc
> lrwxrwxrwx    1 cko      users          13 2003-04-05 05:22 Music -> /video3/Music
> drwxr-xr-x   13 cko      users        4096 2003-10-03 02:39 SciFi
> lrwxrwxrwx    1 cko      users          15 2003-04-05 05:22 Science -> /video2/Science
> lrwxrwxrwx    1 cko      users          16 2003-04-05 05:22 Thriller -> /video3/Thriller
> -rw-r--r--    1 cko      users     5625013 2003-10-03 15:55 epg.data
> 
> Note that Fantasy points to a lower-level directory on the root disk,
> while some of the others just point to top-level directories on the
> /video2 and /video3 disks. vdr of course only sees /video.
> 
> For me, this is a nice and flexible solution.
> 
> The only concern I have with the current vdr is: when one of
> these disks becomes full, will vdr run amok and delete old
> recordings randomly from just any disk or will it follow my
> symbolic links and only delete recordings from the disk that
> actually became full?

I'm not sure. That's probably something that needs to be
investigated, anyway, since that situation can already
occur, even without dropping the current "multiple video dir"
support.

Klaus


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index