Home Symlink

From LinuxMCE
Revision as of 12:47, 18 February 2008 by Ender (Talk | contribs)

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/user_<User>/data/other/<Device Description> [<Device ID>]

EndIf