[mythtv-commits] Ticket #10325: Modify mythlink.pl to allow relative file names to be used in the links
MythTV
noreply at mythtv.org
Sun Feb 12 13:13:28 UTC 2012
#10325: Modify mythlink.pl to allow relative file names to be used in the links
------------------------------------------------+--------------------------
Reporter: Nick Martin <njm@…> | Owner: xris
Type: Patch - Feature | Status: new
Priority: minor | Milestone: unknown
Component: Apps - Nuvexport | Version: 0.24-fixes
Severity: medium | Keywords: mythlink.pl
Ticket locked: 0 | relative
------------------------------------------------+--------------------------
This is useful if your links directory and recordings directory are both
in a directory tree exported by an NFS server. Links to absolute file
names will be broken in the NFS clients, but links to relative file names
will be ok.
E.g., if /home is exported on an NFS server with the following dirs:
{{{/home/nick/links}}}\\
{{{/home/mythtv/recordings}}}
...and the exported /home is mounted by an NFS client at /mnt/mythtv, then
{{{/mnt/mythtv/nick/links/Title.mpg ->
/home/mythtv/recordings/1004_20111224115800.mpg}}} is broken\\
{{{/mnt/mythtv/nick/links/Title.mpg ->
../../mythtv/recordings/1004_20111224115800.mpg}}} is ok
The attached patch adds a {{{--relative}}} option to allow relative file
names to be used in the links created by {{{mythlink.pl}}}.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/10325>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list