Difference between revisions of "Home Symlink"

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

Revision as of 12:40, 20 February 2008

This article needs to be categorized


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