Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Apr 2001 14:04:24 -0500
From:      Mike Meyer <mwm@mired.org>
To:        "Joseph Gleason" <clash@fireduck.com>
Cc:        questions@freebsd.org
Subject:   Re: Filesystem character limitations?
Message-ID:  <15050.7864.350754.848942@guru.mired.org>
In-Reply-To: <56604114@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
Joseph Gleason <clash@fireduck.com> types:
> Does the UFS filesystem used by freebsd allow any character value in file
> names?
> Suppose I create a C program that calls mkdir(2) to create a directory, what
> are the limitations on the directory name?
> 
> Can it contain characters > 127?

Yes.

> Can it contain 255?

Yes.

> Can it contain null(0)?

No.

> Currently I am not worried about if any utilities can deal with or display
> these file names..I am just wondering if it is possible and what the
> limitations are.

The other character you can't put in a file name is 47. The rules are
the same for directories and files.

	<mike
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15050.7864.350754.848942>