[Top][All Lists]

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

Re: weird PATH_MAX discussion in mplayer's list. (Fwd: [MPlayer-dev-eng]

From: Paul Jarc
Subject: Re: weird PATH_MAX discussion in mplayer's list. (Fwd: [MPlayer-dev-eng] [PATCH] fix for unconditional use of PATH_MAX)
Date: Thu, 01 May 2003 19:30:27 -0400
User-agent: Gnus/5.09002 (Oort Gnus v0.20) Emacs/21.3 (gnu/linux)

Robert Millan <> wrote:
> on other systems, you can't create a directory longer than PATH_MAX.

As I mentioned on the MPlayer list, you can, as long as each
individual component is small enough.  On GNU/Linux, my PATH_MAX is
4096, but I just created a path 25631 bytes long.  I just happened to
stop there; there was no indication that I couldn't go even further.
for x in `seq 1024`; do
  mkdir fooooooooooooooooooooooo || break
  cd fooooooooooooooooooooooo || break


reply via email to

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