FreeBSD/sys/fs/udf/udf_vnops.c
/*
 * I'm not sure that this has much value in a read-only filesystem, but
 * cd9660 has it too.
 */
I'm not sure that this has much value in a read-only filesystem, but
cd9660 has it too.
I ' m not sure that this has much value in a read - only filesystem but cd9660 has it too .
static int
udf_pathconf(struct vop_pathconf_args *a)
{
	switch (a->a_name) {
	case _PC_LINK_MAX:
		*a->a_retval = 65535;
		return (0);
	case _PC_NAME_MAX:
		*a->a_retval = NAME_MAX;
		return (0);
	case _PC_PATH_MAX:
		*a->a_retval = PATH_MAX;
		return (0);
	case _PC_NO_TRUNC:
		*a->a_retval = 1;
		return (0);
	default:
		return (EINVAL);
	}
}
static int udf_pathconf ( struct vop_pathconf_args * a ) { switch ( a -> a_name ) { case _PC_LINK_MAX : * a -> a_retval = 65535 ; return ( 0 ) ; case _PC_NAME_MAX : * a -> a_retval = NAME_MAX ; return ( 0 ) ; case _PC_PATH_MAX : * a -> a_retval = PATH_MAX ; return ( 0 ) ; case _PC_NO_TRUNC : * a -> a_retval = 1 ; return ( 0 ) ; default : return ( EINVAL ) ; } }
I'm not sure that this has much value in a read-only filesystem, but
 cd9660 has it too.
I ' m not sure that this has much value in a read - only filesystem but cd9660 has it too .