免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12
最近访问板块 发新帖
楼主: SunPeng040709
打印 上一主题 下一主题

[SCO UNIX] UNIXWARE下如何使用软盘? [复制链接]

论坛徽章:
0
11 [报告]
发表于 2008-07-23 08:37 |只看该作者
mount(1M)
     _________________________________________________________________
   
   mount, umount -- mount or unmount filesystems and remote resources
   (generic)
   
Synopsis

   mount [-v | -p]
   mount [-F FSType] [-V] [current_options] [-o specific_options]
   [special | mount_point]
   mount [-F FSType] [-V] [current_options] [-o specific_options]
   special mount_point
   
   umount [-V] [-o specific_options] [special | mount_point]
   
Description

   Filesystems other than root (/) are considered removable in the sense
   that they can be either available to users or unavailable. mount
   notifies the system that special, a block special device or a remote
   resource, is available to users from the mount_point which must
   already exist; it becomes the name of the root of the newly mounted
   special or resource.
   
   mount, when entered with arguments, validates all arguments except the
   device name and invokes an FSType specific mount module. If invoked
   with no arguments, mount lists all the mounted filesystems from the
   mount table. If invoked with any of the following partial argument
   lists (for example, one of special or mount_point or when both
   arguments are specified but no FSType is specified), mount will search
   /etc/vfstab to fill in the missing arguments: FSType, special,
   mount_point, specific_options. It will then invoke the FSType-specific
   mount module.
   
   Most FSTypes do not have a umount specific module. If one exists, it
   is executed; otherwise, the generic module unmounts the filesystem. If
   the -o option is specified, the umount specific module is always
   executed.
   
   current_options are options supported by the s5-specific module of
   mount and umount. Other FSTypes do not necessarily support these
   options. specific_options indicate suboptions specified in a
   comma-separated list of suboptions and/or keyword-attribute pairs for
   interpretation by the FSType-specific module of the command.
   
   The options are:
   -v
          Print the output in a new style. The new output has the FSType
          and flags displayed in addition to the old output. The
          mount_point and special fields are reversed.
   -p
          Print the list of mounted filesystems in the /etc/vfstab
          format.
   -F
          Specify the FSType on which to operate. The FSType must be
          specified or must be determinable from /etc/vfstab while
          mounting a filesystem.
   -V
          Echo the complete command line, but do not execute the command.
          The command line is generated by using the options and
          arguments provided by the user and adding to them information
          derived from /etc/vfstab. This option should be used to verify
          and validate the command line.
   -o
          Specify FSType-specific options.
         
   mount can be used by any user to list mounted filesystems and
   resources. Only a privileged user can mount or unmount filesystems.
   
Files

   /etc/mnttab
          mount table
   /etc/vfstab
          list of default parameters for each filesystem
         
Exit codes

   The following values are returned by the generic mount command:
   0
          Successful exit
   1
          Usage error
   2
          Invalid combinations of options
   4
          Invalid arguments for options
   5
          FSType exceeds MAX characters
   6
          More than one FSType specified
   7
          Cannot open vfstab
   8
          getvfsany error
   9
          Cannot open mnttab
   10
          Cannot lock mnttab
   11
          getmntent error
   12
          Cannot stat mount point
   13
          Mount point cannot be determined
   14
          Mount point is not an absolute pathname
   15
          Mount point does not exist
   18
          special device cannot be determined
   19
          Device not found in device database
   21
          Cannot access device database
   27
          malloc error - unable to allocate memory
   28
          wait error - unexpected problem with filesystem dependent mount
   29
          fork error - Unable to create a process
   30
          exec error - Invalid filesystem type
   31
          exec error - Permission denied
         
   The following values are returned by the generic umount command:
   0
          Success
   1
          Usage error
   2
          FSType name exceeds maximum characters
   3
          Cannot execute path
   4
          Cannot open mnttab
   5
          Cannot lock mnttab
   6
          Line in mnttab exceeds max chars
   7
          Line in mnttab has too few entries
   8
          Miscellaneous errors from getmntent
   9
          Cannot open temp file
   10
          Cannot write to temp file
   11
          umount - permission denied
   12
          umount - no such device
   13
          umount - no such directory
   14
          umount - not mounted
   15
          umount - mount pt busy
   16
          umount - block device required
   17
          umount - broken link detected
   18
          umount - misc error
         
References

   mnttab(4), mount(1Mnfs), mount_bfs(1M), mount_cdfs(1M),
   mount_dosfs(1M), mount_memfs(1M), mount_nucam(1M), mount_nucfs(1M),
   mount_profs(1M), mount_s5(1M), mount_sfs(1M), mount_ufs(1M),
   mount_vxfs(1M), setmnt(1M), vfstab(4)
   
Notices

   mount does not prevent you from mounting a filesystem on a directory
   that is not empty.
   
   The old output format will be phased out in a future release and all
   output will be in the new -v format. The most significant changes are
   the addition of two new fields to show the FSType and flags, and the
   reversal of the mount_point and special name.
   
   mount adds an entry to the mount table /etc/mnttab; umount removes an
   entry from the table.
   
   mount will now resolve the mount_point argument using realpath(3C)
   before any processing is performed.
     _________________________________________________________________
   
   5 November 1999
   ?1999 The Santa Cruz Operation, Inc. All rights reserved.
   UnixWare 7 Release 7.1.1 - 5 November 1999
   
See also mount_vxfs(1M)
See also mount(1Mnfs)
See also mount(2)

论坛徽章:
0
12 [报告]
发表于 2008-07-23 08:38 |只看该作者
[-o specific_options]
里面要怎么设置?

论坛徽章:
0
13 [报告]
发表于 2008-07-23 10:29 |只看该作者
-o r

论坛徽章:
0
14 [报告]
发表于 2008-07-23 14:45 |只看该作者
#mount -F dosfs -o r /dev/fd0 /mnt
UX: dosfs mount: TO FIX: Usage: mount [-r] special mount-point
UX: dosfs mount: TO FIX:               [-o {mask=<mask>}|user={user|uid}|group={group|gid}]
UX: dosfs mount: TO FIX: mount [-o remount] special mount-point

论坛徽章:
1
15-16赛季CBA联赛之北控
日期:2022-03-04 22:35:50
15 [报告]
发表于 2008-07-23 15:41 |只看该作者
mount -F dosfs /dev/dsk/f03ht /mnt

论坛徽章:
0
16 [报告]
发表于 2008-07-23 16:23 |只看该作者
#mount -F dosfs /dev/dsk/f03ht /mnt
UX: dosfs mount: ERROR: /dev/dsk/f03ht write-protected

论坛徽章:
1
15-16赛季CBA联赛之北控
日期:2022-03-04 22:35:50
17 [报告]
发表于 2008-07-23 16:40 |只看该作者
你别费这个劲了,你下载一个mtools,安装后用里面的mcopy来拷贝软盘上的文件

论坛徽章:
0
18 [报告]
发表于 2008-07-23 17:16 |只看该作者
我下载了mtools,怎么往硬盘上拷呀?

论坛徽章:
1
15-16赛季CBA联赛之北控
日期:2022-03-04 22:35:50
19 [报告]
发表于 2008-07-23 20:43 |只看该作者
通过光盘
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP