Hello Xuân Baldauf wrote: > Hello, > > when downloading something from java.sun.com (e.g. > http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=jdk-1.5.0-doc-oth-JPR&SiteId=JSC&TransactionId=noreg > ), very long URLs are encountered. When trying to download using "wget", > wget tries to open a file with those long filenames, and fails with > ENAMETOOLONG (File name too long). > > I think that the limit is due to the REISERFS_MAX_NAME macro > (http://lxr.linux.no/source/include/linux/reiserfs_fs.h?v=2.6.10#L1107), > which currently resolves to "255" (which supposedly means 255 bytes). > > Is it safe to change REISERFS_MAX_NAME to something larger, or does this > change the disk layout in an unexpected or incompatible way? >
Yes. Max long name in reiserfs used to be much longer and then it was changed for compilability with something. I believe you can easlily change it to 3500. > Thanks, > > Xuân Baldauf. > > >