diff --git a/sys/sys/disklabel.h b/sys/sys/disklabel.h index 4e4b4aa571b9..a99167139a99 100644 --- a/sys/sys/disklabel.h +++ b/sys/sys/disklabel.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)disklabel.h 8.1 (Berkeley) 6/2/93 - * $Id: disklabel.h,v 1.7 1994/10/31 06:31:14 phk Exp $ + * $Id: disklabel.h,v 1.9 1994/12/11 23:20:41 bde Exp $ */ #ifndef _SYS_DISKLABEL_H_ @@ -412,6 +412,8 @@ extern struct dos_partition dos_partitions[NDOSPART]; char *correct_readdisklabel __P((dev_t dev, d_strategy_t *strat, struct disklabel *lp)); +int correct_writedisklabel __P((dev_t dev, d_strategy_t *strat, + struct disklabel *lp)); void diskerr __P((struct buf *bp, char *dname, char *what, int pri, int blkdone, struct disklabel *lp)); void disksort __P((struct buf *ap, struct buf *bp)); diff --git a/sys/sys/diskmbr.h b/sys/sys/diskmbr.h index 4e4b4aa571b9..a99167139a99 100644 --- a/sys/sys/diskmbr.h +++ b/sys/sys/diskmbr.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)disklabel.h 8.1 (Berkeley) 6/2/93 - * $Id: disklabel.h,v 1.7 1994/10/31 06:31:14 phk Exp $ + * $Id: disklabel.h,v 1.9 1994/12/11 23:20:41 bde Exp $ */ #ifndef _SYS_DISKLABEL_H_ @@ -412,6 +412,8 @@ extern struct dos_partition dos_partitions[NDOSPART]; char *correct_readdisklabel __P((dev_t dev, d_strategy_t *strat, struct disklabel *lp)); +int correct_writedisklabel __P((dev_t dev, d_strategy_t *strat, + struct disklabel *lp)); void diskerr __P((struct buf *bp, char *dname, char *what, int pri, int blkdone, struct disklabel *lp)); void disksort __P((struct buf *ap, struct buf *bp)); diff --git a/sys/sys/diskpc98.h b/sys/sys/diskpc98.h index 4e4b4aa571b9..a99167139a99 100644 --- a/sys/sys/diskpc98.h +++ b/sys/sys/diskpc98.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)disklabel.h 8.1 (Berkeley) 6/2/93 - * $Id: disklabel.h,v 1.7 1994/10/31 06:31:14 phk Exp $ + * $Id: disklabel.h,v 1.9 1994/12/11 23:20:41 bde Exp $ */ #ifndef _SYS_DISKLABEL_H_ @@ -412,6 +412,8 @@ extern struct dos_partition dos_partitions[NDOSPART]; char *correct_readdisklabel __P((dev_t dev, d_strategy_t *strat, struct disklabel *lp)); +int correct_writedisklabel __P((dev_t dev, d_strategy_t *strat, + struct disklabel *lp)); void diskerr __P((struct buf *bp, char *dname, char *what, int pri, int blkdone, struct disklabel *lp)); void disksort __P((struct buf *ap, struct buf *bp)); diff --git a/sys/sys/diskslice.h b/sys/sys/diskslice.h index eb0d06f915d6..1ab768cc288c 100644 --- a/sys/sys/diskslice.h +++ b/sys/sys/diskslice.h @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: diskslice.h,v 1.3 1995/02/16 13:35:21 bde Exp $ */ #ifndef _SYS_DISKSLICE_H_ @@ -73,6 +73,8 @@ int dsioctl __P((dev_t dev, int cmd, caddr_t data, int flags, struct diskslices *ssp, d_strategy_t *strat, ds_setgeom_t *setgeom)); int dsisopen __P((struct diskslices *ssp)); +char *dsname __P((char *dname, int unit, int slice, int part, + char *partname)); int dsopen __P((char *dname, dev_t dev, int mode, struct diskslices **sspp, struct disklabel *lp, d_strategy_t *strat, ds_setgeom_t *setgeom));