diff options
author | julian <julian@FreeBSD.org> | 1998-04-19 23:32:49 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 1998-04-19 23:32:49 +0000 |
commit | 0796a5c56ed9d1eaf2c8691327b581fcfa3cd05b (patch) | |
tree | 9c3ff4ea4ec1cc8aeb30628a4e4452193f1d12cb /sys/kern/subr_diskslice.c | |
parent | 64e2dfa0bb7dd8d4a7affdfbf920764d02d2b02c (diff) | |
download | FreeBSD-src-0796a5c56ed9d1eaf2c8691327b581fcfa3cd05b.zip FreeBSD-src-0796a5c56ed9d1eaf2c8691327b581fcfa3cd05b.tar.gz |
Add changes and code to implement a functional DEVFS.
This code will be turned on with the TWO options
DEVFS and SLICE. (see LINT)
Two labels PRE_DEVFS_SLICE and POST_DEVFS_SLICE will deliniate these changes.
/dev will be automatically mounted by init (thanks phk)
on bootup. See /sys/dev/slice/slice.4 for more info.
All code should act the same without these options enabled.
Mike Smith, Poul Henning Kamp, Soeren, and a few dozen others
This code does not support the following:
bad144 handling.
Persistance. (My head is still hurting from the last time we discussed this)
ATAPI flopies are not handled by the SLICE code yet.
When this code is running, all major numbers are arbitrary and COULD
be dynamically assigned. (this is not done, for POLA only)
Minor numbers for disk slices ARE arbitray and dynamically assigned.
Diffstat (limited to 'sys/kern/subr_diskslice.c')
-rw-r--r-- | sys/kern/subr_diskslice.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/kern/subr_diskslice.c b/sys/kern/subr_diskslice.c index 5ffb5db..4b11dc6 100644 --- a/sys/kern/subr_diskslice.c +++ b/sys/kern/subr_diskslice.c @@ -1,3 +1,6 @@ +#ifdef SLICE +#undef DEVFS +#endif /*- * Copyright (c) 1994 Bruce D. Evans. * All rights reserved. @@ -43,7 +46,7 @@ * from: wd.c,v 1.55 1994/10/22 01:57:12 phk Exp $ * from: @(#)ufs_disksubr.c 7.16 (Berkeley) 5/4/91 * from: ufs_disksubr.c,v 1.8 1994/06/07 01:21:39 phk Exp $ - * $Id: subr_diskslice.c,v 1.41 1998/01/24 02:54:34 eivind Exp $ + * $Id: subr_diskslice.c,v 1.42 1998/02/15 05:41:31 bde Exp $ */ #include "opt_devfs.h" |