On Fri, Jan 21, 2005 at 08:23:53PM -0800, Brian Dessent wrote: >Christopher Faylor wrote: > >> >If you want people to use mount, revise the documentation. Either make >> >the statement explicitly and provide an example, or explain the >> >workings of cygwin mounts and how cygwin "starts" clearly enough that >> >readers can deduce for themselves that mount can be used. >> >> What documentation suggests that you should be modifying the registry >> rather than using mount? I'd be happy to change it. > >How about a FAQ entry along the following lines: > >How do I save, restore, delete, or modify the Cygwin information stored >in the registry? > >Currently Cygwin stores its mount table information in the registry. It >is recommended that you use the 'mount' and 'umount' commands to >manipulate the mount information instead of directly modifying the >registry. > >To save the mount information to a file for later restoration, use >"mount -m > mounts.txt". To remove all mount information use "umount >-A". To reincorporate saved mount information use "eval mounts.txt".
The "mount -m" command is actually intended to be a .bat, so it can be something like: c:\>mount -m > mounts.bat # to record it . . . c:\>.\mounts # to restore it Other than that, I like the wording. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/