]> git.proxmox.com Git - mirror_spl-debian.git/commit - module/spl/spl-generic.c
Add hw_serial support based on a usermodehelper which runs
authorbehlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c>
Sat, 12 Apr 2008 04:27:59 +0000 (04:27 +0000)
committerbehlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c>
Sat, 12 Apr 2008 04:27:59 +0000 (04:27 +0000)
commitf23e92fabf091e3b86005e4dd194702aa8f7535d
tree6370a7bdb0f8a8799cb9c2eb904bc4fbe67d5343
parent12ea923056d9d3c54e4a2d1a5095ca11784dd2a5
Add hw_serial support based on a usermodehelper which runs
at spl module load time can calls hostid.  The resolved hostid
is then fed back in to a proc entry for latter use.  It's
not a pretty thing, but it will work for now.  The hw_serial
is required for things such as 'zpool status' to work.

git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@71 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c
modules/spl/spl-generic.c