Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <20000914224009.11541.qmail@web112.yahoomail.com> Date: Thu, 14 Sep 2000 15:40:09 -0700 (PDT) From: Earnie Boyd Subject: Warning: Dangerous mv command To: cygwin users MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Be cautious of the following scenario: Cygwin is in D:\Cygwin-1.1 I want to mount directory D:\Archive_Backup as /foo (note this is the same device) So I: mkdir /foo mount -b D:/Archive_Backup /foo I change my mind and want /foo to be /bar so: mv /foo /bar The result is that of: move D:\Archive_Backup D:\Cygwin-1.1\bar /foo is still mounted and still points to D:\Archive_Backup The empty mount point /foo still exists. ls /foo gives `ls: /foo: No such file or directory' ls /bar gives listing of files that exited in D:\Archive_Backup. Cheers, ===== --- --- Earnie Boyd: __Cygwin: POSIX on Windows__ Cygwin Newbies: __Minimalist GNU for Windows__ Mingw32 List: Mingw Home: __________________________________________________ Do You Yahoo!? Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/ -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com