Quote:
Originally Posted by
methyl
Posts #1 and #7 in that thread are vague, difficult to understand and appear contradictory. I can see why post #7 stopped the thread dead.
In order to script something there would need to be an existing working manual process or at least a clear definition of the process. I see neither.
I don't think that it is even clear which computer(s) need the process or whether you are clear what "mount" means in the unix world.
Others may differ.
Yes, you are probably right and demonstrates my lack of knowledge as I have only been using Linux for about 18months. I have come a long way in the last 18months as a non-IT proffessional but realise these types of scripts are way beyond my ability, hence the posts on these types of forums - this is probably the best I have found so far.
Basically I have a central server running ubuntu 10.04 server edition. This acts as a file, print, samba, ftp server and gateway for my local network. I have used a mix of ebox, webmin and CLI to administer it. I would like to mount a common directory in the /home directory of all the users at start up. I quickly realised that this was not possible by mounting them via fstab without listing all the mount points individually which is why I have turned to creating a startup script. All the users have real accounts on the server and login via LDAP for samba. In summary I need a script that will:
1. check if a given directory is present in /home of all users
2. create the directory if it is not present to act as a mount point
3. mount a separate directory that resided on a different partition at the mount point that has just been created for all users.
Hopefully this is clearer
Thanks