From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Malinovich Date: Thu, 11 Mar 2004 10:42:33 +0000 Subject: udev and Iomega Zip drives Message-Id: <1079001753.2109.6.camel@Thief> MIME-Version: 1 Content-Type: multipart/mixed; boundary="=-4SoUoqJhjZCkE+z/w3HL" List-Id: To: linux-hotplug@vger.kernel.org --=-4SoUoqJhjZCkE+z/w3HL Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I just started using udev and I'm really thrilled so far. Having 4 USB drives always appearing on the correct /dev/ entry is REALLY nice. Well, make that 3. The 4th one is my Iomega Zip drive. And while it appears at the correct /dev/ entry, it doesn't create any partition entries unless the drive was plugged in with a disk already inside. If I add a disk later, I have to access the drive in order for the disk to be detected (fdisk -l /dev/iomega-zip for example). The problem is that Zip drives ONLY use partition 4. So in order to mount the disk, I have to mount /dev/iomega-zip4. I want that entry to be created as soon as /dev/iomega-zip is created, regardless of whether there is a disk or not so that when there IS a disk inside, I won't have to run fdisk -l or anything else first. Unfortunately, using NAME{all_partitions} doesn't work because it creates 15 partitions. This causes the drive to get VERY confused and to spew out all sorts of invalid partition errors. So is there a way to create just the partition 4 device as soon as the device entry is created? Thanks in advance for any help. --=20 Alex Malinovich Support Free Software, delete your Windows partition TODAY! Encrypted mail preferred. You can get my public key from any of the pgp.net keyservers. Key ID: A6D24837 --=-4SoUoqJhjZCkE+z/w3HL Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBAUEKYBPYwh6bSSDcRApufAKCbO1Qqy/26DshEm5pTq8n0/bi1TwCfT1ln 4Nb05wGHTmq9HYLp6MQ6roY= =zH8i -----END PGP SIGNATURE----- --=-4SoUoqJhjZCkE+z/w3HL-- ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel