Re: [SLUG] managing .bashrc in subversion?

2008-04-08 Thread Erik de Castro Lopo
Sonia Hamilton wrote:

 A process rather than technical question about subversion.
 
 My personal subversion repo is setup, works ok, etc. But I notice that
 subversion only lets you checkout a directory, not a file.

You can get a single file using export:

svn export svn://server/full/path/name.whatever

Erik
-- 
-
Erik de Castro Lopo
-
A mouse is a device used to point at the xterm you want to type in.
-- Kim Alm, a.s.r
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] managing .bashrc in subversion?

2008-04-08 Thread Sonia Hamilton
On Tue, 2008-04-08 at 16:06 +1000, Erik de Castro Lopo wrote:
 Sonia Hamilton wrote:
 
  A process rather than technical question about subversion.
  
  My personal subversion repo is setup, works ok, etc. But I notice that
  subversion only lets you checkout a directory, not a file.
 
 You can get a single file using export:
 
 svn export svn://server/full/path/name.whatever

I was thinking about that, but the advantage of having .*rc files under
svn is easily keeping them in sync on multiple machines - exporting
drops the file out of svn.
 
-- 
Thanks,

Sonia Hamilton
http://soniahamilton.wordpress.com
http://www.linkedin.com/in/soniahamilton

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Network Real-Time Hot Filesystem Replication?

2008-04-08 Thread Matt Moor

Crossfire wrote:

I've just spent some time quickly researching this to no real satisfaction.

What I'm looking for is a way to do real-time hot-replication of a whole 
filesystem or filesystem tree over 2 nodes (and strictly 2 nodes) 
without STOMITH[1].


The scenario is I have two identical systems with local (software) 
RAID1.  They will be tethered onto their internet feed via ethernet, and 
can optionally be tethered to each other via Gig.


I want to be able to set it up so /home (and maybe other filesystems) 
are replicated from one to the other, in both directions, in real time 
so they can run in an all-hot redundant cluster.


The environment should be mostly read-oriented, so I can live with 
write-latent solutions as long as they handle the race/collision 
gracefully (preferably by actually detecting and reporting it if they 
can't avoid it).




I've had some success with Software iSCSI targets on Linux to date. I'm 
currently using software iSCSI over Gigabit Ethernet to back a VMware 
ESX cluster[0].


Software iSCSI targets (I have experience only with tgtd - the only one 
that seemed current) present a Linux block device as an iSCSI target 
over the network. I present an LVM logical volume.


One could conceive of an eventuality where you made both machines iSCSI 
targets and initiators and ran RAID1 over the local and remote iSCSI 
targets[1]. I have no idea what sort of (terrible) performance you might 
get out of this sort of setup, but it would meet your requirements, and 
with enough RAM for read-caching in each node, it might not be too bad. 
You would need that Gigabit cross-connect.


There are large warnings in the scsi_tgt code about using it in 
production, however.


I suspect this problem space isn't addressed terribly often because, 
well, (1) it's Hard, (2) most people who care about this stuff buy 
shared storage (check ebay), (3) It's even Harder once you start talking 
file systems that do this[2].


Cheers,

Matt

0. I can post my recipe for the target bits, if anyone cares.

1. With a global filesystem, of course.

2. Ceph, which Robert Collins suggested above, is a really good example 
of a brilliantly designed distributed file system (much better than 
MogileFS, which is more an on-disk hash table with quirks), but I have 
my doubts about it's suitability for production systems (though I hope 
it gets there).

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] OpenSuse 10.3 and NTFS

2008-04-08 Thread leei
Hi all,

I hope that someone can help me.

I am using OpenSuse 10.3 and I can not view my Windows XP Pro file system
in OpenSuse and I have made the modifications in the fstab file.

Windows is installed on my first SATA hard disk drive which has an NTFS
file system.

I have attached my fstab file for you to look at so you can tell me where
I am going wrong.

Looking forward to hearing from you.

Regards,
Lee


---
South Africas premier free email service - www.webmail.co.za 
--
For super low premiums, click here http://www.webmail.co.za/dd.pwm

fstab
Description: Binary data
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] OpenSuse 10.3 and NTFS

2008-04-08 Thread leei
Hi all,

I hope that someone can help me.

I am using OpenSuse 10.3 and I can not view my Windows XP Pro file system
in OpenSuse and I have made the modifications in the fstab file.

Windows is installed on my first SATA hard disk drive which has an NTFS
file system.

I have attached my fstab file for you to look at so you can tell me where
I am going wrong.

Looking forward to hearing from you.

Regards,
Lee


---
South Africas premier free email service - www.webmail.co.za 
--
For super low premiums, click here http://www.webmail.co.za/dd.pwm

fstab
Description: Binary data
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Content-Disposition: attachment; filename=

2008-04-08 Thread Michael Chesterton


On 08/04/2008, at 3:17 PM, Peter Rundle wrote:


If however, the end-user has the adobe acroread plugin in either  
FF or IE, then the filename is lost and the acroread offers to save  
the file as the url (createPdf.php in this case).


Does anyone know if this can be got around?



You could try as a dirty hack, linking to creatPdf.php? 
somethingdistinguishable.pdf

don't know if it works, though.

There's probably a right way to do it, i just don't know what it is.

--
Michael Chesterton
http://chesterton.id.au/blog/
http://barrang.com.au/



--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] OpenSuse 10.3 and NTFS

2008-04-08 Thread Heracles

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,
Just a thought:
If the remmed out statement was created by the SuSE install you could
try removing the # and see if that helps.
Also check that you have a /windows/C dorectory for it to mount on.
Heracles


[EMAIL PROTECTED] wrote:
| Hi all,
|
| I hope that someone can help me.
|
| I am using OpenSuse 10.3 and I can not view my Windows XP Pro file system
| in OpenSuse and I have made the modifications in the fstab file.
|
| Windows is installed on my first SATA hard disk drive which has an NTFS
| file system.
|
| I have attached my fstab file for you to look at so you can tell me where
| I am going wrong.
|
| Looking forward to hearing from you.
|
| Regards,
| Lee
|
|
| ---
| South Africas premier free email service - www.webmail.co.za
| --
| For super low premiums, click here http://www.webmail.co.za/dd.pwm
|
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH+/cWybPcBAs9CE8RAnwIAJ9S9hjlfu4vDMyn30aT9CWkeVpVygCgnZE3
MN0dNziUW5zbHkedkYVw29U=
=/G/1
-END PGP SIGNATURE-
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Debian question

2008-04-08 Thread DaZZa
No, I'm not being converted (shaddup David!)

I've been, erm, asked to work on a little embedded box that $POE is
trialling for a POS graphical display terminal.

Said device runs Debian - and has issues with running a graphics mode
higher than 1024x768.

Naturally, $POE want it at 1280x720 (widescreen 16:9 ratio)

It's running a bastardised/modified Debian Etch, as far as I can tell.

Now, for all you Debian lovers out there.

1) Is Etch recent, or behind the times? The box is from HP - model
available if required. it runs an ATI embedded card - shared video
graphics RAM with the motherboard, I believe
2) Is this mode even valid?
3) Anyone know the magic to get this working?

TIA.

DaZZa
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Debian question

2008-04-08 Thread Heracles

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

1. Etch is recent.
2. Running the proprietary drivers you can get widescreen with ATI cards
but embedded cards can be a problem due to the shared memory (usually 64MB).
3. You can get the drivers and have them set up for you using a little
program created by Alberto Milone called 'envy'.

HTH
Heracles

DaZZa wrote:
| No, I'm not being converted (shaddup David!)
|
| I've been, erm, asked to work on a little embedded box that $POE is
| trialling for a POS graphical display terminal.
|
| Said device runs Debian - and has issues with running a graphics mode
| higher than 1024x768.
|
| Naturally, $POE want it at 1280x720 (widescreen 16:9 ratio)
|
| It's running a bastardised/modified Debian Etch, as far as I can tell.
|
| Now, for all you Debian lovers out there.
|
| 1) Is Etch recent, or behind the times? The box is from HP - model
| available if required. it runs an ATI embedded card - shared video
| graphics RAM with the motherboard, I believe
| 2) Is this mode even valid?
| 3) Anyone know the magic to get this working?
|
| TIA.
|
| DaZZa
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH+/7SybPcBAs9CE8RAjtmAJwOHbFTpA2Of/vClbvezhCB+WSlogCeL4ns
CjSn2yxab+8xMRDFMKoFv5M=
=N6W1
-END PGP SIGNATURE-
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Network Real-Time Hot Filesystem Replication?

2008-04-08 Thread Matthew Hannigan


I don't know whether it would suit you at all, but
I'll mention

http://allmydata.org/trac/tahoe

for the simple reason it looks interesting and
it only just announced version 1.0

RC's mention of Ceph jogged my memory on this.

Matt


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Debian question

2008-04-08 Thread david
On Wed, 2008-04-09 at 09:25 +1000, Heracles wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 1. Etch is recent.
 2. Running the proprietary drivers you can get widescreen with ATI cards
 but embedded cards can be a problem due to the shared memory (usually 64MB).
 3. You can get the drivers and have them set up for you using a little
 program created by Alberto Milone called 'envy'.
 

I've also had good luck with envy

Dazz.. it's time you joined the rest of the known world ;-)


 HTH
 Heracles
 
 DaZZa wrote:
 | No, I'm not being converted (shaddup David!)
 |
 | I've been, erm, asked to work on a little embedded box that $POE is
 | trialling for a POS graphical display terminal.
 |
 | Said device runs Debian - and has issues with running a graphics mode
 | higher than 1024x768.
 |
 | Naturally, $POE want it at 1280x720 (widescreen 16:9 ratio)
 |
 | It's running a bastardised/modified Debian Etch, as far as I can tell.
 |
 | Now, for all you Debian lovers out there.
 |
 | 1) Is Etch recent, or behind the times? The box is from HP - model
 | available if required. it runs an ATI embedded card - shared video
 | graphics RAM with the motherboard, I believe
 | 2) Is this mode even valid?
 | 3) Anyone know the magic to get this working?
 |
 | TIA.
 |
 | DaZZa
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.6 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
 iD8DBQFH+/7SybPcBAs9CE8RAjtmAJwOHbFTpA2Of/vClbvezhCB+WSlogCeL4ns
 CjSn2yxab+8xMRDFMKoFv5M=
 =N6W1
 -END PGP SIGNATURE-

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Debian question

2008-04-08 Thread Dean Hamstead

| I've been, erm, asked to work on a little embedded box that $POE is
| trialling for a POS graphical display terminal.
|
| Said device runs Debian - and has issues with running a graphics mode
| higher than 1024x768.
|
| Naturally, $POE want it at 1280x720 (widescreen 16:9 ratio)
|
| It's running a bastardised/modified Debian Etch, as far as I can tell.
|
| Now, for all you Debian lovers out there.
|
| 1) Is Etch recent, or behind the times? The box is from HP - model
| available if required. it runs an ATI embedded card - shared video
| graphics RAM with the motherboard, I believe
| 2) Is this mode even valid?
| 3) Anyone know the magic to get this working?
|



etch has problems with wide screen until you update X, even for the 
latest etch revision - still needs apt-get dselect-update or aptitude 
upgrade


Dean
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Drupal Asia Pacific to be held in Sydney, May 2008

2008-04-08 Thread Mary Gardiner
I only just found out about this and haven't seen any mention here:
http://drupalapc.org/ May 18th - 22nd 2008. It seems to be a development
and community conference for Drupal, held in conjunction with Open
CeBIT.

-Mary
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html