From owner-freebsd-fs Tue Jan 28 3:21:51 2003 Delivered-To: freebsd-fs@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 931) id A7F2037B401; Tue, 28 Jan 2003 03:21:50 -0800 (PST) Date: Tue, 28 Jan 2003 03:21:50 -0800 From: Juli Mallett To: freebsd-fs@FreeBSD.org Cc: Adrian Chadd Subject: Filesystem names with non-alphanum characters? Message-ID: <20030128032150.B45888@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Organisation: The FreeBSD Project X-Alternate-Addresses: , , , , X-Towel: Yes X-LiveJournal: flata, jmallett X-Negacore: Yes Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Does anyone have a FreeBSD filesystem with a VFS type name which contains a space? Any other characters that are not alphanumeric? fsck currently has a hack to look for fsck_foo_bar for the vfstype "foo bar", but does not handle other things, and I am not sure if there is a use for this special case at all, or if there is if we should handle a larger set of transposition. Even the one case I thought maybe would exist ("4.2 ufs" or "4.2BSD ufs") does not, and the analogue to it ("4.2bsd") has no space, and there is no fsck to support that with a space ("fsck_4.2_bsd"). Anyone with input on this would be very welcome to speak up. We've had it since we got this stuff from NetBSD, sorta. It appears to be something Adrian added when converting it to our VFS system, so I'm willing to write off that it was a "this is a good idea" change, since our VFS system might not guarantee no spaces, but if it isn't something useful, then it might be a good idea to remove it, as we certainly don't actually try to make a name we can use, we just handle one small case. If nothing comes inre this, I may try to borrow phk's Danish axe for application to this code, otherwise I will try to make it more general purpose. Thanx, juli. -- Juli Mallett AIM: BSDFlata -- IRC: juli on EFnet OpenDarwin, Mono, FreeBSD Developer ircd-hybrid Developer, EFnet addict FreeBSD on MIPS-Anything on FreeBSD To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message