hello hackers,

I recently ran into a issue with a storage server that has some of the
drives in gpt vs mbr, tracked it down to a 64 char limit that is preventing
aliases in function make_dev_physpath_alias. I was curious if there was any
reason why this couldn't be bumped from 64 to 128 which would make room for
the device paths of gpt roughly around 94 and 96 chars long.

- #define SPECNAMELEN
<http://fxr.watson.org/fxr/ident?im=3;i=SPECNAMELEN>     63
  */* max length of devicename */
+ *#define SPECNAMELEN
<http://fxr.watson.org/fxr/ident?im=3;i=SPECNAMELEN>     127
   */* max length of devicename */*


http://fxr.watson.org/fxr/source/sys/param.h#L106

Jul 14 22:10:17 fbsd9 kernel: make_dev_physpath_alias: WARNING - Unable to
alias gptid/4d177c56-ce17-26e3-843e-9c8a9faf1e0f to enc@n5003048000ba7d7d
/type@0/slot@b/elmdesc@Slot_11/gptid/4d177c56-ce17-26e3-843e-9c8a9faf1e0f -
path too long
Jul 14 22:10:17 fbsd9 kernel: make_dev_physpath_alias: WARNING - Unable to
alias gptid/4b1caf38-d967-24ee-c3a0-badff404e7ed to enc@n5003048000ba7d7d
/type@0/slot@5/elmdesc@Slot_05/gptid/4b1caf38-d967-24ee-c3a0-badff404e7ed -
path too long

-Selphie (Estella Mystagic)
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to