--- wikisrc/users/mlelstv/disk-driver-template.mdwn 2015/12/21 12:59:09 1.7 +++ wikisrc/users/mlelstv/disk-driver-template.mdwn 2016/11/28 06:11:23 1.8 @@ -422,6 +422,14 @@ xxx_modcmd(modcmd_t cmd, void *data)

 static int
+xxx_firstopen(device_t dv)
+{
+	// private startup
+
+	return 0;
+}
+
+static int
 xxx_lastclose(device_t dv)
 {
 	// private cleanup