Frank Hofmann wrote:
> 
> On Fri, 28 Dec 2007, Joerg Schilling wrote:
...
>> Why do you beliece there is a need for a pathconf() call?
>> Either rename(2) succeeds or it fails with a cross-device error.
> 
> Why do you have a NAME_MAX / SYMLINK_MAX query - you can just as well let 
> such requests fail with ENAMETOOLONG.
> 
> Why do you have a FILESIZEBITS query - there's EOVERFLOW to tell you.
> 
> 
> There's no _need_. But the convenience exists for others as well.

Because those 2 involve variable types and/or buffer allocations, so 
knowing them in advance is a major advantage. rename will either succeed 
or fail.

-- 
Carson
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to