View Single Post

   
  #1 (permalink)  
Old 02-20-2008, 06:27 AM
Niki Kovacs
 
Posts: n/a
Default mount /zip... odd behaviour

Hi,

After yesterday's thread (internal zip drive with 2.6), I played around a
lot with different suggestions, and what came up was rather odd. Thought
I'd start this new thread to sum up information until now.

My internal Zip drive is correctly recognized at startup as hdd, but udev
only creates a device noce /dev/hdd1 when a zip disk is inserted before
startup. (You may wonder why it's not /dev/hdd4. That's because I erased
the fourth VFAT partition and put a first ext2 partition on every disk.)

Joost Kremers suggested I create the device manually with mknod, so here's
what I put in /etc/rc.d/rc.local:

mknod -m 660 b 22 65

Now here's what happens:

- Start the PC without a disk in the zip drive.

- Log in.

- Insert zip disk.

- mount /zip -> I get an error message about /dev/hdd1 not being a valid
block device... BUT:

- If I issue the command again, it works!

I tried this in several combinations, and here's the conclusion: when the PC
starts without a zip disk inserted - and the device is created manually
with mknod - MOUNT FAILS, BUT ONLY THE FIRST TIME. (Not shouting, but
marvelling...)

What's happening here?

Niki Kovacs
Reply With Quote