all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kevin Rodgers <kevin.rodgers@ihs.com>
Subject: Re: Bug Emacs 21.3: write-file downcasing
Date: Wed, 12 Feb 2003 10:50:12 -0700	[thread overview]
Message-ID: <3E4A8954.5060606@ihs.com> (raw)
In-Reply-To: m2ptpx299k.fsf@nyaumo.jasonr.f2s.com

Jason Rumney wrote:

> There are already places in the Emacs code where inodes are used (to
> deal with hard-links), making a function available for lisp to do
> such a comparison and encouraging people to use it rather than string=
> seems like a good thing to me.

Actually, I've run into a problem that I think is a result of Emacs assuming
each distinct file has a unique inode: On Network Appliance NFS servers, there
is a snapshot mechanism that is used to retain old versions of files at
configurable intervals.  Those files are stored in read-only subdirectories,
via pointers to the original disk blocks, and apparently they share inodes.
Here's a real example of some `ls -lrti` output:

   23541505 -rw-rw-r--   1 edoc     edoc        1157 Feb  4 06:00 
.snapshot/nightly.7/PipeStatus.rpt
   23541505 -rw-rw-r--   1 edoc     edoc        1097 Feb  5 06:00 
.snapshot/nightly.6/PipeStatus.rpt
   23541505 -rw-rw-r--   1 edoc     edoc        1127 Feb  6 06:00 
.snapshot/nightly.5/PipeStatus.rpt
   23541505 -rw-rw-r--   1 edoc     edoc        1187 Feb  7 06:00 
.snapshot/nightly.4/PipeStatus.rpt
   23541505 -rw-rw-r--   1 edoc     edoc        1187 Feb  7 06:00 
.snapshot/nightly.3/PipeStatus.rpt
   23541505 -rw-rw-r--   1 edoc     edoc        1187 Feb  7 06:00 
.snapshot/nightly.2/PipeStatus.rpt
   23541505 -rw-rw-r--   1 edoc     edoc        1187 Feb 10 06:00 
.snapshot/nightly.1/PipeStatus.rpt
   23541505 -rw-rw-r--   1 edoc     edoc        1187 Feb 11 06:00 
.snapshot/nightly.0/PipeStatus.rpt
   23541505 -rw-rw-r--   1 edoc     edoc        1187 Feb 11 06:00 
.snapshot/hourly.0/PipeStatus.rpt
   23541505 -rw-rw-r--   1 edoc     edoc        1217 Feb 12 06:00 PipeStatus.rpt

Even though these files have different contents, sizes, and timestamps, they
share the same inode number.

-- 
<a href="mailto:&lt;kevin.rodgers&#64;ihs.com&gt;">Kevin Rodgers</a>

  parent reply	other threads:[~2003-02-12 17:50 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-07  5:38 Bug Emacs 21.3: write-file downcasing Dhruva Krishnamurthy
2003-02-07  8:07 ` Juanma Barranquero
2003-02-07 15:23   ` Eli Zaretskii
2003-02-07 15:50     ` Juanma Barranquero
2003-02-07 17:16       ` Eli Zaretskii
2003-02-07 17:33         ` Juanma Barranquero
2003-02-07 17:57           ` Stefan Monnier
2003-02-07 18:19             ` Eli Zaretskii
2003-02-09 12:39               ` Richard Stallman
2003-02-09 15:52                 ` Eli Zaretskii
2003-02-10  4:41                   ` Dhruva Krishnamurthy
2003-02-10  5:46                     ` Eli Zaretskii
2003-02-10 10:03                       ` Dhruva Krishnamurthy
2003-02-10  8:21                     ` Jason Rumney
2003-02-10 10:44                       ` Juanma Barranquero
     [not found]               ` <m2smuxcwba.fsf@primate.xs4all.nl>
2003-02-10 22:39                 ` Richard Stallman
2003-02-10 22:52                   ` Andreas Schwab
2003-02-11 22:25                     ` Richard Stallman
2003-02-12  8:28                       ` Jason Rumney
2003-02-12 10:26                         ` Kim F. Storm
2003-02-12 19:36                           ` Jason Rumney
2003-02-12 17:50                         ` Kevin Rodgers [this message]
2003-02-12 22:19                           ` Andreas Schwab
2003-02-14 22:29                             ` Kevin Rodgers
2003-02-11 14:53                   ` Benjamin Riefenstahl
2003-02-11 23:02                     ` Jason Rumney
2003-02-12 13:37                       ` Benjamin Riefenstahl
2003-02-12 13:49                         ` Andreas Schwab
2003-02-12 14:57                           ` Benjamin Riefenstahl
2003-02-12 19:40                         ` Jason Rumney
2003-02-07 18:18           ` Eli Zaretskii
2003-02-07 20:19             ` Juanma Barranquero
2003-02-07 23:03               ` Eli Zaretskii
2003-02-07 18:31         ` Jason Rumney

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=3E4A8954.5060606@ihs.com \
    --to=kevin.rodgers@ihs.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.