Re: [SLUG] Which fs is best ...
On Mon, 2004-09-13 at 15:09 +1000, Jason Rennie wrote: Which linux file system is best for storing large files (Big MPEG and AVI files specifically) ? I'm guessing ext2/3 is not the best choice, but I don't really know which to choose from Reiser, XFS or JFS. What are peoples experiences with such things ? XFS is designed for large files. I'd personally go with it on RAID1 (for interleaved reads). I have a RAID 0 partition which I intended to use for streaming live video to the disk (though I never got around to setting it up. The plan was always to then move the data to the RAID 1 parition, for fast reads and data safety. Alas I haven't gotten around to doing anything so exciting. It was the result of some research into the area at the time that I was setting it up though, so it was the best option I could find when I was looking into it. James. -- James Gregory [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part -- 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] OT: solid text on translucent background
On Mon, 2004-09-13 at 15:43 +1000, Peter Rundle wrote: Sluggers, After no luck googling for a solution I've decided to post this possibly off topic question to the wisdom of slug (well the web server is apache on Linux and the client is Mozilla or Firefox on Linux). I'm trying to create an area on a web page with a translucent background but with solid text inside that area. I'm trying to do it using a style sheet. I can get the translucent area on the background no problem with opacity:0.5, but any text that I put on it is also translucent. It seems that any subsequent divs or classes inhereit the opacity and I can't over ride it. I.E opacity=1.0 means 100% of the 50% of the parent = 50%. It's a nasty hack, but I've seen this worked-around by using a translucent PNG image as the background. Is opacity actually part of the CSS spec? I can't find it in the CSS2 reference sidebar. I hope someone has a better solution. James. -- James Gregory [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part -- 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] Which fs is best ...
Jason Rennie wrote: JFS has been pretty good for me, and I'm guessing that it's more unlikely to eat all my data than a fancy bleeding-edge filesystem. Good large file performance ? Dunno really, seems OK =) I don't do anything serious enough to stress it probably. What exactly did you like about it ? I read about JFS when SCO was claiming ownership of it. If I was going to go to all the trouble of stealing it from SCO I thought I may as well have a look at it. =) I have stuck with it after some initial playing around, and it's been really reliable. Mainly, I like the fact that it hasn't eaten any of my files (big or small). Felix -- 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] Which fs is best ...
Jason Rennie wrote: Which linux file system is best for storing large files (Big MPEG and AVI files specifically) ? I'm guessing ext2/3 is not the best choice, but I don't really know which to choose from Reiser, XFS or JFS. What are peoples experiences with such things ? Jason JFS has been pretty good for me, and I'm guessing that it's more unlikely to eat all my data than a fancy bleeding-edge filesystem. Felix -- 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] OT: solid text on translucent background
On Mon, Sep 13, 2004 at 04:09:00 +1000, James Gregory wrote: On Mon, 2004-09-13 at 15:43 +1000, Peter Rundle wrote: I'm trying to create an area on a web page with a translucent background but with solid text inside that area. I'm trying to do it using a style sheet. I can get the translucent area on the background no problem with opacity:0.5, but any text that I put on it is also translucent. It seems that any subsequent divs or classes inhereit the opacity and I can't over ride it. I.E opacity=1.0 means 100% of the 50% of the parent = 50%. Does this help?: http://www.quirksmode.org/css/opacity.html Is opacity actually part of the CSS spec? I can't find it in the CSS2 reference sidebar. I'm pretty sure opacity is new in CSS3. Cheers, John -- It's a house of cards, supported not on the backs of turtles but on bullshit. Making the bullshit gooier makes the house of cards less likely to collapse, but is not necessarily an improvement. -- Alan J Rosenthal -- 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] NTFS vs EXT3
James Gregory was once rumoured to have said: On Sat, 2004-09-11 at 13:02 +1000, Rod Butcher wrote: Can anybody tell me about or point me to writing on differences between comparative strengths weaknesses of EXT3 NTFS ? I used NTFS for years and found it bulletproof, in fact the only part of Windows I would like to keep. [snip] filesystems are currently going through. If performance is important to you then reiserfs is a good choice, though it has a reputation for being lacking in recovery tools. I don't know how true that is since the reiserfsprogs package does ship with the standard fsck variants that claim to do the kinds of things you'd expect them to (superblock recovery, tree-rebuilding etc). XFS is another good choice, and it comes [rest snipped] Unfortunately, a fsck is not the only tool required in data backup and recovery - the big issue with reiser for serious deployment has been its lack of dump/restore -- something which both ext2 and xfs have. C. -- 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] Elementary symlink question
On Mon, Sep 13, 2004 at 04:04:43PM +1000, Matthew Davidson wrote: lrwxrwxrwx 1 mdavids mdavids 12 2004-09-13 15:52 application - version/0.3/ -rw-r--r-- 1 mdavids mdavids0 2004-09-13 15:43 file drwxr-sr-x 5 mdavids mdavids 4096 2004-09-13 15:51 version [EMAIL PROTECTED]:~/test$ cd application is the equivalent of doing cd version/0.3 [EMAIL PROTECTED]:~/test/application$ ls -l ../file ls: ../file: No such file or directory Your parent directory is now version, you probably want ../../file But bash even autocompletes the name file for me! Bash remembers your old parent directory and intercepts, giving you the tab completion. Try using 'ls' and you shouldn't see the same thing. For example, go into /tmp and create a symlink called test to, say, /usr/include. Then do 'cd test' and 'cd ..' in bash and you'll be back in /tmp. Do the same thing in something like csh and you (should be) in /usr, because it doesn't keep a directory history stack but just uses chdir(). -i [EMAIL PROTECTED] http://www.gelato.unsw.edu.au signature.asc Description: Digital 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] Elementary symlink question
Hi, I'm missing something very fundamental about symlinks. Say I want to test some trivial little program I've written, but want to make it easy to switch between revisions. I thought the following should work: lrwxrwxrwx 1 mdavids mdavids 12 2004-09-13 15:52 application - version/0.3/ -rw-r--r-- 1 mdavids mdavids0 2004-09-13 15:43 file drwxr-sr-x 5 mdavids mdavids 4096 2004-09-13 15:51 version file is some data I want to work on. [EMAIL PROTECTED]:~/test$ cd application [EMAIL PROTECTED]:~/test/application$ ls -l ../file ls: ../file: No such file or directory But bash even autocompletes the name file for me! [EMAIL PROTECTED]:~/test/application$ ls -l ../ total 12 drwxr-sr-x 2 mdavids mdavids 4096 2004-09-13 15:51 0.1 drwxr-sr-x 2 mdavids mdavids 4096 2004-09-13 15:51 0.2 drwxr-sr-x 2 mdavids mdavids 4096 2004-09-13 15:51 0.3 It's embarrasing for someone as terribly, terribly old as me to make such an admission of ignorance, but this is not the behaviour I would expect from symlinks. This is what I'd expect from MS shortcuts. Can somebody explain why this is, and what technique would yield something like the desired effect? Matthew -- -- 0419 242 316 ... (02) 6658 1607 -- Please avoid sending me Word or PowerPoint attachments. (Save as HTML or RTF) See http://www.fsf.org/philosophy/no-word-attachments.html -- Our enemies are innovative and resourceful, and so are we. They never stop thinking about new ways to harm our people and our country, and neither do we. -- George W. Bush -- 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] Elementary symlink question
Matthew Davidson wrote: Hi, I'm missing something very fundamental about symlinks. Say I want to test some trivial little program I've written, but want to make it easy to switch between revisions. I thought the following should work: lrwxrwxrwx 1 mdavids mdavids 12 2004-09-13 15:52 application - version/0.3/ -rw-r--r-- 1 mdavids mdavids0 2004-09-13 15:43 file drwxr-sr-x 5 mdavids mdavids 4096 2004-09-13 15:51 version file is some data I want to work on. [EMAIL PROTECTED]:~/test$ cd application You are now in the directory version/0.3 [EMAIL PROTECTED]:~/test/application$ ls -l ../file ls: ../file: No such file or directory There probably is no file called file in version/0.3/../ (which is version/) Try: ls -l ../../file cheers rickw -- _ Rick Welykochy || Praxis Services If a nation values anything more than freedom, it will lose its freedom. -- William Somerset Maugham -- 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] Which fs is best ...
On Mon, Sep 13, 2004 at 04:06:06PM +1000, James Gregory wrote: On Mon, 2004-09-13 at 15:09 +1000, Jason Rennie wrote: Which linux file system is best for storing large files (Big MPEG and AVI files specifically) ? I'm guessing ext2/3 is not the best choice, but I don't really know which to choose from Reiser, XFS or JFS. What are peoples experiences with such things ? XFS is designed for large files. I'd personally go with it on RAID1 (for interleaved reads). what would be the suggestoin for a file share partition which will have a lot of small files and a lot of large files (videos) Currently using ext3, this will be on a lvm partition sitting on top of a raid5 partition I have a RAID 0 partition which I intended to use for streaming live video to the disk (though I never got around to setting it up. The plan was always to then move the data to the RAID 1 parition, for fast reads and data safety. Alas I haven't gotten around to doing anything so exciting. It was the result of some research into the area at the time that I was setting it up though, so it was the best option I could find when I was looking into it. James. -- James Gregory [EMAIL PROTECTED] -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html signature.asc Description: Digital 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] Which fs is best ...
On Mon, 2004-09-13 at 17:29 +1000, Alexander Samad wrote: On Mon, Sep 13, 2004 at 04:06:06PM +1000, James Gregory wrote: On Mon, 2004-09-13 at 15:09 +1000, Jason Rennie wrote: Which linux file system is best for storing large files (Big MPEG and AVI files specifically) ? I'm guessing ext2/3 is not the best choice, but I don't really know which to choose from Reiser, XFS or JFS. What are peoples experiences with such things ? XFS is designed for large files. I'd personally go with it on RAID1 (for interleaved reads). what would be the suggestoin for a file share partition which will have a lot of small files and a lot of large files (videos) Last I heard, Reiser was the recommendation for storing lots of small files (it's certainly performed well for me in this situation). As xfire says in another thread though, you need to make sure it meets your needs for backup/recovery and disaster recovery. XFS would also do pretty well. James. -- James Gregory [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part -- 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] escaping variables in bash
Alexander == Alexander Samad [EMAIL PROTECTED] writes: Alexander Hi Quick question for the list Alexander I am trying to do something like this Alexander #!/bin/bash Alexander SOMEVARIABLE Alexander VAR2=$( awk -F, /$SOMEVARIABLE/ /some/pathtoafile/) eval VAR2=`awk -F -F, \$SOMEVARIABLE/ /some/pathtoafile/\` eval is your --- well not necessarily friend, the quoting can get hairy. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] good news for Germany visitors
Dear Madams and Sirs, 16% vat-tax paid in Germany during a business trip can be reclaimed now from German tax-authorities through us: we offer a new unique global webservice at www.quality-assurance.com.my which is of definite attraction to everyone travelling to Germany on business ! With kind regards, jens kehrhahn / CEO ___ Trustpharma (M) Sdn.Bhd. ...global service ~ global quality assurance Repraesentanz Hamburg - Schwartauer Strasse 10 - 22453 Hamburg - Germany emails:[EMAIL PROTECTED] and [EMAIL PROTECTED] ** enjoy best view of our website with Internet Explorer at a resolution of 1024x768 to 1152x864 ** kindly note also, a new website compatible for all browsers is under construction and will be published shortly -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] ATI Radeon, Video Out and MythTv
Hi all, Has anybody had any experience with the ATI Radeon and its video out capability ? I've got a Radeon 9600 VIVO and MythTV (with a couple of ht eplugins for playing stuff back) looks perfect for converting my exisiting WinXP based PC/DVD player to linux. IT says that the ATI cards are a problem, but I don't need video recording (I have a VCR after all) just video out for DVD and movie files. Does the ATI video out stuff work well Does it work with Myth TV ? Does anybody have experience with this ? Jason -- 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] ATI Radeon, Video Out and MythTv
quote who=Jason Rennie Has anybody had any experience with the ATI Radeon and its video out capability ? I've got a Radeon 9600 VIVO and MythTV (with a couple of ht eplugins for playing stuff back) looks perfect for converting my exisiting WinXP based PC/DVD player to linux. Especially on the new radeon cards, you will have no joy with TV out and free drivers. There is an atitvout utility, but it only works on older cards. I believe, however, that the binary ATI drivers do TV out properly, and if you want to use the 3D capability of the cards, the binary driver you'll need the binary drivers, because I think the 9600 is an R300 chip. J. -- Jan Schmidt [EMAIL PROTECTED] Pants Pants Pants Pants Pants Pants Pants Pants. Lovely Pants, wonderful Pa-ants. Lovely Pants, wonderful Pa-ants. (Shut up! Bloody Vikings.) -- 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] ATI Radeon, Video Out and MythTv
Thank you Jan, I'll check the binary only drivers out then. Jason -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
FW: [SLUG] USB dilemma
All Hail to James :) (sorry for the length of this one) James suggested that I check my BIOS - which prompted me to recall that I had loaded Mandrake on *another* machine. A quick check and there it was 'usb disabled'. Should have checked first, I know (mea culpa, mea culpa) Enabled and there is my printer - now working - and my scanner - not working. So... Should I uninstall SANE (which I installed using sane-backends-1.0.14.tar.gz) and re-install from my Mandrake 10 discs? Or keep what I've got? I ran 'which scanimage' and it shows /usr/bin/scanimage [blah blah]$ sane-find-scanner found USB scanner (vendor=0x04a5 [Color], product=0x2060 [ FlatbedScanner 13])t libusb:001:003 # Your USB scanner was (probably) detected. It may or may not be supported b # SANE. Try scanimage -L and read the backend's manpage. # You may want to run this program as root to find all devices. Once you # found the scanner devices, be sure to adjust access permissions as # necessary. [blah blah]$ scanimage -l [snapscan] Cannot open firmware file /path/to/your/firmware/file.bin. [snapscan] Edit the firmware file entry in snapscan.conf. scanimage: open of device snapscan:libusb:001:003 failed: Invalid argument [blah blah]$ locate snapscan.conf /etc/sane.d/snapscan.conf [blah blah]$ su Password: [blah blah]# which scanimage /usr/bin/scanimage [blah blah] # sane-find-scanner found USB scanner (vendor=0x04a5 [Color], product=0x2060 [ Flatbe t libusb:001:003 # Your USB scanner was (probably) detected. It may or may not b # SANE. Try scanimage -L and read the backend's manpage. I went through HardDrake and that seemed fine. When I boot up Xsane it says failed to open device 'snapscan:libusb:001:003' invalid argument. SANE site talks about editing config files but not what to actually put in there. By the way, this is a Diamond View DV648U which is apparently a clone of the Acer flatbed 13. Any suggestions or directions gratefully acknowledged. Patrick -- 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] Which fs is best ...
On Mon, 13 Sep 2004 16:13:37 +1000 Felix Sheldon [EMAIL PROTECTED] wrote: I read about JFS when SCO was claiming ownership of it. If I was going to go to all the trouble of stealing it from SCO I thought I may as well have a look at it. =) I have stuck with it after some initial playing around, and it's been really reliable. Mainly, I like the fact that it hasn't eaten any of my files (big or small). On that note, I remember having a number of fairly major problems with it earlier this year when I was running Gentoo on my desktop. Basically Gentoo would crash and burn quite badly on bootup if you hadn't powered down properly, and most of the time it would take a bit of the data on the disk with it. So a warning to anyone who wants to use JFS on Gentoo - it might be more trouble than it's worth. (But they may have fixed the problems since I used it). Lindsay -- http://www.asymmetrics.net/~auxesis/ -- 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] escaping variables in bash
On Mon, 13 Sep 2004 03:45 pm, Alexander Samad wrote: On Mon, Sep 13, 2004 at 03:20:37PM +1000, James Gray wrote: On Mon, 13 Sep 2004 02:17 pm, Alexander Samad wrote: Hi Quick question for the list I am trying to do something like this #!/bin/bash SOMEVARIABLE VAR2=$( awk -F, /$SOMEVARIABLE/ /some/pathtoafile/) Now I have problems with my I can't use ' because I want SOMEVARIABLE to be subsituted I have tried VAR2=$( awk -F, \/$SOMEVARIABLE/ /some/pathtoafile/\) but it starts going haywire! Alex Have you tried protecting the variable from the shell per the man bash instructions like this: VAR2=$( awk -F, /${SOMEVARIABLE}/ /some/pathtoafile/) BTW - that line above looks a little odd. I'd try it like this instead: VAR2=`awk -F, '/${SOMEVARIABLE}/ /some/pathtoafile/'` $() iq equivilant to `' and I so as to make sure that the program doesn't have any space in the return to foul it up The enclosing a variable between curly braces, eg, ${foo} will force the shell to expand the variable's content regardless of whether it is inside single or double quotes. IIRC. well i just tried this TEST='HELLO' echo '${TEST}' and it printed out this ${TEST} *SHRUG* - that's why I said IIRCwhich obviously I didn't :P I don't do a lot of bash scripting any more...mostly Perl and Python :-/ Thanks for the object lesson in RTFM before putting one's foot in one's mouth! ;) Cheers, James -- 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] Which fs is best ...
Thanks for the tip. Good to know given I am usnig gentoo. At the moment I have gone with ReiserFS, but i'm not at a point where I cannot backout and change my mind. BTW, if anybody knows, is the NTFS linux driver very slow ? It is taking hours and hours to copy about 50GB of data. I knew it would take a while, but this is ridiculous. Jason On Mon, 13 Sep 2004 21:03:01 +1000, Lindsay Holmwood [EMAIL PROTECTED] wrote: On Mon, 13 Sep 2004 16:13:37 +1000 Felix Sheldon [EMAIL PROTECTED] wrote: I read about JFS when SCO was claiming ownership of it. If I was going to go to all the trouble of stealing it from SCO I thought I may as well have a look at it. =) I have stuck with it after some initial playing around, and it's been really reliable. Mainly, I like the fact that it hasn't eaten any of my files (big or small). On that note, I remember having a number of fairly major problems with it earlier this year when I was running Gentoo on my desktop. Basically Gentoo would crash and burn quite badly on bootup if you hadn't powered down properly, and most of the time it would take a bit of the data on the disk with it. So a warning to anyone who wants to use JFS on Gentoo - it might be more trouble than it's worth. (But they may have fixed the problems since I used it). Lindsay -- http://www.asymmetrics.net/~auxesis/ -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- 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] Which fs is best ...
Jason Rennie wrote: BTW, if anybody knows, is the NTFS linux driver very slow ? It is taking hours and hours to copy about 50GB of data. I knew it would take a while, but this is ridiculous. I have copied about 20gb of data in a very short time - I don't think it suffers from any glaring slowness. Perhaps you could try iostat? it should show you the throughput - might be some sort of bottleneck there dave -- 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] Which fs is best ...
Am using a combo of EXT3, JFS, and REISERFS on one server for about a year with extremely pleasing results. Many files are MP3 on networks over SAMBA. [EMAIL PROTECTED] root]# ssh otr [EMAIL PROTECTED]'s password: Last login: Mon Sep 13 22:18:54 2004 from compaq.noy.com.au [EMAIL PROTECTED] root]# df -T FilesystemType1K-blocks Used Available Use% Mounted on /dev/hda2 ext3 5131108 3737360 1133096 77% / /dev/hda1 ext3 101086 12908 82959 14% /boot none tmpfs242112 0242112 0% /dev/shm /dev/hdc1 jfs10208120 6429964 3778156 63% /home1 /dev/hdc2 reiserfs102411162713804 7527312 27% /home2 /dev/hdc3 reiserfs102411162269372 7971744 23% /home3 /dev/hdc4 reiserfs 8353540 32840 8320700 1% /home4 /dev/hdd1 reiserfs2930162816100236 13201392 55% /nina1 /dev/hdd2 reiserfs2930969216768652 12541040 58% /nina2 /dev/hdd3 reiserfs293016606569928 22731732 23% /nina3 /dev/hdd4 reiserfs293016602692836 26608824 10% /nina4 [EMAIL PROTECTED] root]# Jason Rennie wrote: Thanks for the tip. Good to know given I am usnig gentoo. At the moment I have gone with ReiserFS, but i'm not at a point where I cannot backout and change my mind. BTW, if anybody knows, is the NTFS linux driver very slow ? It is taking hours and hours to copy about 50GB of data. I knew it would take a while, but this is ridiculous. Jason On Mon, 13 Sep 2004 21:03:01 +1000, Lindsay Holmwood [EMAIL PROTECTED] wrote: On Mon, 13 Sep 2004 16:13:37 +1000 Felix Sheldon [EMAIL PROTECTED] wrote: I read about JFS when SCO was claiming ownership of it. If I was going to go to all the trouble of stealing it from SCO I thought I may as well have a look at it. =) I have stuck with it after some initial playing around, and it's been really reliable. Mainly, I like the fact that it hasn't eaten any of my files (big or small). On that note, I remember having a number of fairly major problems with it earlier this year when I was running Gentoo on my desktop. Basically Gentoo would crash and burn quite badly on bootup if you hadn't powered down properly, and most of the time it would take a bit of the data on the disk with it. So a warning to anyone who wants to use JFS on Gentoo - it might be more trouble than it's worth. (But they may have fixed the problems since I used it). Lindsay -- http://www.asymmetrics.net/~auxesis/ -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- 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] Which fs is best ...
I found shifting gigabytes of NTFS data on a linux box about the same speed as ext3 data i.e. a few minutes for 5 gig. So I wouln't expect 50 gig to take more than 15 mins. The partitions were on separate drives. Rod --- Brought to you by a thunderbird, penguin, gnu and a camel David Kempe wrote: Jason Rennie wrote: BTW, if anybody knows, is the NTFS linux driver very slow ? It is taking hours and hours to copy about 50GB of data. I knew it would take a while, but this is ridiculous. I have copied about 20gb of data in a very short time - I don't think it suffers from any glaring slowness. Perhaps you could try iostat? it should show you the throughput - might be some sort of bottleneck there dave -- 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] Which fs is best ...
David Kempe wrote: Jason Rennie wrote: BTW, if anybody knows, is the NTFS linux driver very slow ? It is taking hours and hours to copy about 50GB of data. I knew it would take a while, but this is ridiculous. I have copied about 20gb of data in a very short time - I don't think it suffers from any glaring slowness. Perhaps you could try iostat? it should show you the throughput - might be some sort of bottleneck there dave I was using the captive-ntfs driver to get data from a 200GB external USB 2.0 disk enclosure. In the end, I plugged the disk into a Windows 2003 server with USB 1.0 and copied if over the network, as USB 1 was faster than 2 with ntfs-captive. I was really, really suprised by this. Using ntfs instead of captive-ntfs may have been different, but I never tried it. Matt Lambie -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] terminal broken on 2.6.8
Still can't get any terminal (gnome, Konsole, xterm) to work on 2.6.8 - they all load ok and display a cursor but won't allow text input. I saw a note on Mandrake website about them having this with 10.2 beta. I checked my VT kernel compile options and they all look the same as what I used for 2.6.7. Only difference is I deactivated a whole load of kernel options for hardware I don't have, and changed the CPU option from x86 to Athlon. What should I look for ? Can't find any error meesages in logs. I'm sure this is a minor config change issue rather than a bug. I know I can go back to 2.6.7 but it'd be good to learn something from this which is part of my linux self-education. Rod --- Brought to you by a thunderbird, penguin, gnu and a camel -- 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] GRUB and RAID1.
Ryan Tsai wrote: Yeah, the rather unfortunate fact that /boot lives about 100GB into the disk. Actually wait a moment, does GRUB have the same limitations about where /boot needs to be? I had assumed that it does because LILO does. That's something to research. LILO embeds the config file in its bootsector, while GRUB needs to load it everytime it boots. So I guess that means LILO only needs access to the config file when its installed, whereas GRUB needs to remember where the config file is physically. Au contreir (sp?) - as far as I understand what LILO does is to record the actual block numbers of the file's data in its boot sector then access it directly (not via the filesystem). GRUB, on the other hand, know about filesystem formats and how to translate file paths to blocks on the file system. That's why you don't have to update GRUB every time you change the configuration - GRUB just knows where to look for the files it needs under the filesystem and read them directly at boot time. That's also why I'd expect GRUB not to have a limit on the file's place in the partition. But I'm no expert - my main experience with GRUB is on an 80Mb ReiserFS filesystem. I don't think GRUB has such limitation, I have my /boot patition about 50 gigs into the disk and GRUB works fine. I'd say give it a go, doesn't hurt trying. Ditto. Just have a backup plan in case you lock yourself out of your own disk (e.g. have a LiveCD/RescueCD which can read your HD handy). Yeah you're right about grub-install, didn't see that one. Ryan --Amos -- 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] NTFS vs EXT3
Crossfire wrote: Unfortunately, a fsck is not the only tool required in data backup and recovery - the big issue with reiser for serious deployment has been its lack of dump/restore -- something which both ext2 and xfs have. C. Why is dump/restore so critical for recovery? What's wrong with tar/cpio or other archiving programs? Is it because they don't keep all the possible information about the files? I remember back in the 4.2BSD days dump/restore was critical because they were significantly faster than tar because they didn't go through the kernel's namei() on every file, but things have changed since then haven't they? --Amos -- 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] NTFS vs EXT3
[EMAIL PROTECTED] was once rumoured to have said: Crossfire wrote: Unfortunately, a fsck is not the only tool required in data backup and recovery - the big issue with reiser for serious deployment has been its lack of dump/restore -- something which both ext2 and xfs have. C. Why is dump/restore so critical for recovery? What's wrong with tar/cpio or other archiving programs? Is it because they don't keep all the possible information about the files? That, and dump usually offers a guaranty of backup integrity when used against live filesystems. Tar has problems. Big problems. The main one being that nobody can quite agree on the correct representation of certain details that fall outside of the original implemenations. Can't comment on cpio - I don't use it. C. -- 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] escaping variables in bash
Alexander Samad was once rumoured to have said: On Mon, Sep 13, 2004 at 03:20:37PM +1000, James Gray wrote: The enclosing a variable between curly braces, eg, ${foo} will force the shell to expand the variable's content regardless of whether it is inside single or double quotes. IIRC. well i just tried this TEST='HELLO' echo '${TEST}' and it printed out this ${TEST} Thats because the use of curlies in a variable name is for delimitation, and does not act as an override to the quoting syntax as James suggested. consider: BLAH=Test echo ${BLAH}Me which produces the output TestMe. This can't be done quite this way without the use of the delimiting braces. They do not have any affect on quoting though. (if they did, we'd all be having great problems.) C. -- 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] terminal broken on 2.6.8
On Mon, 2004-09-13 at 22:32 +1000, Rod Butcher wrote: What should I look for ? Can't find any error meesages in logs. I'm sure this is a minor config change issue rather than a bug. I know I can go back to 2.6.7 but it'd be good to learn something from this which is part of my linux self-education. Is this a kernel you've built or a mandrake kernel? If it's the former, does it work with a stock mandrake kernel? What about the latest version in cooker? Did you build pty support into your kernel? What about devfs? Is devfsd running? James. -- James Gregory [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part -- 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] terminal broken on 2.6.8
On Mon, 2004-09-13 at 22:32 +1000, Rod Butcher wrote: What should I look for ? Can't find any error meesages in logs. I'm sure this is a minor config change issue rather than a bug. I know I can go back to 2.6.7 but it'd be good to learn something from this which is part of my linux self-education. Is this a kernel you've built or a mandrake kernel? If it's the former, does it work with a stock mandrake kernel? What about the latest version in cooker? Did you build pty support into your kernel? What about devfs? Is devfsd running? James. -- James Gregory [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Re: [SLUG-ANNOUNCE] Sydney PostgreSQL User Group - inaugural meeting
Dear Anand, I'm interested in coming along. I'm a newbie to Linux and am still trying to figure out how to use the MySQL that came bundled with OpenOffice.org, lack of operational knowledge/experience of RDB's not withstanding. What is the major difference? Can PostgreSQL be used as a GIS? Note that I have not yet _fully_ RTFM'd PostgreSQL, or . Regards, Julian Grodzicky ___ But does your laser vision scan the soft, [silent] fall of the midnight snow? /William Gibson/ Find local movie times and trailers on Yahoo! Movies. http://au.movies.yahoo.com -- 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] NTFS vs EXT3
Crossfire [EMAIL PROTECTED] writes: That, and dump usually offers a guaranty of backup integrity when used against live filesystems. Since 2.4 kernel developers have said dump is broken on live filesystems. Has that situation changed? here's a link http://marc.theaimsgroup.com/?l=linux-kernelm=100275505720017w=2 I'm a bit confused about the exact problem, some say the backup can be corrupted others say the filesystem can be corrupted, not sure if they are talking about the filesystem being backed up (seems unlikely) There's a often quoted linus message on the subject floating around. -- 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] terminal broken on 2.6.8
Rod == Rod Butcher [EMAIL PROTECTED] writes: Rod Still can't get any terminal (gnome, Konsole, xterm) to work on Rod 2.6.8 - they all load ok and display a cursor but won't allow Is this a serial terminal you're talking about? Or a keyboard+monitor connected directly to your machine? If the latter, is it a PS2, serial or USB keyboard? -- Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au The technical we do immediately, the political takes *forever* -- 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 sarge on vmware
Oops, yep, that was it. Very silly of me. Cheers Robert Tillsley Network Administrator St Vincent's College www.stvincents.nsw.edu.au -Original Message- From: Ryan Tsai [mailto:[EMAIL PROTECTED] Sent: Monday, 13 September 2004 11:07 AM To: Robert Tillsley Cc: [EMAIL PROTECTED] Subject: Re: [SLUG] Debian sarge on vmware is xserver-xfree86 installed? - Original Message - From: Robert Tillsley [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 13, 2004 10:17 AM Subject: [SLUG] Debian sarge on vmware I've got a test server setup in vmware running sarge (2.6 kernel). I've got two problems that I'm having trouble resolving: The first is that I can't get X working. Yes I know X on a server shouldn't be necessary on a server, but I'm playing with vmware. The error I get is: GDM: Xserver not found: /usr/X11R6/bin/X : -audit 0 auth /var/lib/gdm/:0.Xauth -nolisten tcp vt7 Error: Command could not be executed! Please install the X server or edit /etc/gdm/gdm.conf to point to the right place. Now I installed xfree68, but there is no X in that folder. Can anyone give me an idea of where to start troubleshooting? The other thing was in regard to installing the vmware tools. The menu which is meant to do it, doesn't work (I think its because its not designed to work with debian). Its asks if you want to and then doesn't provide any feedback as to its lack of success. In the bottom left of the vmware screen is says as it did before the attempt that the vmware tools aren't installed. Any help would be appreciated. Cheers Robert Tillsley Network Administrator St Vincent's College www.stvincents.nsw.edu.au -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- 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] Re: [SLUG-ANNOUNCE] Sydney PostgreSQL User Group - inauguralmeeting
Julian Grodzicky wrote: Can PostgreSQL be used as a GIS? If you are using MySQL, then Postgress should work. They are both databases. GIS is Geographic Information System? -- Terry Collins {:-)}}} email: terryc at woa.com.au www: http://www.woa.com.au Wombat Outdoor Adventures Bicycles, Computers, GIS, Printing, Publishing People without trees are like fish without clean water -- 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] Elementary symlink question
On Mon, 2004-09-13 at 16:40, Ian Wienand wrote: On Mon, Sep 13, 2004 at 04:04:43PM +1000, Matthew Davidson wrote: lrwxrwxrwx 1 mdavids mdavids 12 2004-09-13 15:52 application - version/0.3/ -rw-r--r-- 1 mdavids mdavids0 2004-09-13 15:43 file drwxr-sr-x 5 mdavids mdavids 4096 2004-09-13 15:51 version [EMAIL PROTECTED]:~/test$ cd application is the equivalent of doing cd version/0.3 Funny; I've always assumed that the system treated a directory symlink as a real directory that just happens to have exactly the same contents as some other directory. I suppose I'd never put myself in a situation to find out outherwise. However, I maintain that's the way it _should_ work! Matthew. -- -- 0419 242 316 ... (02) 6658 1607 -- Please avoid sending me Word or PowerPoint attachments. (Save as HTML or RTF) See http://www.fsf.org/philosophy/no-word-attachments.html -- Our enemies are innovative and resourceful, and so are we. They never stop thinking about new ways to harm our people and our country, and neither do we. -- George W. Bush -- 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] Re: [SLUG-ANNOUNCE] Sydney PostgreSQL User Group - inaugural meeting
On Tue, Sep 14, 2004 at 01:29:06AM +1000, Julian Grodzicky wrote: Can PostgreSQL be used as a GIS? Postgresql can be used IN a gis: http://www.postgresql.org/docs/7.4/interactive/datatype-geometric.html#DATATYPE-GEO-TABLE http://www.postgresql.org/docs/7.4/interactive/functions-geometry.html 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] escaping variables in bash
Alex, VAR2=$( awk -F, /$SOMEVARIABLE/ /some/pathtoafile/) As others have posted, if you want to assign the result of running the awk command to the variable VAR2 then use back quotes. E.G. VAR2=`awk -F, $SOMEVARIABLE /some/path/to/afile` The output from the awk program will be in VAR2. If you just want to use the value in a variable on the command line you don't need quotes just do; MYPATH=/home/user1/datafiles awk -F, $MYPATH/afile or if you still want to save the output from the command. RESULT=`awk -F, $MYPATH/afile` Put the variable in curly braces when there's no delimiter and the shell will think you are referencing a different variable, eg. MYPATH=/home/user1/datafiles/ RESULT=`awk -F, $MYPATHafile` The example above will try to pass the contents of the variable MYPATHafile to awk, not what you expect, hence; RESULT=`awk -F, ${MYPATH}afile` However, if you are trying to pass a variable to awk then use awk's --assign flag. E.G. POS=YES RESULT=`awk -F, --assign value=$POS '{ print value }' $MYPATH$FILENAME ` Will cause the variable $RESULT to contain YES repeated as many times as there are row's in the file /home/user1/datafiles/afile You only need to use double quotes when there is a space involved, E.G NEG=NO RESULT=`awk --assign value=$POS or $NEG $MYPATH$FILENAME` If you wanted to pass a literal string that contains a $ then put it in single quotes awk --assign msg='Big $$$s' $MYPATH$FILENAME HTH P. P.S btw in most of the examples the awk won't actually work because for clarity I haven't shown any awk program code. -- 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] escaping variables in bash
[EMAIL PROTECTED] wrote on 13/09/2004 02:17:52 PM: #!/bin/bash SOMEVARIABLE VAR2=$( awk -F, /$SOMEVARIABLE/ /some/pathtoafile/) Now I have problems with my I can't use ' because I want SOMEVARIABLE to be subsituted I have tried VAR2=$( awk -F, \/$SOMEVARIABLE/ /some/pathtoafile/\) Awk doesn't handle variables, so it would be litterally looking for $SOMEVARIABLE You will need to put in ENVIRON[SOMEVARIABLE] instead. eg: rrdemo:/usr/src/zaptel# export TEST=mytest rrdemo:/usr/src/zaptel# echo mytest |awk '{if (match($0,$TEST)) print};' rrdemo:/usr/src/zaptel# echo mytest |awk '{if (match($0,ENVIRON[TEST])) print};' mytest Cheers, Scott but it starts going haywire! Alex [attachment signature.asc deleted by Scott Ragen/Roadtech] -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- 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] Elementary symlink question
quote who=Matthew Davidson Funny; I've always assumed that the system treated a directory symlink as a real directory that just happens to have exactly the same contents as some other directory. I suppose I'd never put myself in a situation to find out outherwise. No, think of it more as a http redirect that takes you to the real location. However, I maintain that's the way it _should_ work! That's the way hard links work, but they can only link within the same file system. J. -- Jan Schmidt [EMAIL PROTECTED] Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music. - Unknown -- 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] escaping variables in bash
What about in a here doc so some thing like #!/bin/bash TEST='here' cat EOF awk '/$TEST/ {print}' /somefile EOF do the ' still keep there meaning in a here doc ? Alex On Tue, Sep 14, 2004 at 12:22:27AM +1000, Crossfire wrote: Alexander Samad was once rumoured to have said: On Mon, Sep 13, 2004 at 03:20:37PM +1000, James Gray wrote: The enclosing a variable between curly braces, eg, ${foo} will force the shell to expand the variable's content regardless of whether it is inside single or double quotes. IIRC. well i just tried this TEST='HELLO' echo '${TEST}' and it printed out this ${TEST} Thats because the use of curlies in a variable name is for delimitation, and does not act as an override to the quoting syntax as James suggested. consider: BLAH=Test echo ${BLAH}Me which produces the output TestMe. This can't be done quite this way without the use of the delimiting braces. They do not have any affect on quoting though. (if they did, we'd all be having great problems.) C. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html signature.asc Description: Digital 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] escaping variables in bash
Hi No the jist was that I wanted to so something like this awk '/regex/ {awk code}' and assign the result to a variable, but i wanted to make the regex from a variable in the program, notice though that I had to place the ' around the /regex/ {awk code}, my problem then is how to organise to place a variable inside that A On Tue, Sep 14, 2004 at 10:22:29AM +1000, Peter Rundle wrote: Alex, VAR2=$( awk -F, /$SOMEVARIABLE/ /some/pathtoafile/) As others have posted, if you want to assign the result of running the awk command to the variable VAR2 then use back quotes. E.G. VAR2=`awk -F, $SOMEVARIABLE /some/path/to/afile` The output from the awk program will be in VAR2. If you just want to use the value in a variable on the command line you don't need quotes just do; MYPATH=/home/user1/datafiles awk -F, $MYPATH/afile or if you still want to save the output from the command. RESULT=`awk -F, $MYPATH/afile` Put the variable in curly braces when there's no delimiter and the shell will think you are referencing a different variable, eg. MYPATH=/home/user1/datafiles/ RESULT=`awk -F, $MYPATHafile` The example above will try to pass the contents of the variable MYPATHafile to awk, not what you expect, hence; RESULT=`awk -F, ${MYPATH}afile` However, if you are trying to pass a variable to awk then use awk's --assign flag. E.G. POS=YES RESULT=`awk -F, --assign value=$POS '{ print value }' $MYPATH$FILENAME ` Will cause the variable $RESULT to contain YES repeated as many times as there are row's in the file /home/user1/datafiles/afile You only need to use double quotes when there is a space involved, E.G NEG=NO RESULT=`awk --assign value=$POS or $NEG $MYPATH$FILENAME` If you wanted to pass a literal string that contains a $ then put it in single quotes awk --assign msg='Big $$$s' $MYPATH$FILENAME HTH P. P.S btw in most of the examples the awk won't actually work because for clarity I haven't shown any awk program code. signature.asc Description: Digital 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] OCR
Hi all, Has anyone had any (successful) experience with optical character recognition software? I just tried gocr (whatever version is with Woody) without a great deal of success, but I was working with a very poor photocopy. Thanks, Alan -- -- Alan L Tyree http://www2.austlii.edu.au/~alan Tel: +61 2 4782 2670 Mobile: +61 405 084 990 Fax: +61 2 4782 7092 -- 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] escaping variables in bash
On Mon, 13 Sep 2004, Alexander Samad wrote: I am trying to do something like this #!/bin/bash SOMEVARIABLE VAR2=$( awk -F, /$SOMEVARIABLE/ /some/pathtoafile/) Now I have problems with my I can't use ' because I want SOMEVARIABLE to be subsituted I have tried VAR2=$( awk -F, \/$SOMEVARIABLE/ /some/pathtoafile/\) but it starts going haywire! Are you sure you don't want: VAR2=$( awk -F, \/$SOMEVARIABLE/\ /some/pathtoafile/) i.e. you're not giving awk the file as a separate argument? Another way of achieving this if you've got quoting issues is to make it an awk variable: VAR2=$( awk -F, -v somevar=\$SOMEVARIABLE\ '$0 ~ somevar {awk expr}' /some/pathtoafile/) Oh look what google has: 6.2 Using Shell Variables in Programs http://www.gnu.org/software/gawk/manual/html_node/Using-Shell-Variables.html Cheers, - Simon -- 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] escaping variables in bash
On 2004.09.14 10:39 Alexander Samad wrote: What about in a here doc so some thing like #!/bin/bash TEST='here' cat EOF awk '/$TEST/ {print}' /somefile EOF do the ' still keep there meaning in a here doc ? Wouldn't it be a lot easier to use awk's -v option (that's the reason it's there): #!/bin/bash TEST=Here echo is a test | /usr/bin/awk -v i=$TEST '{print (\ i, $0 .\)}' Robert Thorsby -- 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] Re: [SLUG-ANNOUNCE] Sydney PostgreSQL User Group - inaugural meeting
On Tue, Sep 14, 2004 at 09:55:59AM +1000, [EMAIL PROTECTED] wrote: On Tue, Sep 14, 2004 at 01:29:06AM +1000, Julian Grodzicky wrote: Can PostgreSQL be used as a GIS? Postgresql can be used IN a gis: http://www.postgresql.org/docs/7.4/interactive/datatype-geometric.html#DATATYPE-GEO-TABLE http://www.postgresql.org/docs/7.4/interactive/functions-geometry.html I should have mentioned http://www.postgis.org/ 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] Elementary symlink question
On Tue, 2004-09-14 at 10:34, Jan Schmidt wrote: quote who=Matthew Davidson However, I maintain that's the way it _should_ work! That's the way hard links work, but they can only link within the same file system. But you shouldn't add hard links to directories. The ln utility will only let root even try it, and there's a fairly good chance the filesystem won't let you. I can't remember why it's a problem without a reference handy. -- Pete -- 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] Elementary symlink question
On Tue, Sep 14, 2004 at 09:58:59AM +1000, Matthew Davidson wrote: Funny; I've always assumed that the system treated a directory symlink as a real directory that just happens to have exactly the same contents as some other directory. I suppose I'd never put myself in a situation to find out outherwise. However, I maintain that's the way it _should_ work! Sounds like what you really want is a hard link to a directory. This has never been allowed for various reasons, but has recently come up since reiser4 has the 'file as a directory' concept. For a nice overview (as always done by Jonathan Corbet) see http://lwn.net/Articles/99408/ But you might like to try a bind mount, in your previous example doing 'sudo mount --bind application/ version/0.3/' would give you the semantics you want (i.e. ls ../file will work). -i [EMAIL PROTECTED] http://www.gelato.unsw.edu.au signature.asc Description: Digital 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] OCR
Alan L Tyree wrote: Has anyone had any (successful) experience with optical character recognition software? I just tried gocr (whatever version is with Woody) without a great deal of success, but I was working with a very poor photocopy. I have tried gocr and another one called clara. Neither were any good at all. Clara required a lot of training and I didn't have much success rate on even clean text. But it is very flexible and you can train it for any type of character set e.g. Intuit or Linear-B :-) gocr crashed quite often on 600 dpi scanned A4 pages. I have not found anything that is anywhere near the ability of the commercial ocr packages that come with scanner software on Windows :-( I'd be interested as well for something that was available. Mike -- Michael Lake Chemistry, Materials Forensic Science, UTS Ph: 9514 1725 Fx: 9514 1460 -- UTS CRICOS Provider Code: 00099F DISCLAIMER: This email message and any accompanying attachments may contain confidential information. If you are not the intended recipient, do not read, use, disseminate, distribute or copy this message or attachments. If you have received this message in error, please notify the sender immediately and delete this message. Any views expressed in this message are those of the individual sender, except where the sender expressly, and with authority, states them to be the views the University of Technology Sydney. Before opening any attachments, please check them for viruses and defects. -- 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] escaping variables in bash
Alexander Samad wrote: Hi No the jist was that I wanted to so something like this awk '/regex/ {awk code}' Ah Ha! This is a question that I had asked on this list some time back under the subject Awk parameter as a search string. Roger Barnes offered the answer below, HTH Pete. -- Roger Barnes wrote: /regexp/ is considered a constant, so it won't let you put any variables in the pattern This page: http://www.math.utah.edu/docs/info/gawk_5.html#SEC32 reckons that $0 ~ search { printf(%s\n,$0) } will work ... it did for me. HTH, - Rog ... just learnt some awk :) -- 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] Wins netbios name resolution in /etc/nsswitch.conf
On Mon, 2004-09-13 at 01:31, Ryan Tsai wrote: I'll recompile some Samba related packages tomorrow and see how it goes, though I still think its my glibc. I'd hate to classify this one as yet another unsolved tech mystery :-( Have you tried using the nmblookup utility to see if your samba is actually able to resolve names? That should narrow it down to either samba or glibc. -- Pete -- 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] NTFS vs EXT3
On Sat, 2004-09-11 at 13:02 +1000, Rod Butcher wrote: Can anybody tell me about or point me to writing on differences between comparative strengths weaknesses of EXT3 NTFS ? Ext3 is faster than NTFS for most use cases (it avoids fragmentation better than NTFS by trying to write files to contiguous space rather than the first available free space like NTFS does). Its also quite faster in disk check times. As someone said, both Ext3 and NTFS only journal meta data by default, but you can have full journaling if you want, either via the j attribute on particularly important files or by changing the whole FS to do full journaling with tune2fs. You can read/write NTFS in Linux and read/write Ext3 in Windows. You just need software 'captive NTFS' for Linux and 'ext3fsd' for Windows Ext3 also has POSIX ACLs like NTFS does, though someone said otherwise. Someone said NTFS supports sparse files. Are you sure? IIRC Virtual Server 2005 (MSs VMware competitor) has to do all kinds of clunky stuff cause NTFS doesn't support sparse files... Mike -- Mike MacCana [EMAIL PROTECTED] -- 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] NTFS vs EXT3
On Tue, 2004-09-14 at 00:18 +1000, Crossfire wrote: [EMAIL PROTECTED] was once rumoured to have said: Crossfire wrote: Unfortunately, a fsck is not the only tool required in data backup and recovery - the big issue with reiser for serious deployment has been its lack of dump/restore -- something which both ext2 and xfs have. C. Why is dump/restore so critical for recovery? What's wrong with tar/cpio or other archiving programs? Is it because they don't keep all the possible information about the files? That, and dump usually offers a guaranty of backup integrity when used against live filesystems. What about tar against an LVM snapshot? Mike -- 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] mounting HPFS: not supported by kernel
Now you should be able to mount that partition. You can always check which filesystems your kernel supports by looking at /proc/filesystems, like this: [EMAIL PROTECTED] ~/src $ cat /proc/filesystems Jeff, as it was, I really wanted to mount JFS(it seems I forgot I was using JFS, not HPFS...) anyhow, that just worked with: # mount -t auto /dev/hdc7 /mnt/os2 that creates an entry in /etc/mtab: /dev/hdc7 /mnt/os2 jfs rw 0 0 in order to have this mounted on boot, do I simply copy that line to /etc/fstab ? -- Voytek -- 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] OCR
Michael Lake wrote: Alan L Tyree wrote: Has anyone had any (successful) experience with optical character recognition software? I just tried gocr (whatever version is with Woody) without a great deal of success, but I was working with a very poor photocopy. I haven't tried this, just a suggestion, but perhaps you could pass the scanned file through autotrace first (http://autotrace.sf.net) to clean up the image, then let gocr have another crack at it? Could be worth a shot. -- 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] NTFS vs EXT3
On Mon, 2004-09-13 at 14:23 +1000, Mike MacCana wrote: Someone said NTFS supports sparse files. Are you sure? IIRC Virtual Server 2005 (MSs VMware competitor) has to do all kinds of clunky stuff cause NTFS doesn't support sparse files... This page: http://www.microsoft.com/windows2000/techinfo/reskit/en-us/default.asp?url=/windows2000/techinfo/reskit/en-us/prork/prdf_fls_mbyy.asp Claims that it does: ''' NTFS includes full sparse file support for both compressed and uncompressed files. ''' I'll leave the rest of this alone since it's been beaten to death now. The rest of that page is a good resource for NTFS stuff. James. -- James Gregory [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part -- 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] NTFS vs EXT3
On Tue, 2004-09-14 at 12:18 +1000, James Gregory wrote: On Mon, 2004-09-13 at 14:23 +1000, Mike MacCana wrote: Someone said NTFS supports sparse files. Are you sure? IIRC Virtual Server 2005 (MSs VMware competitor) has to do all kinds of clunky stuff cause NTFS doesn't support sparse files... This page: http://www.microsoft.com/windows2000/techinfo/reskit/en-us/default.asp?url=/windows2000/techinfo/reskit/en-us/prork/prdf_fls_mbyy.asp Claims that it does: Thanks very much - I stand corrected. Mike -- Mike MacCana [EMAIL PROTECTED] -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] questions about strip
Hi All If I have 2 object file, one is API library , another is executable object. The executable object makes reference to the libray. Now I want to downsize the 2 objects. I can strip the executable object directly, but how to strip the API library when it's areference ofthe executable object. And, how can I listthe smbols removed by "strip"? Thanks for your attention, any suggestions is appreciative. W.L. -- 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] questions about strip
On Tue Sep 14, 2004 at 11:39:03 +0800, Well wrote: Hi All If I have 2 object file, one is API library , another is executable object. The executable object makes reference to the libray. Now I want to downsize the 2 objects. I can strip the executable object directly, but how to strip the API library when it's a reference of the executable object. Is it a .a or .so (static or dynamic library). Actually i don't think it will make much difference, I'm fairly sure you can't strip a library. You need the symbols in the library or else it ain't going to work -- when you link against it the linker (ld or the dynamic linker) is going to need to know the locations of symbols, which means it is going to lookup the symbol table. Although you can probably strip some of the symbols. I suggest reading the man page. And, how can I list the smbols removed by strip? Run nm on the file before you strip it. (Obviously after it is stripped that info is gone.) Benno P.S: Please only post plain text to the slug mailing list. -- 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] OT: solid text on translucent background
Does this help?: http://www.quirksmode.org/css/opacity.html Unfortunately no, it does cause the text back to opaque but the transparency of the background under the text also disappears. Seems that opacity is still in development so I've set the opacity to 0.8 and even though the text is a bit dull the visual effect that I'm after is there. Cheers P. -- 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] questions about strip
Although you can probably strip some of the symbols. I suggest reading the man page. strip has some options.. you can usually drop the debug options... Dave. -- David Airlie, Software Engineer http://www.skynet.ie/~airlied / airlied at skynet.ie pam_smb / Linux DECstation / Linux VAX / ILUG person -- 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] escaping variables in bash
awk '/regex/ {awk code}' Here's a shell script that I put together call whatrpm.sh as in whatrpm put that file on my 'puter. It shows a string being passed to awk and used as a search pattern. I append a $ to the string that the user passes on the command line so that it only matches where the filename appears at the end of a line. (it won't work for partial file names and will trip up if the string matches the info data, but you get the idea). P. -- case $# in 1) search=`echo $1\$` ;; *) printf Usage: $0 filename\n 12 exit ;; esac rpm -q -a -i -l | awk --assign search=$search ' /Name:/ { PRODUCT=$3} $0 ~ search { printf(Rpm:%s, File:%s\n,PRODUCT,$0) }' -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Another LaTeX question
Once again I'm fighting the good fight trying to keep our documentation available as PDF and HTML. I have the problem at the moment that I need to include a huge table of error codes. One column of this table is a wordy description of the error (a short paragraph or so). I found the tabularx package which lets me wrap that column easily enough, but I also need the table to split into multiple pages in the pdf version, and produce a single big table in the HTML version. The solution I have at the moment is pure kludge and I'd really like to find something less awful. Any ideas? While I'm at it -- LaTeX is driving me round the bend. What other options have I got for multi-output-format document processors? Ideally they should take care of layout like LaTeX does, but be less impossible to do things like multi-page tables in. Is docbook suitable for this? Ideally I'd like a migration path from my current latex source to this new, shinier solution. Thanks, James. -- James Gregory [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part -- 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] terminal broken on 2.6.8
CONFIG_INPUT is set to y. Kernel is 2.6.8.1, diirect from kernel.org. I've narrowed this down to : the terminal emulators (konsole, gnomeconsole, xterm) load Ok but they do not fireup bash (according to the dependencies shown on the system monitor). And these consoles are really just x11 wrappers for bash aren't they ? So... what would prevent bash running ? I'm running a homegrown 2.6.7 at the moment, on the same box, with no problems. cheers Rod --- Brought to you by a thunderbird, penguin, gnu and a camel Peter Chubb wrote: Rod == Rod Butcher [EMAIL PROTECTED] writes: Rod The latter, with both USB and PS2 keyboard. cheers Rod Make sure that CONFIG_INPUT is on in your kernel config. There've been no substantial changes between 2.6.7 and 2.6.8.1. (Don't use 2.6.8 vanilla,. BTW, it's severely broken) Rod Peter Chubb wrote: Rod == Rod Butcher [EMAIL PROTECTED] writes: Rod Still can't get any terminal (gnome, Konsole, xterm) to work on Rod 2.6.8 - they all load ok and display a cursor but won't allow Is this a serial terminal you're talking about? Or a keyboard+monitor connected directly to your machine? If the latter, is it a PS2, serial or USB keyboard? -- 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] terminal broken on 2.6.8
quote who=Rod Butcher CONFIG_INPUT is set to y. Kernel is 2.6.8.1, diirect from kernel.org. I've narrowed this down to : the terminal emulators (konsole, gnomeconsole, xterm) load Ok but they do not fireup bash (according to the dependencies shown on the system monitor). And these consoles are really just x11 wrappers for bash aren't they ? So... what would prevent bash running ? I'm running a homegrown 2.6.7 at the moment, on the same box, with no problems. Did you disable Unix ptys perchance? You need them to connect bash shells to their input mechanism, among other things. J. -- Jan Schmidt [EMAIL PROTECTED] Homer: No TV and No Beer make Homer something something Marge: Go Crazy? Homer: Don't mind if I do! rrrarrgghar! -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html