neill
September 16th, 2008, 07:25 PM
hi
i have all my music sitting on a headless ubuntu 8.04 server in /home/me/music and the kids both have accounts on the server with there own music folders symlinked to mine
in other words /home/me/music is symlinked to /home/kidA/music and /home/kidB/music
this saves me having to keep multiple copies of the same tunes and means that updates to my music folder are accessible for the kids
this works fine when the kids are using XP - we simply map their music folders and then point their copies of WinAmp (cf amarok or whatever) to the mapped folders to get the music. XP cannot distinguish between the 'real' files and the symlinked ones so it all works great
however ...
now i want to wean the kids off of XP so i need a way of doing exactly the same as the above in (k)ubuntu
so i mount the music folders either using mount -t or in fstab and when i browse to them all i see are the links and an error telling me that the folder to which they point (ie: /home/me/music) doesn't exist (ie is not mounted on that machine - and i have no intention of doing that !!). in other words linux is smart enough to see the symlinks for what they really are !!!
hardlinks do work but i'm not about to hardlink 4000 or more songs (as i can't hardlink a folder) and i'm not too sure this won't provide some mechanism by which the original files could get deleted
anyone any ideas how i can get around this ??
thanks
/neill
i have all my music sitting on a headless ubuntu 8.04 server in /home/me/music and the kids both have accounts on the server with there own music folders symlinked to mine
in other words /home/me/music is symlinked to /home/kidA/music and /home/kidB/music
this saves me having to keep multiple copies of the same tunes and means that updates to my music folder are accessible for the kids
this works fine when the kids are using XP - we simply map their music folders and then point their copies of WinAmp (cf amarok or whatever) to the mapped folders to get the music. XP cannot distinguish between the 'real' files and the symlinked ones so it all works great
however ...
now i want to wean the kids off of XP so i need a way of doing exactly the same as the above in (k)ubuntu
so i mount the music folders either using mount -t or in fstab and when i browse to them all i see are the links and an error telling me that the folder to which they point (ie: /home/me/music) doesn't exist (ie is not mounted on that machine - and i have no intention of doing that !!). in other words linux is smart enough to see the symlinks for what they really are !!!
hardlinks do work but i'm not about to hardlink 4000 or more songs (as i can't hardlink a folder) and i'm not too sure this won't provide some mechanism by which the original files could get deleted
anyone any ideas how i can get around this ??
thanks
/neill