Difference between revisions of "Home Symlink"
From LinuxMCE
(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...) |
|||
Line 17: | Line 17: | ||
Else // Doesn't pluto dir structure and is private for a user | Else // Doesn't pluto dir structure and is private for a user | ||
− | /mnt/device/<Device ID>/ -> /home/ | + | /mnt/device/<Device ID>/ -> /home/user_<User>/data/other/<Device Description> [<Device ID>] |
EndIf | EndIf |
Revision as of 13:47, 18 February 2008
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