Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/examples/puffs/pgfs comment
details: https://anonhg.NetBSD.org/src/rev/5cf2ab1124b9
branches: trunk
changeset: 778739:5cf2ab1124b9
user: yamt <yamt%NetBSD.org@localhost>
date: Wed Apr 11 14:28:46 2012 +0000
description:
comment
diffstat:
share/examples/puffs/pgfs/newfs.sql | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r 25d5c0c8ddaa -r 5cf2ab1124b9 share/examples/puffs/pgfs/newfs.sql
--- a/share/examples/puffs/pgfs/newfs.sql Wed Apr 11 14:28:18 2012 +0000
+++ b/share/examples/puffs/pgfs/newfs.sql Wed Apr 11 14:28:46 2012 +0000
@@ -1,4 +1,4 @@
--- $NetBSD: newfs.sql,v 1.3 2012/04/11 14:27:15 yamt Exp $
+-- $NetBSD: newfs.sql,v 1.4 2012/04/11 14:28:46 yamt Exp $
-- Copyright (c)2010,2011 YAMAMOTO Takashi,
-- All rights reserved.
@@ -44,8 +44,8 @@
CREATE DOMAIN gid AS int8 NOT NULL CHECK(VALUE >= 0);
CREATE DOMAIN mode AS int8 NOT NULL CHECK(VALUE >= 0 AND VALUE <= 7*8*8+7*8+7);
CREATE DOMAIN nlink AS int8 NOT NULL CHECK(VALUE >= 0);
-CREATE SEQUENCE fileid_seq START WITH 1;
-CREATE SEQUENCE dircookie_seq START WITH 3;
+CREATE SEQUENCE fileid_seq START WITH 1; -- 1 will be used for root directory
+CREATE SEQUENCE dircookie_seq START WITH 3; -- see PGFS_DIRCOOKIE_*
CREATE TYPE filetype AS ENUM (
'regular',
'directory',
Home |
Main Index |
Thread Index |
Old Index