Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/installboot - add fsstat (fstat(2) on fsfd) and s1s...
details: https://anonhg.NetBSD.org/src/rev/6fad575099c5
branches: trunk
changeset: 526970:6fad575099c5
user: lukem <lukem%NetBSD.org@localhost>
date: Wed May 15 02:17:06 2002 +0000
description:
- add fsstat (fstat(2) on fsfd) and s1stat (fstat(2) on s1fd) in ib_params,
and use instead of replicating the effort in various locations
- if filesystem is not a regular file, use sync(2) instead of fsync(2)
after the bootstrap has been written
diffstat:
usr.sbin/installboot/fstypes.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diffs (17 lines):
diff -r f9804020224b -r 6fad575099c5 usr.sbin/installboot/fstypes.c
--- a/usr.sbin/installboot/fstypes.c Wed May 15 01:58:16 2002 +0000
+++ b/usr.sbin/installboot/fstypes.c Wed May 15 02:17:06 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fstypes.c,v 1.3 2002/05/14 06:18:51 lukem Exp $ */
+/* $NetBSD: fstypes.c,v 1.4 2002/05/15 02:17:06 lukem Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -37,7 +37,6 @@
*/
#include <sys/types.h>
-#include <sys/stat.h>
#include <assert.h>
#include <err.h>
Home |
Main Index |
Thread Index |
Old Index