Add a `bsdos' format.

This commit is contained in:
mycroft 1998-01-17 13:04:16 +00:00
parent 535aef9832
commit 095b5f39c4
2 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: mknod.8,v 1.13 1998/01/17 12:14:31 mycroft Exp $
.\" $NetBSD: mknod.8,v 1.14 1998/01/17 13:04:16 mycroft Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -106,6 +106,7 @@ option is used. The following formats are recognized:
native,
386bsd,
4bsd,
bsdos,
freebsd,
hpux,
linux,

View File

@ -1,4 +1,4 @@
/* $NetBSD: mknod.c,v 1.11 1998/01/17 12:14:34 mycroft Exp $ */
/* $NetBSD: mknod.c,v 1.12 1998/01/17 13:04:18 mycroft Exp $ */
/*
* Copyright (c) 1998 Charles M. Hannum. All rights reserved.
@ -32,7 +32,7 @@
#include <sys/cdefs.h>
#ifndef lint
__COPYRIGHT("@(#) Copyright (c) 1998 Charles M. Hannum. All rights reserved.\n");
__RCSID("$NetBSD: mknod.c,v 1.11 1998/01/17 12:14:34 mycroft Exp $");
__RCSID("$NetBSD: mknod.c,v 1.12 1998/01/17 13:04:18 mycroft Exp $");
#endif /* not lint */
#include <sys/types.h>
@ -193,6 +193,7 @@ struct format {
} formats[] = {
{"386bsd", pack_8_8},
{"4bsd", pack_8_8},
{"bsdos", pack_12_20},
{"freebsd", pack_freebsd},
{"hpux", pack_8_24},
{"linux", pack_8_8},