summaryrefslogtreecommitdiff
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2003-06-21 20:28:07 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2003-06-21 20:28:07 +0000
commit820e6c9e10f9f2814088857b36a5de5a41222c8f (patch)
treebeaf0d1f389daf852c701d558fbc4a127688ba33 /lib/libc/sys
parent5fc2ff709cf64d297b2fc3b23d2946874be4179d (diff)
document mount_ntfs and better formatting;
ok tedu@
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/mount.265
1 files changed, 42 insertions, 23 deletions
diff --git a/lib/libc/sys/mount.2 b/lib/libc/sys/mount.2
index 555f4c573f7..2bb052d6565 100644
--- a/lib/libc/sys/mount.2
+++ b/lib/libc/sys/mount.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mount.2,v 1.28 2003/06/10 17:51:02 millert Exp $
+.\" $OpenBSD: mount.2,v 1.29 2003/06/21 20:28:06 jmc Exp $
.\" $NetBSD: mount.2,v 1.12 1996/02/29 23:47:48 jtc Exp $
.\"
.\" Copyright (c) 1980, 1989, 1993
@@ -192,31 +192,50 @@ struct msdosfs_args {
.Dv MOUNT_NFS
.Bd -literal -offset indent -compact
struct nfs_args {
- int version; /* args structure version */
- struct sockaddr *addr; /* file server address */
- int addrlen; /* length of address */
- int sotype; /* Socket type */
- int proto; /* and Protocol */
- u_char *fh; /* File handle to be mounted */
- int fhsize; /* Size, in bytes, of fh */
- int flags; /* flags */
- int wsize; /* write size in bytes */
- int rsize; /* read size in bytes */
- int readdirsize; /* readdir size in bytes */
- int timeo; /* initial timeout in .1 secs */
- int retrans; /* times to retry send */
- int maxgrouplist; /* Max. size of group list */
- int readahead; /* # of blocks to readahead */
- int leaseterm; /* Term (sec) of lease */
- int deadthresh; /* Retrans threshold */
- char *hostname; /* server's name */
- int acregmin; /* Attr cache file recently modified */
- int acregmax; /* ac file not recently modified */
- int acdirmin; /* ac for dir recently modified */
- int acdirmax; /* ac for dir not recently modified */
+ int version; /* args structure version */
+ struct sockaddr *addr; /* file server address */
+ int addrlen; /* length of address */
+ int sotype; /* Socket type */
+ int proto; /* and Protocol */
+ u_char *fh; /* File handle to be mounted */
+ int fhsize; /* Size, in bytes, of fh */
+ int flags; /* flags */
+ int wsize; /* write size in bytes */
+ int rsize; /* read size in bytes */
+ int readdirsize; /* readdir size in bytes */
+ int timeo; /* initial timeout in .1 secs */
+ int retrans; /* times to retry send */
+ int maxgrouplist; /* Max. size of group list */
+ int readahead; /* # of blocks to readahead */
+ int leaseterm; /* Term (sec) of lease */
+ int deadthresh; /* Retrans threshold */
+ char *hostname; /* server's name */
+ int acregmin; /* Attr cache file recently modified */
+ int acregmax; /* ac file not recently modified */
+ int acdirmin; /* ac for dir recently modified */
+ int acdirmax; /* ac for dir not recently modified */
};
.Ed
.Pp
+.Dv MOUNT_NTFS
+.Bd -literal -offset indent -compact
+struct ntfs_args {
+ char *fspec; /* block special device to mount */
+ struct export_args export_info;
+ /* network export information */
+ uid_t uid; /* uid that owns ntfs files */
+ gid_t gid; /* gid that owns ntfs files */
+ mode_t mode; /* mask to be applied for ntfs perms */
+ u_long flag; /* additional flags */
+};
+
+/*
+ * ntfs mount options:
+ */
+#define NTFS_MFLAG_CASEINS 0x00000001
+#define NTFS_MFLAG_ALLNAMES 0x00000002
+.Ed
+.Pp
The
.Fn unmount
function call disassociates the filesystem from the specified