[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: Bug#8463: konqueror : Should make it impossible to write a file name
From:       Richard Moore <rich () ipso-facto ! freeserve ! co ! uk>
Date:       2000-08-16 17:23:38
[Download RAW message or body]



James Hollingshead wrote:
> 
> On Wed, Aug 16, 2000 at 10:11:46AM -0700, Linux QA wrote:
> > Package: konqueror
> > Version: 1,93 (KDE 1,92 2000-08-14)
> > Severity: wishlist
> >
> > When I tried to experiment with the bug number 8423 for creating
> > files and folders with very long names, I noticed that if the
> > filename was having more than 128 characters, I would get an
> > error message saying << Could not make directory [Directory name]
> > >>.  Would it be better if when writing the file name and the
> > user gets to 128 characters that it would just not be possible to
> > add more letters to the name ?
> 
> The 128 characters is filesystem specific though isn't it? If you are
> creating a file on a FAT partition you will have an 8+3 character
> limit, and in the future (or even now - I don't know) there may be
> filesystems that allow longer names, although I don't see the point.
> It seems to me that the only consistent thing to do is to attempt to
> create the file and then report failure back as happens at the moment.

On local file systems you could create the file then rename it as
use edits. That way you would be able to give immediate feedback,
the problem is that this is a performance hog, especially if the
'local' filesystem is in fact an NFS mount or similar.

Rich.

> 
> James

-- 
     Richard Moore		rich@ipso-facto.freeserve.co.uk
http://www.robocast.com/	richard@robocast.com
http://developer.kde.org/	rich@kde.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic