On Thu, Feb 21, 2002 at 09:56:33PM -0600, Michael Hipp wrote: >Is there some elegant way to have SMB shares automounted and also have them >remounted if they die during the day (frequently, I might add)? Where Linux >is the SMB client and the server is Win. > >(Something more elegant than just running a CRON job of smbmount every few >minutes.)
I haven't tried sharing disks from Windows machines because we don't keep any critical data on them, but have all the Windows boxes storing their data on Linux and Unix systems. I don't think this would be difficult using the amd automounter. looking at the /etc/am.d/conf and /etc/am.d/localdev files you should be able to set up an automounted directory for Windows machines, say /autowin. Add a couple of lines to /etc/am.d/conf: [/autowin] browsable_dirs = no map_name = /usr/local/etc/amd.win Now create /usr/local/etc/amd.win with the appropriate mount commands using /etc/am.d/localdev file as a model. As I said, I haven't tried this myself, and don't have any Windows machines in-house to use for practice. We use the amd automounter extensively to handle home directories under /homes and shared directories under /vol, and it's been working well for us for about five years now. Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC UUCP: camco!bill PO Box 820; 6641 E. Mercer Way FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/ ``People from East Germany have found the West so confusing. It's so much easier when you have only one party.'' -- Linus Torvalde, Linux Expo Canada when asked about confusion over many Linux distributions. _______________________________________________ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
