--------------ms0C5C3C03F37AC9CA000BC2F8
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Bret Indrelee wrote:
>
> Is there any way for the kernel module to do the 'mknod' commands from
> within the module? I would rather have the code create the inode rather than
> needing a separate script that creates each of the minor device numbers.
>
> Has anyone done this in one of their device drivers?
I think devfs do what you need.
> -Bret
-- Alexandre Hautequest - Linux User #116289When I on the road, I'm indestructible. No one can stop me. But they try... --------------ms0C5C3C03F37AC9CA000BC2F8 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature
MIIKmwYJKoZIhvcNAQcCoIIKjDCCCogCAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC CCcwggTxMIIEWqADAgECAhBGp6zM8e+7zhi5hjSnOmbYMA0GCSqGSIb3DQEBBAUAMIHMMRcw FQYDVQQKEw5WZXJpU2lnbiwgSW5jLjEfMB0GA1UECxMWVmVyaVNpZ24gVHJ1c3QgTmV0d29y azFGMEQGA1UECxM9d3d3LnZlcmlzaWduLmNvbS9yZXBvc2l0b3J5L1JQQSBJbmNvcnAuIEJ5 IFJlZi4sTElBQi5MVEQoYyk5ODFIMEYGA1UEAxM/VmVyaVNpZ24gQ2xhc3MgMSBDQSBJbmRp dmlkdWFsIFN1YnNjcmliZXItUGVyc29uYSBOb3QgVmFsaWRhdGVkMB4XDTk5MTAyNjAwMDAw MFoXDTk5MTIyNTIzNTk1OVowggEMMRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjEfMB0GA1UE CxMWVmVyaVNpZ24gVHJ1c3QgTmV0d29yazFGMEQGA1UECxM9d3d3LnZlcmlzaWduLmNvbS9y ZXBvc2l0b3J5L1JQQSBJbmNvcnAuIGJ5IFJlZi4sTElBQi5MVEQoYyk5ODEeMBwGA1UECxMV UGVyc29uYSBOb3QgVmFsaWRhdGVkMSYwJAYDVQQLEx1EaWdpdGFs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SAA/Rgg5V+CprGoksVYasGNAzzrw80FopCubjGCAjwwggI4AgEBMIHhMIHM MRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjEfMB0GA1UECxMWVmVyaVNpZ24gVHJ1c3QgTmV0 d29yazFGMEQGA1UECxM9d3d3LnZlcmlzaWduLmNvbS9yZXBvc2l0b3J5L1JQQSBJbmNvcnAu IEJ5IFJlZi4sTElBQi5MVEQoYyk5ODFIMEYGA1UEAxM/VmVyaVNpZ24gQ2xhc3MgMSBDQSBJ bmRpdmlkdWFsIFN1YnNjcmliZXItUGVyc29uYSBOb3QgVmFsaWRhdGVkAhBGp6zM8e+7zhi5 hjSnOmbYMAkGBSsOAwIaBQCggbEwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG 9w0BCQUxDxcNOTkxMDI2MTgwMjU0WjAjBgkqhkiG9w0BCQQxFgQUTCbiULHsdmoh8u3C5RWG TjF+ChMwUgYJKoZIhvcNAQkPMUUwQzAKBggqhkiG9w0DBzAOBggqhkiG9w0DAgICAIAwBwYF Kw4DAgcwDQYIKoZIhvcNAwICAUAwDQYIKoZIhvcNAwICASgwDQYJKoZIhvcNAQEBBQAEgYBQ aleRgxp2fmDfE3Q291VMus26apCkrQqzTKTemSfF3khggeDSQdySPPVT/rvjWiACDU+VsQut rwftHYSX44VuX+VO+/PL55KFLbwI2wQ5Io3xjt6zt84i+HNmuIH+KKav69dkggezCOBcFS0Z dLMp1Jg5+Zmyzr8zzIuVBbFrqA== --------------ms0C5C3C03F37AC9CA000BC2F8--
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/