Re: BUG: 'glabel label' name's lenght, is truncated without err/warn

2011-11-08 Thread Ed Schouten
* Lucas Holt l...@foolishgames.com, 2005 15:24: --- src/sbin/geom/class/label/geom_label.c2008/11/21 21:05:31 1.3 +++ src/sbin/geom/class/label/geom_label.c2011/11/05 14:15:23 1.4 @@ -118,6 +118,12 @@ label_label(struct gctl_req *req) return; } +

Re: BUG: 'glabel label' name's lenght, is truncated without err/warn

2011-11-08 Thread Ed Schouten
Hi Andrew, * Andrew Duane adu...@juniper.net, 2008 16:22: Checking the return code of strlcpy won't say if the entire string fit (exactly) correctly, or if it was truncated. It seems they do: RETURN VALUES The strlcpy() and strlcat() functions return the total length of the

RE: BUG: 'glabel label' name's lenght, is truncated without err/warn

2011-11-08 Thread Andrew Duane
, 2011 6:34 AM To: Lucas Holt Cc: rank1see...@gmail.com; hack...@freebsd.org Subject: Re: BUG: 'glabel label' name's lenght, is truncated without err/warn * Lucas Holt l...@foolishgames.com, 2005 15:24: --- src/sbin/geom/class/label/geom_label.c 2008/11/21 21:05:31 1.3 +++ src/sbin

Re: BUG: 'glabel label' name's lenght, is truncated without err/warn

2011-11-07 Thread rank1seeker
- Original Message - From: Lucas Holt l...@foolishgames.com To: rank1see...@gmail.com Cc: hack...@freebsd.org Date: Sat, 5 Nov 2011 10:24:04 -0400 Subject: Re: BUG: 'glabel label' name's lenght, is truncated without err/warn On Nov 5, 2011, at 7:02 AM, rank1see...@gmail.com wrote

Re: BUG: 'glabel label' name's lenght, is truncated without err/warn

2011-11-05 Thread Lucas Holt
On Nov 5, 2011, at 7:02 AM, rank1see...@gmail.com wrote: 8.2R p4 both i386/amd64 Supplied name of 16 chars -- # glabel label -v swap_679592d048a ada0s3b Metadata value stored on ada0s3b. Done. -- Truncated to 15 chars -- # ll /dev/label total 0 crw-r- 1 root operator -