[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs changed file's own user and file permission

From: Xah Lee
Subject: Re: emacs changed file's own user and file permission
Date: Tue, 11 Dec 2007 21:00:57 -0800 (PST)
User-agent: G2/1.0

Dear Eli Zaretskii moron,

Eli wrote:
《What do you think is the limit of a file-name length on your
system? 》

Xah wrote:
Huh?? What do i think is the limit? Are you trying to say, by a
rhetorical question, that what i think so is probably not right?

If the average file name char length is n, and your file that emacs
going to do the backup is in m levels of dir nesting. Then, the backup
file char length is n*m+n.

m*n+n is a order of magnitude of n. If n is the max length allowed,
you can easily see how the emacs scheme easily go beyond it.  In real
world, probably 99.99% of people will never use more than 10% of the
max length in file names, and probably will never have subdirs that
are nested more than, say, 10 levels deep. So this means that 99% of
those who uses this emacs backup scheme will prob not encounter the
problem of it reaching file name legth limit. It will be a problem for
sizable number of programers however (maybe hundreds or thousands,
worldwide), since there are a software implementations (say, those
uses file system as database) easily will make fully use the file name
length and dir nesting limit.

Eli replies, the whole of the content in his post:
《Yes.  Most modern file systems either have no practical limit at all,
or have such a large limit that you will in practice never reach it. 》

Note: this post contains unicode chars U+300A and U+300B as quotation
brackets. Google groups may bave botched it.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]