This is the mail archive of the cygwin@sources.redhat.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: Can't remove erroneous mount...


On Sat, Sep 02, 2000 at 09:54:35PM -0700, Richard Stanton wrote:
>By accident, I just ran the command
>
>  mount -s -f -b / c:
>
>(I got the two arguments reversed).
>
>Unfortunately, there is no way to unmount this now I've created it. For
>example,
>
>c:\>umount --remove-system-mounts
>umount: c:: Invalid argument
>
>c:\>umount c:
>umount: c:: Invalid argument
>
>c:\>mount
>Device              Directory           Type         Flags
>c:\usr\local        /usr/local          user         binmode
>\\.\tape0:          /dev/st0            user         textmode
>\\.\tape1:          /dev/st1            user         textmode
>\\.\a:              /dev/fd0            user         textmode
>\\.\b:              /dev/fd1            user         textmode
>\                   c:                  system       binmode
>
>How can I get rid of the last mount listed?

umount -s \

or

umount -s \\

if you are running from bash.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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