Difference between revisions of "Home Symlink"

From LinuxMCE
Jump to: navigation, search
m (needs categorization)
m
 
Line 1: Line 1:
{{nocat}}
+
[[Category: Software]]
  
 
If ( DeviceData 'Users' = -1 ) // Uses pluto directory structure
 
If ( DeviceData 'Users' = -1 ) // Uses pluto directory structure

Latest revision as of 04:18, 13 August 2009


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