www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/06/12/14:08:44

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
Sender: fujieda AT elbereth DOT jaist DOT ac DOT jp
To: cygwin-developers AT sourceware DOT cygnus DOT com
Subject: duplicate inode number
Mime-Version: 1.0 (generated by tm-edit 7.106)
From: Kazuhiro Fujieda <fujieda AT jaist DOT ac DOT jp>
Date: 13 Jun 1999 03:08:18 +0900
Message-ID: <s1shfodthpp.fsf@jaist.ac.jp>
Lines: 28
X-Mailer: Gnus v5.3/Emacs 19.34

I reported this problem and the patch resolving it once, but there
has been no response. So I try to explain it more concretely.

As reported in the cygwin mailing list, `mv' sometime complains
completely different files are the same file. Because these files
have the same inode number.

For example, 

$ touch 1 2 3 4 5
$ mv 1 2
mv: `1' and `2' are the same file
$ ls -i
   1447 1     1447 2     1445 3     1445 4     1447 5

This can be observed on Win9x in the snapshots since 12 Feb when the
following changes are made.

Fri Feb 12 13:17:49 1999  Corinna Vinschen  <corinna DOT vinschen AT cityweb DOT de>

        * fhandler.cc (fhandler_disk_file::fstat): Handles directories,
        returns unique i-node number.
        * syscalls.cc (stat_worker): On WinNT, stat_worker calls
        fhandler_disk_file::fstat for directories, too.
____
  | AIST      Kazuhiro Fujieda <fujieda AT jaist DOT ac DOT jp>
  | HOKURIKU  School of Information Science
o_/ 1990      Japan Advanced Institute of Science and Technology

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019