svn commit: r230129 - in head/sys: kern sys
Bjoern A. Zeeb
bzeeb-lists at lists.zabbadoz.net
Fri Apr 27 08:52:22 UTC 2012
On 15. Jan 2012, at 12:08 , Martin Matuska wrote:
> Author: mm
> Date: Sun Jan 15 12:08:20 2012
> New Revision: 230129
> URL: http://svn.freebsd.org/changeset/base/230129
> Introduce vn_path_to_global_path()
> This function updates path string to vnode's full global path and checks
> the size of the new path string against the pathlen argument.
> In vfs_domount(), sys_unmount() and kern_jail_set() this new function
> is used to update the supplied path argument to the respective global path.
And I have been bitten by that with my image building inside a chroot that
after some years now failed to mount an md file system due to now being
over the 88 char limit with chroot path + mount path inside the chroot
(thanks kib for helping me figure out:)
What I think the solution seems to be a larger project to break statfs
once again and maybe convert it to a nmount like API as nmount and jails
already use so that we'd not need more "ostatfs" versions in the future
and could thus overcome the 88 character limit more easily (and handle
backward compat somehow erroring or truncating or ...). It'd be hard,
tiresome and not much rewarding but great to finally have it.
Meanwhile I'll adjust quite a lot of setups to allow them to continue to
Bjoern A. Zeeb You have to have visions!
It does not matter how good you are. It matters what good you do!
More information about the svn-src-head