Displaying 20 results from an estimated 400 matches similar to: "system freezes with ext3"
2002 Oct 10
7
Patches since 2.4.19
Just looking through the 2.4.20pre changelogs, I see there's been a bunch
of Ext3 patches since 2.4.19. I'm keen to take advantage of any bug fixes
and performance improvements, but am nervous about using 2.4.20 until
it's completed its release cycle.
Is there any way to get a patch just containing the Ext3 changes? Are
there any changes since 2.4.20 that are very important, either
2002 Sep 29
0
Re: [PATCH] fix htree dir corrupt after fsck -fD
Hi Ryan,
>> This is a completely fresh loopback EXT3 filesystem, untouched by fsck -D,
>> and normally unmounted.
> Oh, and I've attached the current version of my test program if anyone is
> interested.
> ...
> It can corrupt my loopback test filesystems in under 5 minutes. Note that it
> will completely destroy any data in its working directory, however.
I am
2002 Sep 29
1
Re: ARGS [PATCH] fix htree dir corrupt after fsck -fD
Hi Ryan,
> I am running your program now over an hour without any corruption on the
> loopback mounted ext3 filesystem.
shit, I thought testing over an hour (10mins your program, umount, fsck -fD
test.img in a loop) is enough but it isn't. Damn f*ck :(
root@codeman:[/] # fsck -fD test.img
fsck 1.29 (24-Sep-2002)
e2fsck 1.29 (24-Sep-2002)
Truncating orphaned inode 6871 (uid=0, gid=0,
2002 Sep 22
1
htree 2.4.19-dxdir patch
Hi there,
: without index mount:
root@codeman:[/test] # time randfiles foo 20000
real 1m10.501s
user 0m0.240s
sys 1m8.590s
root@codeman:[/test] # time randfiles foo 100000
real 32m55.929s
user 0m1.890s
sys 32m2.500s
: with index mount:
root@codeman:[/test] # time randfiles foo 20000
real 1m8.428s
user 0m0.350s
sys 1m6.780s
root@codeman:[/test] # time randfiles
2013 Jan 28
1
The RPC server is unavailable on Samba 4 clients
Hi,
I used to upgrade/migrated samba 3.3.10 to samba 3.4.17 with LDAP backend
in place, while upgrading the CentOS from 5.5 to 5.9. In place to retain
the trust relationship.
The users can able to login without re-authentication from existing
machines. Tested 3 XPs, and 3 Win7 but it takes 5-8 mins to login compared
to 1 win7 that was re-connected (disconnected from domain, restart, then
rejoin
2006 Jan 15
7
Include extra partial in layouts
Hi all,
Does anybody know how to include a partial (next to @content_for_layout) in a
layout file?
I''m looking for a something like @partial_for_include => ''filename'' in my
layout files. So a linked .rhtml file gets picked up from within a layout
file. All my layout files (4 at the moment) have a <div class="navright">
tag, so one change in the
2006 Jan 05
7
HOWTO: Combine fields from 2 two tables in 1 object
Hi all,
For a dropdownlist (showing "Company - FirstName Lastname'') I want to fill an
object @project_contacts with "Name" from table Companies and "Firstname" and
"Lastname" from table contacts. Any idea?
Regards,
Gerard.
--
"Who cares if it doesn''t do anything? It was made with our new
Triple-Iso-Bifurcated-Krypton-Gate-MOS
2006 Jan 03
3
Can I map 2 tables into one class
Can I map 2 tables into one class?
Is there any pattern, e.g. using ActiveRecord aggregation?
Thanks
Szczepan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060103/fa2aed7c/attachment.html
2006 Jan 17
14
Going nuts on ''\n'' to <br />
Hi all,
Is there no way to easily resolve this. It can''t be that I''m the first that
wants this, and it wouldn''t be RoR if it''s not possible.
On the mysql prompt with the select description from todos .. linefeeds are
show, so they are there.
This is the actual contents with a linefeed after the ":"
"Project contacts:
delete table, point
2006 Jan 10
15
KISS and DRY? Not even close!
Hi all,
After working on my first rails app and having handed over some very
sophisticated coding from a lot of you guys. My app does what I want it to
do, but I''m no where near the end yet, and it seems that the KISS and DRY
objectives already went down the drain.
It could be lack of knowledge, only doing Ruby on (and) Rails for a month, but
I''m stuck on the following:
2006 Jan 02
5
NoobyQ: how to work with a table of static lookup data??
Hello out there!
Nooby question: What''s the "Rails" way to work with tables of relatively
static lookup data?
Objectively (I''m thinking); I don''t want to hit the DB each time, so for
each lookup table, initialize a globally available hash with lable/value
pairs...
Am I on the right track?
How would you do this kind of thing in Rails?
Thanks!
--
2006 Jan 28
3
DRY conflict with "Updated at" "Created at" "Deleted at" in view
Hi all,
Are there any helpers or so for listview routines that suppres the three above
mentioned columns? I''m currently exploring something like the code below. But
it feels like I''m doing Rails'' work.
# just for test purposes
<div id="debug">
<% for col in Product.columns.map %>
<%= col.name %> - <%= col.type %><br/>
<%
2006 Jan 04
5
check if a file exists?
Hello all!
I have a list of people on a page, and some of this people have pictures
of them stored on the web server. So I have an image tag like this on my
page:
<%= image_tag "/images/people/" + person.pers_id.to_s + ".jpg" %>
But not all have a picture, so if the file for pers_id=1899 does not
exist, i would like to display a custom image for that guy.
How can I do
2006 Jan 10
8
Noob: Child records not saved
Hi all,
happily coding along, but it seems a belongs_to record is not saved.
# Create some stuff
def create_project
@contact = Contact.new
@project = Project.new(@params[''project''])
@project_contact = ProjectContact.new(@params[''collect''])
@project.project_contact = @project_contact
contact =
2006 Jan 01
9
Child record becomes orphan
Hi all,
I''ve got these company (has) contacts relational tables. I want to make sure a
company can''t be deleted when it still has contacts. (because I can now,
which results in nil like errors when listing the contacts ... obviously)
Are there any helpers to do so, is Rails aware of this? Or do I need to put in
a condition before destroying the company record in question
2005 Dec 23
5
Can''t get data from products into @order
I went throught the "agile web developemnt with rails" and Now I''m
trying to ''enhance'' the code with some extra options. When I go to
admin/shipping I want to include some data from the products table in
with the order info listed. I can''t seem to get this to work. in my
partial form I''m trying to add this:
<td
2006 Jan 02
9
Generating nice tables
Making tables in templates is pretty easy, except for one minor problem.
They tend to be fairly ugly.
If you have a model with three attributes, it''s very easy to create an
html table that looks like this..
Col1 Col2 Col3
A B D
A B E
A C F
A C G
Which becomes difficult to read when you have a lot of repeated data.
What I would really like to generate
2005 Dec 30
3
model - controller always one-on-one?
Hi All,
Is it necessary to always have a controller per model?
Rephrased:
Would you end up jumping through hoops in the future if you have a controller
called Customer in which you add methods to create new companies as well as
new contacts?
Thanx
Regards,
Gerard.
--
"Who cares if it doesn''t do anything? It was made with our new
Triple-Iso-Bifurcated-Krypton-Gate-MOS
2005 Dec 31
7
Dynamic form? Not really!
Hi guru''s out there,
Im happilly coding my first rails app, and all goes well. I find myself
manually coding in a particular field all the time (company_id), that relates
the contact to a company. The total coding of this form seems somewhat much.
Could somebody tell me what Rails power I''m possibly missing and stuborn as I
am trying to do myself?
I was wondering if the
2006 Jan 08
4
ID from child table not handled by AR
Hi all,
Im slowly moving forward, but there''s something a miss. I can save some
relational records to tables, but only once. For an unknown reason, the
primary key (id) of the child table is not automatically increased. (I can
only perform one save, (the first records id field holds the value ''0'') and
during the next save it says:
Mysql::Error: Duplicate entry