On 2013-Mar-28 15:20 , Mark Cave-Ayland wrote:
[ command line limited to 80 bytes ] Would increasing it to 256 bytes be enough? I can't say I've ever come across command lines in a normal environment with more than about 80 characters, but I don't see an issue with increasing it.
In openboot, we run into long command lines primarily when we do network boot - the arguments to network devices (particularly for things like iSCSI) can get absurdly long.
E.g.
ok boot /pci@340/pci@1/pci@0/network@5:iscsi-target-ip=179.182.226.103,iscsi-target-name=iqn.1986-03.com.sun:02:boot,host-ip=182.179.226.205,iscsi-port=3260,iscsi-lun=1,iscsi-partition=a,router-ip=182.179.226.254,subnet-mask=255.255.255.0
The above has an unusually short iscsi-target-name. Many iqn strings go over 80 bytes by themselves.