Home Symlink

From LinuxMCE
Revision as of 13:34, 15 February 2008 by Ender (Talk | contribs) (New page: If ( DeviceData 'Users' = -1 ) // Uses pluto directory structure /mnt/device/<Device ID>/public/data/videos -> /home/public/data/videos/<Device Description> [<Device ID>] /mn...)

(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

If ( DeviceData 'Users' = -1 ) // Uses pluto directory structure

    /mnt/device/<Device ID>/public/data/videos    -> /home/public/data/videos/<Device Description> [<Device ID>]
    /mnt/device/<Device ID>/public/data/audio     -> /home/public/data/audio/<Device Description> [<Device ID>]
    /mnt/device/<Device ID>/public/data/documents -> /home/public/data/documents/<Device Description> [<Device ID>]
    /mnt/device/<Device ID>/public/data/pictures  -> /home/public/data/pictures/<Device Description> [<Device ID>]
   Foreach User
       /mnt/device/<Device ID>/pluto_<User>/data/videos    -> /home/pluto_User/data/videos/<Device Description> [<Device ID>]
       /mnt/device/<Device ID>/pluto_<User>/data/audio     -> /home/pluto_User/data/audio/<Device Description> [<Device ID>]
       /mnt/device/<Device ID>/pluto_<User>/data/documents -> /home/pluto_User/data/documents/<Device Description> [<Device ID>]
       /mnt/device/<Device ID>/pluto_<User>/data/pictures  -> /home/pluto_User/data/pictures/<Device Description> [<Device ID>]
   EndFor

Else If ( DeviceData 'User' = 0 ) // Doesn't use pluto dir structure and is public

   /mnt/device/<Device ID>/ -> /home/public/data/other/<Device Description> [<Device ID>]

Else // Doesn't pluto dir structure and is private for a user

   /mnt/device/<Device ID>/ -> /home/pluto_<User>/data/other/<Device Description> [<Device ID>]

EndIf