From: tkollar AT anduin DOT lerc DOT nasa DOT gov (Tad Kollar) Subject: Re: mount/umount from commandline... 23 May 1998 12:58:33 -0700 Message-ID: <199805221338.JAA01461.cygnus.gnu-win32@anduin.lerc.nasa.gov> References: <6txSWi04pfB AT mike DOT franken DOT de> Reply-To: tkollar AT lerc DOT nasa DOT gov Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=ELM895844315-1431-0_ Content-Transfer-Encoding: 7bit To: mh AT mike DOT franken DOT de (Michael Hirmke) Cc: gnu-win32 AT cygnus DOT com --ELM895844315-1431-0_ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > [...] > C:\>>> umount / > C:\>>> mount C:/temp / > >>mount failed: Device or resource busy > > > >Don't know, but this works perfectly for me, even with a bash running in > >a second window. > > No I have to followup my own answer: It didn't work *even* with a bash > running in a second window, it worked *because* of this bash. > Obviously with this bash the cygwin layer was present in memory. > > If no cygwin process is running, it is not possible to remount /, as > others already have stated and explained. You could always do a command-line regedit with a previously exported registry tree (i.e. 'regedit mounts.reg'. I'll attach one to this message). The only problem is that it pops up a little dialog box to tell you it did it. Probably someone on here knows of a utility that doesn't involve the gui at all... -Tad -- ------------------------------------------------------------------------- Thaddeus J. Kollar | Sterling Software, Scientific Systems Division | "Evildoers, eat my NASA Lewis Research Center | justice!!!" - The Tick Tel: 216-433-5105 Fax: 216-433-8000 | ------------------------------------------------------------------------- --ELM895844315-1431-0_ Content-Type: text/plain; charset=US-ASCII Content-Disposition: attachment; filename=mounts.reg Content-Description: Cygwin32 mounts registry file Content-Transfer-Encoding: 7bit REGEDIT4 [HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup] [HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0] [HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts] [HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00] "native"="f:\\USERS" "unix"="/u" "fbinary"=dword:00000001 "fsilent"=dword:00000000 [HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\01] "native"="\\\\.\\tape1:" "unix"="/dev/st1" "fbinary"=dword:00000000 "fsilent"=dword:00000001 [HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\02] "native"="\\\\.\\tape0:" "unix"="/dev/st0" "fbinary"=dword:00000000 "fsilent"=dword:00000001 [HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\03] "native"="\\\\.\\b:" "unix"="/dev/fd1" "fbinary"=dword:00000000 "fsilent"=dword:00000001 [HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\04] "native"="\\\\.\\a:" "unix"="/dev/fd0" "fbinary"=dword:00000000 "fsilent"=dword:00000001 [HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\05] "native"="F:\\CygRoot" "unix"="/" "fbinary"=dword:00000001 "fsilent"=dword:00000000 --ELM895844315-1431-0_-- - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".