Date: Wed, 25 Feb 1998 10:05:20 -0800 (PST) From: Julian Elischer <julian@whistle.com> To: Jonathan Hanna <pangolin@rogers.wave.ca> Cc: current@FreeBSD.ORG, julian@FreeBSD.ORG Subject: Re:missing sliceio.h in devfs/slice patch Message-ID: <Pine.BSF.3.95.980225100254.584H-100000@current1.whistle.com> In-Reply-To: <XFMail.980224221918.pangolin@rogers.wave.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
oops..
I'll send it to you..
/*
* $Id: sliceio.h,v 1.10 1997/02/22 09:45:37 peter Exp $
*/
#ifndef _SYS_SLICEIO_H_
#define _SYS_SLICEIO_H_
#ifndef KERNEL
#include <sys/types.h>
#endif
#include <sys/ioccom.h>
#define SLCTYPE_SIZE 16
#define SLCNAME_SIZE 32
struct sliceinfo {
u_int64_t size;
u_int32_t blocksize;
char type[SLCTYPE_SIZE]; /* e.g. sd or raw*/
char hint[SLCTYPE_SIZE]; /* e.g. mbr or ""*/
char handler[SLCTYPE_SIZE]; /* e.g. mbr or "" */
char devicename[SLCNAME_SIZE]; /* e.g. sd0s1a */
};
struct subsliceinfo {
struct sliceinfo wholesliceinfo; /* size of the whole slice */
int slicenumber; /* which subslice we are on */
u_int64_t offset; /* where that subslice starts */
struct sliceinfo subsliceinfo; /* info about that subslice */
};
#define SLCIOCRESET _IO('S', 0) /* reset and reprobe. */
#define SLCIOCINQ _IOR('S', 2, struct sliceinfo) /* info on container */
#define SLCIOCMOD _IOW('S', 3, struct sliceinfo) /* force container */
#define SLCIOCGETSUB _IOWR('S', 4, struct subsliceinfo) /* get sub info */
#define SLCIOCSETSUB _IOWR('S', 5, struct subsliceinfo) /* set sub info */
#endif /* !_SYS_SLICEIO_H_ */
On Tue, 24 Feb 1998, Jonathan Hanna wrote:
>
> Just applied you new devfs/slice patch.
> I seem to be missing: sys/sliceio.h in mbr.c.
>
> Where can I find it?
>
> Thanks.
>
> Jonathan Hanna <pangolin@rogers.wave.ca>
>
>
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.980225100254.584H-100000>
