On Saturday 12 February 2005 09:54 pm, Mikkel L. Ellertson wrote:
> 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


Here are the partitions.  Remember that this was formatted on XP as FAT32.

[EMAIL PROTECTED] etc]# fdisk -l /dev/hdd

Disk /dev/hdd: 100 MB, 100646912 bytes
64 heads, 32 sectors/track, 95 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdd1   ?      379950      937327   570754815+  72  Unknown
Partition 1 has different physical/logical beginnings (non-Linux?):
     phys=(357, 116, 40) logical=(379949, 11, 5)
Partition 1 has different physical/logical endings:
     phys=(357, 32, 45) logical=(937326, 59, 3)
Partition 1 does not end on cylinder boundary.
/dev/hdd2   ?       82368     1027695   968014120   65  Novell Netware 386
Partition 2 has different physical/logical beginnings (non-Linux?):
     phys=(288, 115, 43) logical=(82367, 59, 19)
Partition 2 has different physical/logical endings:
     phys=(367, 114, 50) logical=(1027694, 14, 2)
Partition 2 does not end on cylinder boundary.
/dev/hdd3   ?      913029     1858355   968014096   79  Unknown
Partition 3 has different physical/logical beginnings (non-Linux?):
     phys=(366, 32, 33) logical=(913028, 3, 26)
Partition 3 has different physical/logical endings:
     phys=(357, 32, 43) logical=(1858354, 20, 25)
Partition 3 does not end on cylinder boundary.
/dev/hdd4   ?     1409025     1409052       27749+   d  Unknown
Partition 4 has different physical/logical beginnings (non-Linux?):
     phys=(372, 97, 50) logical=(1409024, 0, 1)
Partition 4 has different physical/logical endings:
     phys=(0, 10, 0) logical=(1409051, 6, 11)
Partition 4 does not end on cylinder boundary.

Partition table entries are not in disk order

Mike

____________________________________________________
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