个人工具
登录
查看“UbuntuHelp:IomegaZIPDrive”的源代码 - Ubuntu中文
UbuntuHelp
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“UbuntuHelp:IomegaZIPDrive”的源代码
来自Ubuntu中文
←
UbuntuHelp:IomegaZIPDrive
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{From|https://help.ubuntu.com/community/IomegaZIPDrive}} {{Languages|UbuntuHelp:IomegaZIPDrive}} ''Author: Tommi Höynälänmaa'' == Introduction == This page describes how to use an Iomega ZIP parallel port drive in Ubuntu 6.06. Commands with prompt "#" have to be executed as root (e.g. with sudo). Commands with prompt "$" can be executed as a normal user. For Ubuntu 8.10. users only steps 1 and 2 are necessary. Also, for Ubuntu 9.10, only steps 1 and 2 are necessary. To open Nautilus with root privileges: <pre><nowiki> gksu nautilus </nowiki></pre> == Installation == Do the following steps in order to make your Iomega ZIP parallel port drive accessible in Ubuntu: 1. Add the following lines into file /etc/modules: <pre><nowiki> ppa sg </nowiki></pre> You must have root privileges when editing this file. Of course, if your modules file already contains any of these modules then it shall not be added again. In Ubuntu 9.10, with an Iomega Zip 100 Parallel port drive, only the following line is needed: <pre><nowiki> ppa </nowiki></pre> 2. Reboot your machine. If you are running a version of Ubuntu prior to 8.10, you will need to continue to step 3. If you are running Ubuntu 8.10 or later, your parallel port zip drive might be ready for use without additional steps. 3. Give command <pre><nowiki> $ cat /proc/scsi/scsi </nowiki></pre> You should see your ZIP drive in the list of devices. Write down the values of the "Vendor" and "Model" fields from the ZIP drive entry. Vendor should be "IOMEGA" and model may be e.g. "ZIP 100". 4. Create subdirectory rules.d-backup in /etc/udev: <pre><nowiki> # cd /etc/udev # mkdir rules.d-backup </nowiki></pre> 5. Copy file /etc/udev/rules.d/20-names.rules into the backup directory: <pre><nowiki> # cd /etc/udev/rules.d # cp -v 20-names.rules ../rules.d-backup/ </nowiki></pre> 6. Add the following line at the end of the file 20-names.rules: <pre><nowiki> BUS=="scsi", SYSFS{vendor}=="IOMEGA", SYSFS{model}=="<YOUR MODEL>", NAME="sda4" </nowiki></pre> where <YOUR MODEL> shall be replaced by the model string that you wrote down in step 3, e.g. ZIP 100. You must have root privileges when editing this file. 7. Create mount points for the ZIP drive: <pre><nowiki> # mkdir /media/zip # mkdir /media/zipvfat </nowiki></pre> Here the first mount point is for autodetected filesystems and the second one for VFAT filesystems. You may omit one of these and you can use different directory names. The mount points need not necessarily be subdirectories of /media. However, it is possible that Nautilus does not show your drive automatically if you create the mount points outside /media. 8. Create a backup copy of /etc/fstab: <pre><nowiki> # cd /etc # cp fstab fstab-backup </nowiki></pre> 9. Add the following lines at the end of /etc/fstab: <pre><nowiki> /dev/sda4 /media/zip auto user,noauto 0 0 /dev/sda4 /media/zipvfat vfat user,noauto 0 0 </nowiki></pre> If you used different directory names or omitted one of the mount points in step 7 you have to change these lines, too. 10. Reboot your machine. 11. Put a disk containing a VFAT file system into your ZIP drive and try to mount it using both of the mount points: <pre><nowiki> $ mount /media/zip $ ls /media/zip $ umount -v /media/zip $ mount /media/zipvfat $ ls /media/zipvfat $ umount -v /media/zipvfat </nowiki></pre> You may have to repeat the mount commands a few times. I suspect that this is a driver bug. The ls commands should list the contents of the ZIP drive. If this step works you have installed your ZIP drive successfully. 12. For Gnome users: Open Nautilus file manager and press the "Computer" button on the tool bar (the button with a monitor icon). You should see icons for your ZIP drive and the zipvfat mount point. You can mount, unmount, and use your ZIP drive with both of these icons using Nautilus. == Other resources == Linux ZIP Drive Mini-HOWTO can be found at [http://www.tldp.org/HOWTO/ZIP-Drive.html]. The instructions in the Mini-HOWTO are outdated for a Linux system with udev. Linux Parallel Port Home Page can be found at [http://www.torque.net/linux-pp.html]. ---- [[category:CategoryHardware]] [[category:UbuntuHelp]]
该页面使用的模板:
模板:From
(
查看源代码
)
模板:Languages
(
查看源代码
)(受保护)
模板:Languages/Lang
(
查看源代码
)(受保护)
返回至
UbuntuHelp:IomegaZIPDrive
。