diff options
author | joerg <joerg@FreeBSD.org> | 1997-04-15 09:02:48 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1997-04-15 09:02:48 +0000 |
commit | 947370ca12ab01f52b58e87fe0724ee2f9d669e6 (patch) | |
tree | 9fdde87252ea799e303366c11b65a5c0ef4bd1cd /sbin/fsdb/fsdb.h | |
parent | d52813b87369a7b3f4128df4cd3ed2bf77fb55b8 (diff) | |
download | FreeBSD-src-947370ca12ab01f52b58e87fe0724ee2f9d669e6.zip FreeBSD-src-947370ca12ab01f52b58e87fe0724ee2f9d669e6.tar.gz |
Implement a -r option to fsdb(8), ``read/only''.
Diffstat (limited to 'sbin/fsdb/fsdb.h')
-rw-r--r-- | sbin/fsdb/fsdb.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sbin/fsdb/fsdb.h b/sbin/fsdb/fsdb.h index 7670729..b7c3057 100644 --- a/sbin/fsdb/fsdb.h +++ b/sbin/fsdb/fsdb.h @@ -27,7 +27,7 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - * $Id$ + * $Id: fsdb.h,v 1.2 1997/03/13 12:44:52 peter Exp $ */ extern int bread __P((int fd, char *buf, daddr_t blk, long size)); @@ -45,6 +45,9 @@ struct cmdtable { const char *helptxt; unsigned int minargc; unsigned int maxargc; + unsigned int flags; +#define FL_RO 0x0000 /* for symmetry */ +#define FL_WR 0x0001 /* wants to write */ int (*handler) __P((int argc, char *argv[])); }; extern struct dinode *curinode; |