-.\" $OpenBSD: mount_msdos.8,v 1.32 2021/11/13 18:18:59 kn Exp $
+.\" $OpenBSD: mount_msdos.8,v 1.33 2022/08/20 07:03:24 tb Exp $
.\" $NetBSD: mount_msdos.8,v 1.10 1996/01/19 21:14:43 leo Exp $
.\"
.\" Copyright (c) 1993,1994 Christopher G. Demetriou
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 13 2021 $
+.Dd $Mdocdate: August 20 2022 $
.Dt MOUNT_MSDOS 8
.Os
.Sh NAME
.Sh SYNOPSIS
.Nm mount_msdos
.Op Fl 9ls
-.Op Fl g Ar gid
+.Op Fl g Ar group
.Op Fl m Ar mask
.Op Fl o Ar options
-.Op Fl u Ar uid
+.Op Fl u Ar user
.Ar special
.Ar node
.Sh DESCRIPTION
if deleting or renaming a file.
This forces
.Fl s .
-.It Fl g Ar gid
-Set the group of the files in the file system to
-.Ar gid .
-The default group is the group of the directory
-on which the file system is being mounted.
+.It Fl g Ar group
+Specifies the group name or GID of the root inode of the file system.
+Defaults to the mount point's GID.
.It Fl l
Force listing and generation of
Windows 95/98 long filenames
.It Fl s
Force behaviour to
ignore and not generate Windows 95/98 long filenames.
-.It Fl u Ar uid
-Set the owner of the files in the file system to
-.Ar uid .
-The default owner is the owner of the directory
-on which the file system is being mounted.
+.It Fl u Ar user
+Specifies the user name or UID of the root inode of the file system.
+Defaults to the mount point's UID.
.El
.Pp
File permissions for FAT file systems are imitated,
-/* $OpenBSD: mount_msdos.c,v 1.34 2019/06/28 13:32:45 deraadt Exp $ */
+/* $OpenBSD: mount_msdos.c,v 1.35 2022/08/20 07:03:24 tb Exp $ */
/* $NetBSD: mount_msdos.c,v 1.16 1996/10/24 00:12:50 cgd Exp $ */
/*
{
fprintf(stderr,
- "usage: mount_msdos [-9ls] [-g gid] [-m mask] [-o options] [-u uid] special node\n");
+ "usage: mount_msdos [-9ls] [-g group] [-m mask] [-o options] [-u user] special node\n");
exit(1);
}
-.\" $OpenBSD: mount_ntfs.8,v 1.16 2020/04/23 21:28:09 jmc Exp $
+.\" $OpenBSD: mount_ntfs.8,v 1.17 2022/08/20 07:03:24 tb Exp $
.\" $NetBSD: mount_ntfs.8,v 1.13 2003/02/14 16:21:48 grant Exp $
.\"
.\" Copyright (c) 1993,1994 Christopher G. Demetriou
.\"
.\" Id: mount_ntfs.8,v 1.3 1999/05/04 11:34:33 jkoshy Exp
.\"
-.Dd $Mdocdate: April 23 2020 $
+.Dd $Mdocdate: August 20 2022 $
.Dt MOUNT_NTFS 8
.Os
.Sh NAME
.Sh SYNOPSIS
.Nm mount_ntfs
.Op Fl ai
-.Op Fl g Ar gid
+.Op Fl g Ar user
.Op Fl m Ar mask
.Op Fl o Ar options
-.Op Fl u Ar uid
+.Op Fl u Ar group
.Ar special
.Ar node
.Sh DESCRIPTION
.It Fl a
Force behaviour to return MS-DOS 8.3 names also on
.Fn readdir .
-.It Fl g Ar gid
-Set the group of the files in the file system to
-.Ar gid .
-The default group is the group of the directory
-on which the file system is being mounted.
+.It Fl g Ar group
+Specifies the group name or GID of the root inode of the file system.
+Defaults to the mount point's GID.
.It Fl i
Make name lookup case insensitive for all names except POSIX names.
.It Fl m Ar mask
See the
.Xr mount 8
man page for possible options and their meanings.
-.It Fl u Ar uid
-Set the owner of the files in the file system to
-.Ar uid .
-The default owner is the owner of the directory
-on which the file system is being mounted.
+.It Fl u Ar user
+Specifies the user name or UID of the root inode of the file system.
+Defaults to the mount point's UID.
.El
.Sh FEATURES
.Ss NTFS file attributes
-/* $OpenBSD: mount_ntfs.c,v 1.18 2022/08/20 05:59:57 otto Exp $ */
+/* $OpenBSD: mount_ntfs.c,v 1.19 2022/08/20 07:03:24 tb Exp $ */
/* $NetBSD: mount_ntfs.c,v 1.9 2003/05/03 15:37:08 christos Exp $ */
/*
usage(void)
{
fprintf(stderr,
- "usage: mount_ntfs [-ai] [-g gid] [-m mask] [-o options] [-u uid]"
+ "usage: mount_ntfs [-ai] [-g group] [-m mask] [-o options] [-u user]"
" special node\n");
exit(1);
}