Re: Bug#345977: ITP: polld -- Polling demon
On Wed, Jan 04, 2006 at 11:29:07AM -0600, Nathan Poznick wrote: Thus spake Roger Leigh: What is the problem this is trying to solve? If the partition table is being changed, the tool that changed it should issue a BLKRRPART ioctl, like fdisk does for example (see linux/fs.h). I have a USB card reader which has 5 different slots for various media. If I plug in the card reader and then later insert a CF card, the CF card slot's device does not have the partition device created when using udev (I have to insert the CF card and then plug in the card reader). I Works fine here... /dev/sdc is created when the card reader is plugged in, and /dev/sdc1 is created when I plug in a card. No ugliness required. Hamish -- Hamish Moffatt VK3SB [EMAIL PROTECTED] [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Bug#345977: ITP: polld -- Polling demon
On Fri, 2006-01-06 at 19:24 +1100, Hamish Moffatt wrote: On Wed, Jan 04, 2006 at 11:29:07AM -0600, Nathan Poznick wrote: Thus spake Roger Leigh: What is the problem this is trying to solve? If the partition table is being changed, the tool that changed it should issue a BLKRRPART ioctl, like fdisk does for example (see linux/fs.h). I have a USB card reader which has 5 different slots for various media. If I plug in the card reader and then later insert a CF card, the CF card slot's device does not have the partition device created when using udev (I have to insert the CF card and then plug in the card reader). I Works fine here... /dev/sdc is created when the card reader is plugged in, and /dev/sdc1 is created when I plug in a card. No ugliness required. But when you remove that (SD, for example) card, and plug in a different type of card (CF, for example), does the kernel notice? -- - Ron Johnson, Jr. Jefferson, LA USA If you don't know how to do something, you don't know how to do it with a computer. Anonymous -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Bug#345977: ITP: polld -- Polling demon
On Fri, Jan 06, 2006 at 08:15:14AM -0600, Ron Johnson wrote: On Fri, 2006-01-06 at 19:24 +1100, Hamish Moffatt wrote: On Wed, Jan 04, 2006 at 11:29:07AM -0600, Nathan Poznick wrote: Thus spake Roger Leigh: What is the problem this is trying to solve? If the partition table is being changed, the tool that changed it should issue a BLKRRPART ioctl, like fdisk does for example (see linux/fs.h). I have a USB card reader which has 5 different slots for various media. If I plug in the card reader and then later insert a CF card, the CF card slot's device does not have the partition device created when using udev (I have to insert the CF card and then plug in the card reader). I Works fine here... /dev/sdc is created when the card reader is plugged in, and /dev/sdc1 is created when I plug in a card. No ugliness required. But when you remove that (SD, for example) card, and plug in a different type of card (CF, for example), does the kernel notice? I don't have any other card types to test with. However, the card reader has been allocated sdc, sdd, sde and sdf (one for each of its four card slots), so I would expect it to work. Hamish -- Hamish Moffatt VK3SB [EMAIL PROTECTED] [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#345977: ITP: polld -- Polling demon
Package: wnpp Severity: wishlist Owner: Michal Čihař [EMAIL PROTECTED] * Package name: polld Version : 0.2 Upstream Author : Michal Čihař [EMAIL PROTECTED] * URL : http://www.cihar.com/software/polld * License : GPL Description : Polling demon This demon periodically opens devices (files) listed in configuration. Main reason is to force rescanning of partitions on usb devices while using udev. -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.14-2-686 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Bug#345977: ITP: polld -- Polling demon
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michal Čihař [EMAIL PROTECTED] writes: This demon periodically opens devices (files) listed in configuration. Main reason is to force rescanning of partitions on usb devices while using udev. What is the problem this is trying to solve? If the partition table is being changed, the tool that changed it should issue a BLKRRPART ioctl, like fdisk does for example (see linux/fs.h). Regards, Roger - -- Roger Leigh Printing on GNU/Linux? http://gimp-print.sourceforge.net/ Debian GNU/Linuxhttp://www.debian.org/ GPG Public Key: 0x25BFB848. Please sign and encrypt your mail. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.8+ http://mailcrypt.sourceforge.net/ iD8DBQFDvAOjVcFcaSW/uEgRArDAAJ9vUxE3TWr+iIkn4TvCD7GtTt5PiACghFoJ W1FS6fucsy+nqJrq/bcwHxI= =xf+6 -END PGP SIGNATURE-
Re: Bug#345977: ITP: polld -- Polling demon
Thus spake Roger Leigh: What is the problem this is trying to solve? If the partition table is being changed, the tool that changed it should issue a BLKRRPART ioctl, like fdisk does for example (see linux/fs.h). I have a USB card reader which has 5 different slots for various media. If I plug in the card reader and then later insert a CF card, the CF card slot's device does not have the partition device created when using udev (I have to insert the CF card and then plug in the card reader). I believe this software is created specifically for that purpose - for card readers which do not report card insertion / removal to the kernel. -- Nathan Poznick [EMAIL PROTECTED] The world is not growing worse and it is not growing better-it is just turning around as usual. - Finley Peter Dunne signature.asc Description: Digital signature
Re: Bug#345977: ITP: polld -- Polling demon
Nathan Poznick wrote: Thus spake Roger Leigh: What is the problem this is trying to solve? If the partition table is being changed, the tool that changed it should issue a BLKRRPART ioctl, like fdisk does for example (see linux/fs.h). I have a USB card reader which has 5 different slots for various media. If I plug in the card reader and then later insert a CF card, the CF card slot's device does not have the partition device created when using udev (I have to insert the CF card and then plug in the card reader). I believe this software is created specifically for that purpose - for card readers which do not report card insertion / removal to the kernel. Yes, there are such devices that do no report media changes. However, this depends on the device and might be an insufficient support by the usb-storage module or a broken card reader device. My one does report the change when I pull out the MMC and put it back in. And yes, I use udev (with hal and KDE-3.4) and I just tested it. What model and vendor is this card reader? What chipset does it use? Maybe it reports media changes in a way that the usb-storage module does not understand, yet... HS -- Mein GPG-Key ist auf meiner Homepage verfügbar: http://www.hendrik-sattler.de oder über pgp.net PingoS - Linux-User helfen Schulen: http://www.pingos.org pgpXcM3zMNifu.pgp Description: PGP signature
Re: Bug#345977: ITP: polld -- Polling demon
On Jan 04, Nathan Poznick [EMAIL PROTECTED] wrote: I have a USB card reader which has 5 different slots for various media. If I plug in the card reader and then later insert a CF card, the CF card slot's device does not have the partition device created when using udev (I have to insert the CF card and then plug in the card reader). I believe this software is created specifically for that purpose - for card readers which do not report card insertion / removal to the kernel. OPTIONS+=all_partitions (Documented in README.Debian and udev(8).) This program still looks like a bad idea. -- ciao, Marco signature.asc Description: Digital signature
Re: Bug#345977: ITP: polld -- Polling demon
Hi On Wed, 4 Jan 2006 19:33:26 +0100 [EMAIL PROTECTED] (Marco d'Itri) wrote: On Jan 04, Nathan Poznick [EMAIL PROTECTED] wrote: I have a USB card reader which has 5 different slots for various media. If I plug in the card reader and then later insert a CF card, the CF card slot's device does not have the partition device created when using udev (I have to insert the CF card and then plug in the card reader). I believe this software is created specifically for that purpose - for card readers which do not report card insertion / removal to the kernel. OPTIONS+=all_partitions (Documented in README.Debian and udev(8).) I know about this. This pollutes my /dev with many files, forcing to rescan device makes appear only partitions which exist. This program still looks like a bad idea. Find better way to do same thing. Card reader seems to not report card changes at all. I'm not on debian-devel, please cc me. -- Michal Čihař | http://cihar.com signature.asc Description: PGP signature