Print this page
6198 Let's EOL cachefs


 125                        or the tag would make the total length of the option
 126                        string for the mounted file system too long.
 127 
 128 
 129        EPERM
 130                        The calling process does not have {PRIV_SYS_MOUNT}
 131                        privilege and either a MNTIOC_SETTAG or MNTIOC_CLRTAG
 132                        call was made.
 133 
 134 
 135 FILES
 136        /etc/mnttab
 137                                    Usual mount point for mnttab file system
 138 
 139 
 140        /usr/include/sys/mntio.h
 141                                    Header file that contains IOCTL definitions
 142 
 143 
 144 SEE ALSO
 145        mkfile(1M), mount_cachefs(1M), mount_hsfs(1M), mount_nfs(1M),
 146        mount_pcfs(1M), mount_ufs(1M), mount(1M), ioctl(2), read(2), poll(2),
 147        stat(2), getmntent(3C)
 148 
 149 WARNINGS
 150        The mnttab file system provides the previously undocumented dev=xxx
 151        option in the option string for each mounted file system.  This is
 152        provided for legacy applications that might have been using the
 153        dev=information option.
 154 
 155 
 156        Using dev=option in applications is strongly discouraged. The device
 157        number string represents a 32-bit quantity and might not contain
 158        correct information in 64-bit environments.
 159 
 160 
 161        Applications requiring device number information for mounted file
 162        systems should use the getextmntent(3C) interface, which functions
 163        properly in either 32- or 64-bit environments.
 164 
 165 NOTES
 166        The snapshot of the mnttab information is taken any time a read(2) is
 167        performed at offset 0 (the beginning) of the mnttab file. The file
 168        modification time returned by stat(2) for the mnttab file is the time
 169        of the last change to mounted file system information. A poll(2) system
 170        call requesting a POLLRDBAND event can be used to block and wait for
 171        the system's mounted file system information to be different from the
 172        most recent snapshot since the mnttab file was opened.
 173 
 174 
 175 
 176                                December 20, 2003                     MNTTAB(4)


 125                        or the tag would make the total length of the option
 126                        string for the mounted file system too long.
 127 
 128 
 129        EPERM
 130                        The calling process does not have {PRIV_SYS_MOUNT}
 131                        privilege and either a MNTIOC_SETTAG or MNTIOC_CLRTAG
 132                        call was made.
 133 
 134 
 135 FILES
 136        /etc/mnttab
 137                                    Usual mount point for mnttab file system
 138 
 139 
 140        /usr/include/sys/mntio.h
 141                                    Header file that contains IOCTL definitions
 142 
 143 
 144 SEE ALSO
 145        mkfile(1M), mount_hsfs(1M), mount_nfs(1M), mount_pcfs(1M),
 146        mount_ufs(1M), mount(1M), ioctl(2), read(2), poll(2), stat(2),
 147        getmntent(3C)
 148 
 149 WARNINGS
 150        The mnttab file system provides the previously undocumented dev=xxx
 151        option in the option string for each mounted file system.  This is
 152        provided for legacy applications that might have been using the
 153        dev=information option.
 154 
 155 
 156        Using dev=option in applications is strongly discouraged. The device
 157        number string represents a 32-bit quantity and might not contain
 158        correct information in 64-bit environments.
 159 
 160 
 161        Applications requiring device number information for mounted file
 162        systems should use the getextmntent(3C) interface, which functions
 163        properly in either 32- or 64-bit environments.
 164 
 165 NOTES
 166        The snapshot of the mnttab information is taken any time a read(2) is
 167        performed at offset 0 (the beginning) of the mnttab file. The file
 168        modification time returned by stat(2) for the mnttab file is the time
 169        of the last change to mounted file system information. A poll(2) system
 170        call requesting a POLLRDBAND event can be used to block and wait for
 171        the system's mounted file system information to be different from the
 172        most recent snapshot since the mnttab file was opened.
 173 
 174 
 175 
 176                                September 8, 2015                     MNTTAB(4)