@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10



Comments:

<0> I dont get it.
<1> spike: no perms?
<1> spike: if you read a file from /proc and you don't have permissions, you'll get an empty file.
<0> and actually the cp'ed file is 244 bytes, the tarred one 0 (the original /proc/partitions is actually zero too)
<0> Roey: nah, /proc/partitions is r--r--r
<0> see yourself
<0> cd /tmp ; cp /proc/partitions . ; tar cvf part.tar /proc/partitions ; tar xvf part.tar
<0> execute that
<0> then ls -l partitions ; ls -l proc/partitions
<0> cp'ed one will be something and contain the actual data, the other will be 0 and contain nothing
<1> oh then I do not know.
<1> the backup may be ignoring it on purpose.
<2> i guess that makes sense, didn't think about that
<2> sorta...
<0> thing is tar works on blocks, proc is in mem, so nothing is backed up
<0> that's what I manged to come up with as explanation...



<1> gg:tar /proc ?
<0> ?
<3> I think the problem can be determined by the tracing the thing
<0> ?
<3> lstat64("/proc/partitions", {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
<3> it only reads N bytes, where N = 0
<0> straces
<0> as I said, cp will copy it
<1> stracing tar.. you're very resourceful ;)
<3> I use strace at least once a day =P
<3> although really I should be getting used to dtrace
<3> anyway, tar predetermines the filesize and doesn't even open a zero byte file
<0> so, ***ume I have a backup on / made with tar on a tape
<1> amrit: damn you!! I still have this ginourmous Konqueror instance eating up memory 'cuz it's full of tabs open to pictures of YOUR car
<1> :)
<0> and I have a new disk to partition, how do I tell the size of partitions?
<0> so far only option seems tar zxvf /dev/st0 | awk script summing up the stuff and calculating space taken by /var /usr etc
<4> Hi, we have a new HP laptop with one harddisk. We installed Suse10.1 onto HDA3. On HDA1 is NTFS. On HDA2 is Swap. Half way through the install of Suse, it rebooted (normal) however, it went straight into Win XP. What do we do now?
<0> Triskelios: any idea about that?
<3> so you need to calculate the size of certain dirs in the tarball..
<0> yes... which is already the proposed solution
<0> was wondering if I had any other option
<3> not really... any option involves dumping the contents since there's no size metadata you could just extract
<5> theres always options
<0> _sho_: like?
<5> was a general statement :p
<5> what was your question again
<3> I'd just dump those dirs' contents to stdout via -O, pipe through wc or something that won't overflow, should be accurate enough (***uming you get directory contents as well)
<0> Triskelios: mmmh, that of the overflow is a nice point...
<0> will wc overflow or not, havent got that?
<0> actually I doubt there's anything that wont overflow...
<0> being the size in byte the number is gonna be fskcing huge
<2> Roey: haha, nice
<1> amrit: by any chance do you know Rohit?
<1> amrit: from #debian-dke
<1> *kde
<1> amrit: he's also in your area.
<2> Roey: probably not.. i've known one rohit in my life, and that's prob not him ;)
<6> anyone knows about linux support for MMC, MMCplus cards ?
<1> amrit: well there are probably more indians in the SF besides yourself and him
<1> I think.
<1> hopefully there are, anyway.
<2> Roey: yeah, they're sorta everywhere :/
<1> =)
<7> why does echo 'a' | dd of=test.txt && echo 'b' | dd conv=notrunc of=test.txt && cat test.txt equal b?
<3> spike: dd with a small blocksize or the nonstandard "pv" tool is probably safe for this
<8> Triskelios : -H for rsync solved my problem
<8> thanks
<3> avuton: notrunc doesn't mean append
<3> avuton: it still overwrites from the beginning
<7> Oh :/ seeking to the end must be the answer then
<9> how can i install the X, i saw an option in the install of the debian net install how can i get there?
<3> thingsk: apt-get install x-window-system
<9> thanks
<9> and, any idea where can i get a list of ftp servers fro the apt-get?
<3> on the debian site
<3> or use netselect
<9> oh cool, and there is no way to get into the screen from the installation that give me to solect the X and the mail server etc (to install)
<10> see you folks tomorrow
<3> thingsk: there is, I don't remember it offhand...



<3> base-config maybe
<9> cool
<11> hi folks I'm looking for some help with my touchpad on my laptop, the movement is really slow, and while I adjusted the speed under the mouse control panel applet in GNOME it hasn't had any effect.
<11> although features such as tap to click and vertical scrolling are working fine
<12> Greetings.
<12> What is a more intelligent way of doing the following:
<12> while [ "$answer" != "y" ] || "$answer" != "n" ] || "$answer" != "Y" ] || "$answer" != "N" ] ; do
<12> ?
<12> I need sometibg like while [ $answer not in "y","Y","n","N" ] do ;
<13> piff- you might start by asking a more intelligent question
<13> piff- what script/language are you using for instance
<12> Cheers, meriad, that's helpful
<12> Bash
<13> i dunno
<13> :)
<13> but in C you could do
<12> I'm sure it's possible in Bash
<13> im sure also
<13> but i dont use bash
<13> korn shell 4life
<12> ok
<14> hi all
<15> hi, how do tell grub not to load or detect eth0 on bootup?
<16> detecting ethernet ports has nothing to do with grub
<16> grub is merely a boot loader
<16> if you are doing a network boot then grub might interact with ethernet, but that's unusual
<12> klim: You should do that in your network config scripts
<17> he could mean telling the kernel not to load the compiled-in network driver..
<12> I doubt it, dude. I think he just wants to ignore eth0
<17> "dude"?
<17> :P
<12> Do you prefer "man"? :P
<17> or neither?
<12> Alright, I shall call your "neither"
<12> -r
<17> :P
<17> I'm Zider. :P
<12> Not any more
<17> always been, always will be.
<12> heh
<12> So klim, you there?
<18> How can I cure getting this message several times each day please? ERROR: Clamd was NOT notified: Can't connect to clamd on 127.0.0.1:3310 connect(): Connection refused
<17> start clamd ?
<18> its started and seemingly working okay
<12> Can you telnet to it?
<18> its on my standalone box
<18> this one i'm on now
<12> You can still try to telnet into it
<12> telnet 127.0.0.1 3310
<18> Trying 127.0.0.1...
<18> telnet: connect to address 127.0.0.1: Connection refused
<18> telnet: Unable to connect to remote host: Connection refused
<12> voila
<12> And the clamd is running?
<18> yes
<12> Firewall issue?
<18> called clamd.clamav
<12> Maybe your firewall is preventing all connections to localhost
<12> Have you set your hosts.deny file to deny all?
<18> this is a centos 4.3 box with its own firewall. hosts.deny is virgin territory, nothing in it, all that is is commented out
<12> Do you have any other services running?
<12> Web servers or anything else?
<12> If so, you might try connecting to them as well
<18> yes, munin, foldingathome, etc
<12> If you can't connect to anything, then that may be the problem
<12> Never heard of those
<12> Can you connect to those services?
<18> i can see their outptu and know that they're running okay
<18> *output
<12> Some services dont need connecting to from the outside
<12> They just run as daemons
<12> but some services do, like web servers
<12> If you have any servers which other people (or yourself) connect to, try telnetting to them
<12> I highyl suspect that if you can't telnet to clamd, then that is why you're getting that error message: whatever is trying to connect, but can;t


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #linuxhelp
or
Go to some related logs:

#gentoo
#debian
#css
#perl
#suse
acer 4102WLMI ubuntu
linux mount netbsd partition
Major opcode of failed request: (X_CreateColormap) ubuntu
#linux
ubuntu cd freezes during installation



Home  |  disclaimer  |  contact  |  submit quotes