Archive for September, 2008

Plone 3 : Changing the title for custom Zope 3 views

Sunday, September 14th, 2008

Recently I needed to change the title for a custom Zope 3 view. The title is displayed in the “Display” menu, when you add the view as one of the “Available view methods” of the content type. The text shown by default is the view name (usually something like viewname_view), which is not very user-friendly. (more…)

Copying a partition table to another disk

Friday, September 5th, 2008

This week I added a new hard drive to a server, meant as a spare drive for the RAID 1 array (linux software RAID). To activate the partitions as spares, I needed to recreate exactly the same partitions as the other disks (same size).

I first tried doing that manually with GNU parted, but that turned out to be hard to do, it seems I could never get the partitions to have exactly the same size…

So I searched a bit on Google, and found a way to make a backup of the partition table of one disk, and copy it to another disk very easily. As usual, the dd command is always a great tool for that kind of job. (more…)