CVS commit: src/sbin/mount_cd9660
Module Name:src Committed By: wiz Date: Sat Feb 3 15:47:44 UTC 2024 Modified Files: src/sbin/mount_cd9660: mount_cd9660.c Log Message: sync usage with man page To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/sbin/mount_cd9660/mount_cd9660.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sbin/mount_cd9660/mount_cd9660.c diff -u src/sbin/mount_cd9660/mount_cd9660.c:1.34 src/sbin/mount_cd9660/mount_cd9660.c:1.35 --- src/sbin/mount_cd9660/mount_cd9660.c:1.34 Fri Feb 2 20:27:26 2024 +++ src/sbin/mount_cd9660/mount_cd9660.c Sat Feb 3 15:47:44 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: mount_cd9660.c,v 1.34 2024/02/02 20:27:26 christos Exp $ */ +/* $NetBSD: mount_cd9660.c,v 1.35 2024/02/03 15:47:44 wiz Exp $ */ /* * Copyright (c) 1992, 1993, 1994 @@ -46,7 +46,7 @@ __COPYRIGHT("@(#) Copyright (c) 1992, 19 #if 0 static char sccsid[] = "@(#)mount_cd9660.c 8.7 (Berkeley) 5/1/95"; #else -__RCSID("$NetBSD: mount_cd9660.c,v 1.34 2024/02/02 20:27:26 christos Exp $"); +__RCSID("$NetBSD: mount_cd9660.c,v 1.35 2024/02/03 15:47:44 wiz Exp $"); #endif #endif /* not lint */ @@ -228,6 +228,6 @@ static void usage(void) { (void)fprintf(stderr, - "usage: %s [-o options] special node\n", getprogname()); + "usage: %s [-G gid] [-M mask] [-m mask] [-o options] [-U uid] special node\n", getprogname()); exit(1); }
CVS commit: src/sbin/mount_cd9660
Module Name:src Committed By: wiz Date: Sat Feb 3 15:47:44 UTC 2024 Modified Files: src/sbin/mount_cd9660: mount_cd9660.c Log Message: sync usage with man page To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/sbin/mount_cd9660/mount_cd9660.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sbin/mount_cd9660
Module Name:src Committed By: wiz Date: Sat Feb 3 09:17:06 UTC 2024 Modified Files: src/sbin/mount_cd9660: mount_cd9660.8 Log Message: Sort options in man page. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sbin/mount_cd9660/mount_cd9660.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sbin/mount_cd9660/mount_cd9660.8 diff -u src/sbin/mount_cd9660/mount_cd9660.8:1.32 src/sbin/mount_cd9660/mount_cd9660.8:1.33 --- src/sbin/mount_cd9660/mount_cd9660.8:1.32 Fri Feb 2 20:27:26 2024 +++ src/sbin/mount_cd9660/mount_cd9660.8 Sat Feb 3 09:17:06 2024 @@ -1,4 +1,4 @@ -.\" $NetBSD: mount_cd9660.8,v 1.32 2024/02/02 20:27:26 christos Exp $ +.\" $NetBSD: mount_cd9660.8,v 1.33 2024/02/03 09:17:06 wiz Exp $ .\" .\" Copyright (c) 2004 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -66,10 +66,10 @@ .Sh SYNOPSIS .Nm .Op Fl G Ar gid -.Op Fl m Ar mask .Op Fl M Ar mask -.Op Fl U Ar uid +.Op Fl m Ar mask .Op Fl o Ar options +.Op Fl U Ar uid .Ar special node .Sh DESCRIPTION The @@ -85,15 +85,17 @@ and are converted to absolute paths before use. .Pp The options are as follows: -.Bl -tag -width indent +.Bl -tag -width 10n .It Fl G Ar group Set the group of the files in the file system to .Ar group . The default gid on non-Rockridge volumes is zero. -.It Fl U Ar user -Set the owner of the files in the file system to -.Ar user . -The default uid on non-Rockridge volumes is zero. +.It Fl M Ar mask +Specify the maximum file permissions for directories +in the file system. +See the +.Fl m +description for details. .It Fl m Ar mask Specify the maximum file permissions for files in the file system. @@ -113,10 +115,6 @@ are used. The default .Ar mask on non-Rockridge volumes is 755. -.It Fl M Ar mask -Specify the maximum file permissions for directories -in the file system. -See the previous option's description for details. .It Fl o Options are specified with a .Fl o @@ -166,23 +164,27 @@ For compatibility with Solaris only. Makes all lookups case-insensitive even for CD-ROMs with Rock-Ridge extensions (for Rock-Ridge, default is case-sensitive lookup). .El +.It Fl U Ar user +Set the owner of the files in the file system to +.Ar user . +The default uid on non-Rockridge volumes is zero. .El .Pp For compatibility with previous releases, following obsolete flags are still recognized: -.Bl -tag -width indent +.Bl -tag -width indent -compact -offset indent .It Fl e Same as .Fl o .Cm extatt . -.It Fl j -Same as -.Fl o -.Cm nojoliet . .It Fl g Same as .Fl o .Cm gens . +.It Fl j +Same as +.Fl o +.Cm nojoliet . .It Fl r Same as .Fl o
CVS commit: src/sbin/mount_cd9660
Module Name:src Committed By: wiz Date: Sat Feb 3 09:17:06 UTC 2024 Modified Files: src/sbin/mount_cd9660: mount_cd9660.8 Log Message: Sort options in man page. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sbin/mount_cd9660/mount_cd9660.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sbin/mount_cd9660
Module Name:src Committed By: rillig Date: Sun Oct 16 16:26:35 UTC 2022 Modified Files: src/sbin/mount_cd9660: mount_cd9660.c Log Message: mount_cd9660: remove unhandled option -i from getopt Found by lint. While here, fix the other lint warning as well, as lint still doesn't know that exit(3) doesn't return normally. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sbin/mount_cd9660/mount_cd9660.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sbin/mount_cd9660/mount_cd9660.c diff -u src/sbin/mount_cd9660/mount_cd9660.c:1.32 src/sbin/mount_cd9660/mount_cd9660.c:1.33 --- src/sbin/mount_cd9660/mount_cd9660.c:1.32 Mon Aug 29 14:35:00 2011 +++ src/sbin/mount_cd9660/mount_cd9660.c Sun Oct 16 16:26:35 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: mount_cd9660.c,v 1.32 2011/08/29 14:35:00 joerg Exp $ */ +/* $NetBSD: mount_cd9660.c,v 1.33 2022/10/16 16:26:35 rillig Exp $ */ /* * Copyright (c) 1992, 1993, 1994 @@ -46,7 +46,7 @@ __COPYRIGHT("@(#) Copyright (c) 1992, 19 #if 0 static char sccsid[] = "@(#)mount_cd9660.c 8.7 (Berkeley) 5/1/95"; #else -__RCSID("$NetBSD: mount_cd9660.c,v 1.32 2011/08/29 14:35:00 joerg Exp $"); +__RCSID("$NetBSD: mount_cd9660.c,v 1.33 2022/10/16 16:26:35 rillig Exp $"); #endif #endif /* not lint */ @@ -106,7 +106,7 @@ mount_cd9660_parseargs(int argc, char ** memset(args, 0, sizeof(*args)); *mntflags = opts = 0; optind = optreset = 1; - while ((ch = getopt(argc, argv, "egijo:r")) != -1) + while ((ch = getopt(argc, argv, "egjo:r")) != -1) switch (ch) { case 'e': /* obsolete, retained for compatibility only, use @@ -180,6 +180,7 @@ mount_cd9660(int argc, char **argv) } exit(0); + /* NOTREACHED */ } static void
CVS commit: src/sbin/mount_cd9660
Module Name:src Committed By: rillig Date: Sun Oct 16 16:26:35 UTC 2022 Modified Files: src/sbin/mount_cd9660: mount_cd9660.c Log Message: mount_cd9660: remove unhandled option -i from getopt Found by lint. While here, fix the other lint warning as well, as lint still doesn't know that exit(3) doesn't return normally. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sbin/mount_cd9660/mount_cd9660.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Re: CVS commit: src/sbin/mount_cd9660
On 06/29/18 23:24, Izumi Tsutsui wrote: > Nowadays it should be vndconfig(8)? > http://netbsd.gw.com/cgi-bin/man-cgi?vnconfig++NetBSD-current Thanks for the heads up. It should now be fixed. Sevan
Re: CVS commit: src/sbin/mount_cd9660
> Modified Files: > src/sbin/mount_cd9660: mount_cd9660.8 > > Log Message: > Note vnconfig(8) may be of interest, especially when looking to mount an iso > via > loopback. Nowadays it should be vndconfig(8)? http://netbsd.gw.com/cgi-bin/man-cgi?vnconfig++NetBSD-current --- Izumi Tsutsui