Mike Adolf wrote:
On Saturday 12 February 2005 04:31 pm, Mikkel L. Ellertson wrote:


This is strange. /dev/hdd should be the entire ZIP disk, including the partition table. /dev/hdd4 should be the partition with the data on it. Unless the ide-floppy driver is doing something different in 2.6.x, so that the ZIP data partition becomes /dev/hdd instead of /dev/hdd4.

Did the disk you used have other files on it? Are you able to access
files on other ZIP disks? If you boot without a disk in the drive, does
it detect when you put in a disk? Does it detect when you change the ZIP
disk?

In any case, I would hold off on the Twiki entry for a while - it sounds
like a bug report may be in order here. If the entry in /etc/fstab is
being created for you, but is the wrong one, then that has to be fixed.
One other small point - you do not have to reboot for changes in
/etc/fstab to take affect. The file is read as needed. Hotplug adds
entries "on the fly" when you plug in USB storage devices...

Mikkel


* I have one disk I formatted FAT32 on windows xp. * I booted 10.1 with disk in and wrote a text file to it. OK
* I rebooted 10.1 with disk out and inserted after boot, the file was present and readable
* I rebooted xp, the file was there but cr/lf screwed up.
>
That is normal for a text file. Windows uses CR/LF, Linux uses LF. If you open it in Wordpad, it will fix it.
>
* I rebooted 10.1 with disk in, file was there.
* I manually ejected it and inserted a second disk containing IOMEGA written files (a new factory formatted disk)
* When I open the zip, the window still showed the file from disk 1, and I could read it??
>
The information was still in the disk cache. It didn't go back out to the drive. I wonder if "eject /dev/hdd" or "eject /mnt/zip" would work. Try it and see if it unmounts and ejects the disk. I think it will work as a normal user. You should also be able to use "eject zip".
>
* I su-ed to root, umount /mnt/zip and mount /mnt/zip with IOMEGA disk still in drive. Now all files on disk were visible.

Mike

I guess the driver, or udev, is translating the partition table or something, so that /dev/hdd is what would be /dev/hdd4 in 9.2. I'll have to dig out my USB ZIP drive, and see how that is handled. I suspect that that will still use the /dev/sd?4 for ZIP disks. I am not sure how it would handle a disk that wasn't partitioned yet. It could make partitioning and formating a ZIP disk a problem under Linux! What does "fdisk -l /dev/hdd" show?

Mikkel
--

  Do not meddle in the affairs of dragons,
for you are crunchy and taste good with Ketchup!

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to