chiark / gitweb /
[PATCH] Add format modifier for devfs like naming
authorarnd@arndb.de <arnd@arndb.de>
Tue, 25 Nov 2003 07:41:40 +0000 (23:41 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:13:04 +0000 (21:13 -0700)
commit5c6f0f141d43703fe84b8c0ddcebf9b79001daf9
tree6cec78137e2845ed0b46f2062e8c06fb02569cb9
parentbefd83cc4ee33f6a557b531d4a1be13472ec67cd
[PATCH] Add format modifier for devfs like naming

On Monday 24 November 2003 01:29, Greg KH wrote:
> I think with the ability to capture the output of the CALLOUT rule,
> combined with the ability to put format modifiers in the CALLOUT program
> string, we now have everything in place to emulate the existing devfs
> naming scheme.  Anyone want to verify this or not?

I would prefer to have the ability of creating partition nodes in devfs
style built-in to udev. Devfs used to call the whole disk e.g.
"/dev/dasd/0123/disk" and the partitions "/dev/dasd/0123/part[1-3]".
This can obviously be done with a CALLOUT rule, but its common enough
to make it a format modifier. AFAIK, this scheme has been used for
ide, scsi and dasd disks, which is about 99% of all disks ever connected
to Linux.
namedev.c