Re: Accessing disks via their serial numbers.



In message: <20060626080038.GA12511@xxxxxxxxxxxxxxxxx>
Pawel Jakub Dawidek <pjd@xxxxxxxxxxx> writes:
: > I'm against until somebody have explained what the use is, and if
: > use is proven, it should be done with devfs device-on-demand(/cloning)
: > instead of g_label.
:
: I don't really care how we will make it visible for the user. This could
: be devd(8) using some tool (diskinfo(8)?) to fetch serial number and
: create a symlink to newly attached disk, but we need to have a general
: mechanism inside the kernel for getting such informations.

devd could do this. We'd need to bring in Robert's geom publishes to
devctl patches, but that is doable. The only snag, alas, is that this
won't be available very early in the boot process...

Warner
_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: ZFS kmem_map too small.
    ... Pawel Jakub Dawidek wrote: ... For i386 one has to set, eg. 'options KVA_PAGES=512' to the kernel ... config to be able to define kmem larger than ~700MB. ...
    (freebsd-current)
  • Re: System processes recognition (Adding P_KTHREAD to swapper)
    ... Pawel Jakub Dawidek wrote: ... any process that matches is also a "kernel thread process". ... bit on the swapper process... ... on a test system, and see if the system goes haywire :-) ...
    (freebsd-arch)