Date: Tue, 25 May 2010 15:22:06 +0200 From: Michiel Detailleur <md@scoutsengidsenvlaanderen.be> To: Pawel Jakub Dawidek <pjd@FreeBSD.org> Cc: freebsd-fs@freebsd.org Subject: Re: [Spam? ] Re: ZFS snapshot name length limit? (File name too long) Message-ID: <4BFBCEFE.30004@scoutsengidsenvlaanderen.be> In-Reply-To: <20100311130807.GJ2350@garage.freebsd.pl> References: <4B97A963.9040300@scoutsengidsenvlaanderen.be> <20100310174411.GE1715@garage.freebsd.pl> <4B98E95B.90806@scoutsengidsenvlaanderen.be> <20100311130807.GJ2350@garage.freebsd.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
Pawel Jakub Dawidek schreef: > On Thu, Mar 11, 2010 at 02:00:11PM +0100, Michiel Detailleur wrote: > >> >From looking at the code, I think you hitting this limit: >> >>> This is FreeBSD limit caused by statfs structure: >>> >>> /* >>> * filesystem statistics >>> */ >>> [...] >>> #define MNAMELEN 88 /* size of on/from name bufs */ >>> [...] >>> >>> ZFS mounts snapshots on lookup and this is this mount that fails. >>> >>> >> So all that would need to be done to allow mounting snapshots with >> longer names would be to increase this value? (I'm not a C programmer, >> so bear with me :) ) >> > > Such change will break ABI compatibility with tools compiled on previous > FreeBSD versions. As you can see in sys/sys/mount.h this is the reason > we still keep ostatfs structure. I'll discuss the possibilities with > other FreeBSD committers and we will see what we can do about it. > Hi Pawel, Did you and the other committers have a chance to discuss this yet? It would be nice if a fix for this could make it into 8.1 :) Michiel
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BFBCEFE.30004>