delorie.com/archives/browse.cgi | search |
From: | eero AT trema DOT com (Eero Raun) |
Subject: | Re: /tmp bug. |
16 Dec 1996 09:13:24 -0800 : | |
Sender: | daemon AT cygnus DOT com |
Approved: | cygnus DOT gnu-win32 AT cygnus DOT com |
Distribution: | cygnus |
Message-ID: | <2.2.32.19961216153109.00928ef8.cygnus.gnu-win32@hel.trema.com> |
Mime-Version: | 1.0 |
X-Sender: | eero AT hel DOT trema DOT com |
X-Mailer: | Windows Eudora Pro Version 2.2 (32) |
Original-To: | Sergey Okhapkin <sos AT prospect DOT com DOT ru> |
Original-Cc: | gnu-win32 AT cygnus DOT com |
Original-Sender: | owner-gnu-win32 AT cygnus DOT com |
Sergey wrote: >After "mount c:/tmp /tmp" the command "patch <patchfile" didn't work - it >renames patched file to filename.orig and doesn't write patched file! After >"umount /tmp" patch works fine. Is it a bug in my brain?-) You are probably using patch on some other drive than c:? Patch prepares the new file in /tmp and tries to rename it to the active directory. Rename fails if the source and destination are on different filesystems. You shouldn't mount /tmp, just have one in the root of every physical drive. If you are using patch on c:, the previous doesn't apply and your problem is in something else. -eero - For help on using this list, send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |