This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: mount/umount from commandline...


> [...]
> 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           |
-------------------------------------------------------------------------
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]