<br><br><div><span class="gmail_quote">On 7/13/05, <b class="gmail_sendername">R Kimber</b> <<a href="mailto:rkimber@ntlworld.com">rkimber@ntlworld.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I've been hitherto happily using an Iomega Zip USB drive mounted on<br>/dev/ sda4 (ext2) thus:-<br><br>/dev/sda4  /mnt/pd  ext2   defaults,noauto,users 0 0<br><br>Now, after a re-boot, when I try to access the drive I get a message
<br>saying there is no such device as /dev/sda4<br><br>If I change fstab to<br>/dev/sda   /mnt/pd auto  defaults,noauto,users 0 0<br>it seems to mount OK but I am told: VFS: Can't find an ext2 filesystem<br>on dev sda<br>
<br>if at the promt I do<br>mount -t ext2 /dev/sda4 /mnt/pd<br>it mounts correctly, and a script that copies stuff from the HD to the<br>Zip works, except that when it tries to unmount the drive, it complains<br>- unsurprisingly - that mount disagrees with the fstab.
<br><br>How do I set it up so that /dev/sda4 is created (either at boot or when<br>the device is accessed) but the zip drive is not automatically mounted<br>at boot, and my script can happily mount and unmount the drive when
<br>needed?</blockquote><div><br>
I don't use zip drives much so I would have to guess on that part, but<br>
I do see why your /dev/sda   /mnt/pd auto  defaults,noauto,users 0 0<br>
/etc/fstab line gives you the ever. It is because the ext2 partition is<br>
on /dev/sda4 and not on the /dev/sda<br>
 </div>So It looks like the usb drive is being detected by hotplug, but a<br>
zip disk is similar to floppy in that the computer doesn't know<br>
when you put in the disk (unless there is zip software that can<br>
detect it and tell it). So, if you are willing to mount it manually<br>
than you should be able to use the line (in /etc/fstab):<br>
<br>
/dev/sda4   /mnt/pd auto  defaults,noauto,users 0 0<br>
<br>
you will need to mount and unmount manually.<br>
<br>
I will have to try out a zip disk to see if hotplug<br>
handles them automatically or if you need other<br>
software.<br>
<br>
Hope that helps, probably someone else has<br>
some experience with zip disks (otherwise let<br>
me know if you still have problems and I will<br>
play around with a zip disk later.)<br>
<br>
Regards,<br>
Todd<br>
<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I'm using 5.04 on amd64<br><br>Thanks,<br>- Richard<br>--<br>Richard Kimber<br><a href="http://www.psr.keele.ac.uk/">
http://www.psr.keele.ac.uk/</a><br><br>--<br>ubuntu-users mailing list<br><a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br><a href="http://lists.ubuntu.com/mailman/listinfo/ubuntu-users">
http://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br></blockquote></div><br>