zsh-users
 help / color / mirror / code / Atom feed
From: jarausch@igpm.rwth-aachen.de
To: schaefer@candle.brasslantern.com
Cc: zsh-users@sunsite.dk
Subject: Re: strange effect on Linux
Date: Wed, 14 Mar 2001 09:47:02 +0100	[thread overview]
Message-ID: <200103140847.JAA64682@numa1.igpm.rwth-aachen.de> (raw)
In-Reply-To: <1010312221520.ZM29765@candle.brasslantern.com>

On 12 Mar, Bart Schaefer wrote:
> On Mar 12, 10:51am, jarausch@igpm.rwth-aachen.de wrote:
> } Subject: strange effect on Linux
> }
> } Progs=(perl5.7.$V sperl5.7.$V perl suidperl a2p c2ph h2ph h2xs \
> }        perlbug perldoc pl2pm splain perlcc dprofpp s2p find2perl \
> }        pod2man pod2html pod2latex pod2text pod2usage podchecker podselect pstruct)
> } mkdir Perl.$Mode.5.7.$V.$R
> } mv -f $^Progs Perl.$Mode.5.7.$V.$R/
> } 
> } Again and again I get the error messages
> } 
> } mv: Perl.Prod.5.7.0.9063/perl: No such file or directory
> } mv: Perl.Prod.5.7.0.9063/suidperl: No such file or directory
> } mv: Perl.Prod.5.7.0.9063/pstruct: No such file or directory
> } 
> } and I don't understand why it tries to access these files.
> 
> perl, suidperl, and pstruct are all hard links to other files.  In each
> case your "mv" command has already "mv"d the other name (e.g. perl5.7.0
> for perl) for those files to the new directory.
> 
> This sounds like a bug in "mv" -- are you using zsh's files module, or
> /bin/mv, or ...?  Which linux *distribution* (not just kernel version)
> of linux are you using?  What version of GNU fileutils?  Are there any
> NFS file systems involved?


Many thanks, you're right.
It seems to be a bug in GNU fileutils-4.0

There is no NFS file system involved.

I've made a simple test in a fresh directory

mkdir TT
touch a
ln a b
mv a b TT

and I get the same error message that
TT/b is missing.

Having loaded zsh/files
it works just fine.

So, I'll have to write a bug report to gnu.

Thanks for solving this mystery,
Helmut.


-- 
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
Institute of Technology, RWTH Aachen
D 52056 Aachen, Germany


      parent reply	other threads:[~2001-03-14  8:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-12  9:51 jarausch
2001-03-12 22:15 ` Bart Schaefer
2001-03-12 23:19   ` Vincent Lefevre
2001-03-14  8:47   ` jarausch [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200103140847.JAA64682@numa1.igpm.rwth-aachen.de \
    --to=jarausch@igpm.rwth-aachen.de \
    --cc=schaefer@candle.brasslantern.com \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).