- 论坛徽章:
- 0
|
mountall -r
Reformatting page. Wait... done\r\n\r\nMaintenance Commands mountall(1M)\r\n\r\nNAME\r\n mountall, umountall - mount, unmount multiple file systems\r\n\r\nSYNOPSIS\r\n mountall [ -F FSType ] [-l | -r ] [ file_system_table ]\r\n\r\n umountall [ -k ] [ -s ] [ -F FSType ] [-l | -r ]\r\n\r\n umountall [ -k ] [ -s ] [ -h host ]\r\n\r\nDESCRIPTION\r\n mountall is used to mount file systems specified in a file\r\n system table. The file system table must be in vfstab(4)\r\n format. If no file_system_table is specified, /etc/vfstab\r\n will be used. If `-\' is specified as file_system_table,\r\n mountall will read the file system table from the standard\r\n input. mountall only mounts those file systems with the\r\n mount at boot field set to yes in the file_system_table.\r\n\r\n Each file system which has an fsckdev entry specified in\r\n the file system table will be checked using fsck(1M) in\r\n order to determine if it may be safely mounted. If the file\r\n system does not appear mountable, it is fixed using fsck\r\n before the mount is attempted. File systems with a `-\'\r\n entry in the fsckdev field will be mounted without first\r\n being checked.\r\n\r\n umountall causes all mounted file systems except root,\r\n /proc, /var, and /usr to be unmounted. If the FSType is\r\n specified, mountall and umountall limit their actions to\r\n the FSType specified. There is no guarantee that umountall\r\n will unmount busy filesystems, even if the -k option is\r\n specified.\r\n\r\nOPTIONS\r\n -F Specify the FSType of the file system to be\r\n mounted or unmounted.\r\n\r\n -h host Unmount all file systems listed in /etc/mnttab\r\n that are remote-mounted from host.\r\n\r\n -k Use the fuser -k mount-point command. See the\r\n fuser(1M) for details. The -k option sends the\r\n SIGKILL signal to each process using the file. As\r\n this option spawns kills for each process, the\r\n kill messages may not show up immediately. There\r\n is no guarantee that umountall will unmount busy\r\n filesystems, even if the -k option is specified.\r\n\r\n -l Limit the action to local file systems.\r\n\r\n -r Limit the action to remote file system types.\r\nSunOS 5.7 Last change: 10 Jun 1997 1\r\n\r\nMaintenance Commands mountall(1M)\r\n\r\n -s Do not perform the umount operation in parallel.\r\n\r\nFILES\r\n /etc/mnttab\r\n mounted file system table\r\n\r\n /etc/vfstab\r\n table of file system defaults\r\n\r\nATTRIBUTES\r\n See attributes(5) for descriptions of the following attri-\r\n butes:\r\n ____________________________________________________________\r\n | ATTRIBUTE TYPE | ATTRIBUTE VALUE |\r\n |_____________________________|_____________________________|\r\n | Availability | SUNWcsu |\r\n |_____________________________|_____________________________|\r\n\r\nSEE ALSO\r\n fsck(1M), fuser(1M), mount(1M), mnttab(4), vfstab(4), attri-\r\n butes(5)\r\n\r\nDIAGNOSTICS\r\n No messages are printed if the file systems are mountable\r\n and clean.\r\n\r\n Error and warning messages come from fsck(1M) and mount(1M).\r\n\r\nSunOS 5.7 Last change: 10 Jun 1997 2 |
|