From owner-freebsd-bugs@freebsd.org Sat Sep 28 01:59:38 2019 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4D98AF7229 for ; Sat, 28 Sep 2019 01:59:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 46gBgG1NjWz4f7c for ; Sat, 28 Sep 2019 01:59:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 2F8D5F7228; Sat, 28 Sep 2019 01:59:38 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2F536F7226 for ; Sat, 28 Sep 2019 01:59:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46gBgG0Slvz4f7b for ; Sat, 28 Sep 2019 01:59:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E902C22278 for ; Sat, 28 Sep 2019 01:59:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x8S1xbul051524 for ; Sat, 28 Sep 2019 01:59:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x8S1xbai051523 for bugs@FreeBSD.org; Sat, 28 Sep 2019 01:59:37 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 240889] mount -t nozfs, noufs, nodevfs, notmpfs - does not work as advertised in man page Date: Sat, 28 Sep 2019 01:59:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: vermaden@interia.pl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Sep 2019 01:59:38 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240889 Bug ID: 240889 Summary: mount -t nozfs,noufs,nodevfs,notmpfs - does not work as advertised in man page Product: Base System Version: 12.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: vermaden@interia.pl >From man 8 mount page: -t [no]type[,type ...] The argument following the -t is used to indicate the file system type. The type ufs is the default. The -t option can be used to indicate that the actions should only be taken on file systems of the specified type. More than one type may be specified in a comma separated list. The list of file system types can be prefixed with no to specify the file system types for which action should not be taken. For example, the mount command: mount -a -t nonfs,nullfs mounts all file systems except those of type NFS and NULLFS. The default behavior of mount is to pass the -t option directly to the nmount(2) system call in the fstype option. However, for the following file system types: cd9660, mfs, msdosfs, nfs, nullfs, smbfs, udf, and unionfs mount will not call nmount(2) directly and will instead attempt to execute a program in /sbin/mount_type where type is replaced by the file system type name. For example, nfs file systems are mounted by the program /sbin/mount_nfs. Most file systems will be dynamically loaded by the kernel if not already present, and if the kernel module is available. Default mount with all mounts: % mount=20 zroot/ROOT/12.1 on / (zfs, local, noatime, nfsv4acls) devfs on /dev (devfs, local, multilabel) linprocfs on /compat/linux/proc (linprocfs, local) tmpfs on /compat/linux/dev/shm (tmpfs, local) zroot/tmp on /tmp (zfs, local, noatime, nosuid, nfsv4acls) zroot/home on /home (zfs, local, noatime, nfsv4acls) zroot/var/log on /var/log (zfs, local, noatime, noexec, nosuid, nfsv4acls) zroot/var/crash on /var/crash (zfs, local, noatime, noexec, nosuid, nfsv4ac= ls) zroot/jail on /jail (zfs, local, noatime, nfsv4acls) zroot/var/mail on /var/mail (zfs, local, nfsv4acls) zroot/usr/src on /usr/src (zfs, local, noatime, nfsv4acls) zroot/usr/ports on /usr/ports (zfs, local, noatime, nosuid, nfsv4acls) zroot/var/audit on /var/audit (zfs, local, noatime, noexec, nosuid, nfsv4ac= ls) zroot/var/tmp on /var/tmp (zfs, local, noatime, nosuid, nfsv4acls) /dev/label/ASD on /mnt/tmp (msdosfs, local) /dev/md0s1a on /mnt/ufs (ufs, local) /dev/fuse on /mnt/ntfs (fusefs) /dev/md0s1f on /mnt/ufs.other (ufs, local) /dev/gpt/OTHER on /mnt/fat.other (msdosfs, local) Excluding single filesystem works: % mount -t nozfs devfs on /dev (devfs, local, multilabel) linprocfs on /compat/linux/proc (linprocfs, local) tmpfs on /compat/linux/dev/shm (tmpfs, local) /dev/label/ASD on /mnt/tmp (msdosfs, local) /dev/md0s1a on /mnt/ufs (ufs, local) /dev/fuse on /mnt/ntfs (fusefs) /dev/md0s1f on /mnt/ufs.other (ufs, local) /dev/gpt/OTHER on /mnt/fat.other (msdosfs, local) Excluding multiple filesystem does not work (but should according to man pa= ge): % mount -t nozfs,noufs,nodevfs,notmpfs devfs on /dev (devfs, local, multilabel) linprocfs on /compat/linux/proc (linprocfs, local) tmpfs on /compat/linux/dev/shm (tmpfs, local) /dev/label/ASD on /mnt/tmp (msdosfs, local) /dev/md0s1a on /mnt/ufs (ufs, local) /dev/fuse on /mnt/ntfs (fusefs) /dev/md0s1f on /mnt/ufs.other (ufs, local) /dev/gpt/OTHER on /mnt/fat.other (msdosfs, local) Regards, vermaden --=20 You are receiving this mail because: You are the assignee for the bug.=