bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: lots of gnu utils have the dreaded filename length creativity impedi


From: Paul Jarc
Subject: Re: lots of gnu utils have the dreaded filename length creativity impediment
Date: Wed, 19 Dec 2001 11:14:36 -0500
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 (i386-redhat-linux-gnu)

Dan Jacobson <address@hidden> wrote:
> Dear GNU sirs, perhaps many of your tools have the dreaded "arbitrary
> filename length limit", e.g.
>
> $ touch $(yes|sed 260q|tr -d \\n)
> touch: yyyyyyyy ... yyyyyyyyyyyyyyyyyy: File name too long

Most likely, this is a kernel limitation.  Try running that under
strace; if open() or utime() or whatever returns -1 with
errno=ENAMETOOLONG, then there's nothing the program can do about it.


paul



reply via email to

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