Das Werkstatt

what we do? everything.
It is currently Fri Sep 10, 2010 3:35 am

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: ISOs automounting in samba
PostPosted: Tue Dec 29, 2009 7:47 pm 
Offline
Site Admin
User avatar

Joined: Fri Aug 29, 2003 7:29 pm
Posts: 308
[Problem]
Often in the LAN, its needed to mount ISOs into a samba share on a linux server. It would be awesome to automatically do this :)



[Idea]
1. ISOs are created/downloaded/whatever
2. The ISOs are put automatically into a folder
3. A script/daemon scans this folder periodically(?) and:
* creates a mountpoint
* mounts the ISO into it
* adds necessary share information into smb.conf
* makes samba reload its config to make it available
4. Fun!


Additional:
* Automatically remove mount-point/share if ISO is moved out of folder?
* Error correction, as in some ISOs need different flags
-> parse error and try different method before throwing a real error?
* Cleanup option
-> to remove all mountpoints and smb config blocks
-> maybe with tags in the config file ( <ISOs> </ISOs> as comments)

Edit:
Maybe better, have ONE share so leave the smb config changes out - maybe called 'Mounted_ISOs' or something, and mount the ISOs in subdirectories there?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group