Re: [patch 6/7] s390: ipl device.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2005-09-16 at 09:14 +0200, Heiko Carstens wrote:
> > > Export the ipl device settings to userspace via the sysfs:
> > >  * /sys/kernel/ipl_device
> > What?  Why that location?  Why not in the proper location for your
> > device, on your bus?
> 
> This interface tells from where the kernel was booted from. I don't
> think a device should have an attribute where the meaning would be
> "the current running kernel came via this device into memory".
> IMHO this should be an attribute of the kernel and therefore I
> thought /sys/kernel would be a good idea.

If the additional ipl information is bound to the ipl device then we'd
have to search for the device if we'd want to get the ipl information.
And if we ever want to make /sys/kernel/ipl_device writable to be able
to change the ipl_device for a reboot then what? Have the ipl related
sysfs files for ALL devices you can ipl from to be able to move to
another device? I think we need a central place for this information.

-- 
blue skies,
   Martin

Martin Schwidefsky
Linux for zSeries Development & Services
IBM Deutschland Entwicklung GmbH


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux