Re: [PATCH] 2.6.19-rc2-mm2 pktcdvd: add sysfs and debugfs interface

From: Peter Osterlund
Date: Sun Oct 22 2006 - 13:43:05 EST


"Thomas Maier" <balagi@xxxxxxxxxxx> writes:

> this patch adds a sysfs and debugfs interface
> to the pktcdvd driver.
> The procfs interface is not modified!

Calling the character device interface "procfs interface" is
misleading, so I disagree with this part of the patch:

+ Note: pktsetup uses the pktcdvd procfs interface!

The only connection pktsetup has with procfs is that it reads the
character device minor number from /proc/misc. If that number was
available somewhere else or if udev created /dev/pktcdvd/control
automatically, pktsetup wouldn't need /proc at all.

Actually, checking my FC5 installation, /dev/pktcdvd/control is
created automatically when the driver is loaded, so the /proc code in
pktsetup is only needed to cope with older distributions.

--
Peter Osterlund - petero2@xxxxxxxxx
http://web.telia.com/~u89404340
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/