From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anssi Saari Date: Sun, 29 Feb 2004 06:02:53 +0000 Subject: Re: NAME{all_partitions}, how does it work? Message-Id: <20040229060253.GA24350@sci.fi> List-Id: References: <20040228194404.GA26312@sci.fi> In-Reply-To: <20040228194404.GA26312@sci.fi> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Sat, Feb 28, 2004 at 09:19:50PM +0100, Kay Sievers wrote: > please try: > > BUS="scsi", SYSFS_vendor="6-in-1 ", SYSFS_model="CF/MD ", NAME{all_partitions}="cf%n" Thanks, it works now. > The attribute belongs to the NAME field not to a format char. > It's mentioned in the man page :) Yes, I misunderstood the part saying this: The NAME field given with the attribute NAME{all_partitions} will create all 15 partitions of a blockdevice. This may be useful for removable media devices. I actually thought the NAME{all_partitions} referred to the device name I had chosen. This was supported by the next part in the manpage, "The NAME ,SYMLINK and PROGRAM fields support simple printf-like string substitution". Anyway, a working example is always the thing to avoid misunderstandings in documentation. ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56&alloc_id438&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