Displaying 6 results from an estimated 6 matches for "unit_number".
2003 Sep 01
1
testers needed for CAM INVARIANTS fix
...d *context, int pending)
+ {
+ struct cam_periph *periph;
+ struct cd_softc *softc;
+ char tmpstr[80], tmpstr2[80];
+ int s;
+
+ periph = (struct cam_periph *)context;
+ softc = (struct cd_softc *)periph->softc;
+
+ snprintf(tmpstr, sizeof(tmpstr), "CAM CD unit %d", periph->unit_number);
+ snprintf(tmpstr2, sizeof(tmpstr2), "%d", periph->unit_number);
+
+ s = splcam();
+
+ sysctl_ctx_init(&softc->sysctl_ctx);
+ softc->sysctl_tree = SYSCTL_ADD_NODE(&softc->sysctl_ctx,
+ SYSCTL_STATIC_CHILDREN(_kern_cam_cd), OID_AUTO,
+ tmpstr2, CTLFLAG_RD, 0...
2011 Dec 01
2
Association problem
...r, unit, society
I have linked member, unit and society through member_property table
user has one to one association with member while all other models
have many to many association.
How do I link user to member, and user to unit through member
i wanted something like
<%= @user.member.unit.unit_number %></p>
Can someone guide how to achieve this
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from th...
2013 Oct 15
0
How to unstick ZFS resilver?
...start_time[(struct buf *)arg0] = timestamp;
}
fbt::dadone:entry
/(this->bp = (struct buf *)args[1]->ccb_h.periph_priv.entries[1].ptr) && start_time[this->bp] && (timestamp - start_time[this->bp]) > TOO_SLOW/
{
@[strjoin("da", lltostr(args[0]->unit_number))] = count();
start_time[this->bp] = 0;
}
-GAWollman
2006 Mar 10
2
adding to has_many on create and edit
...''show'', :id => @unit
else
render :action => ''edit''
end
end
#snip
end
-----------
and a _form.rhtml like so:
-----------
<%= error_messages_for ''unit'' %>
<!--[form:unit]-->
<p><label for="unit_number">Number</label><br/>
<%= text_field ''unit'', ''number'' %></p>
<p><label for="unit_description">Description</label><br/>
<%= text_area ''unit'', ''description'' %...
2013 Feb 23
1
Old ICH7 SATA-2 question
Hello there, I've got a question about SATA.
I've got ASUS P5GC-MX/1333 with ICH7. (SATA2 support)
A few HDD with SATA2.
system:
uname -a
FreeBSD diablo.miekoff.local 9.1-STABLE FreeBSD 9.1-STABLE #1 r246666:
Tue Feb 12 00:19:07 MSK 2013
root at diablo.miekoff.local:/usr/obj/usr/src/sys/DIABLO64 amd64
camcontrol info
camcontrol iden ada2
pass2: <ST3500320AS SD1A> ATA-8 SATA 2.x
2006 Nov 17
1
gjournal on 6.x wont build
Hi all,
I was intending on trying out gjournal on a new disk i've added in my
desktop. I had a look to see what the most recent patch provided by
Pawel and found
http://people.freebsd.org/~pjd/patches/gjournal6_20061024.patch
I created the directories as per Pawel's original post
(http://lists.freebsd.org/pipermail/freebsd-fs/2006-June/001962.html)
and the patch succeeded with no failed