diff options
author | phk <phk@FreeBSD.org> | 2003-02-04 11:07:28 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-02-04 11:07:28 +0000 |
commit | e4bc5a2e462a7f175b96acc2a86178e0e204e925 (patch) | |
tree | 8276e00fecd3eb58dcfe2351af24a281f28e4291 | |
parent | f313c57d47541a48ff1fb42315630e85797d3d5e (diff) | |
download | FreeBSD-src-e4bc5a2e462a7f175b96acc2a86178e0e204e925.zip FreeBSD-src-e4bc5a2e462a7f175b96acc2a86178e0e204e925.tar.gz |
Increase the allowed length of device names to 63 characters.
This is a band-aid while I fret over how much breakage removing the
restriction entirely will result in.
Please note that this is still a limit for the entire pathname
relative to the mountpoint of devfs, so the length of "/dev/fd/3"
is 4 characters.
-rw-r--r-- | sys/sys/param.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/param.h b/sys/sys/param.h index 036e4bb..033e1d7 100644 --- a/sys/sys/param.h +++ b/sys/sys/param.h @@ -83,7 +83,7 @@ #define NOFILE OPEN_MAX /* max open files per process */ #define NOGROUP 65535 /* marker for empty group set member */ #define MAXHOSTNAMELEN 256 /* max hostname size */ -#define SPECNAMELEN 15 /* max length of devicename */ +#define SPECNAMELEN 63 /* max length of devicename */ /* More types and definitions used throughout the kernel. */ #ifdef _KERNEL |