Linux general

General discussion about Linux.

About the overrided operator distinguish by c++ compiler

Submitted by Anonymous
on May 31, 2008 - 3:03am

Hi,I get a trouble when I create a class that's a seal class for string manipulate.
I override an operator ==:
bool operator ==(char *pStr);
and I override other operator (char*):
char* operator(char*)();

When I use the operator == like this:
CMyString strTest;
if(strTest == "OK")
{
return true;
}
else
{
return false;
}

NFS question

Submitted by Prathamesh
on May 30, 2008 - 7:34pm
Linux

Hello All,
I have a small question regarding the NFS file handles.
Suppose I have a NFS client who has requested for a particular file from the NFS server.Now lets assume that I am using a NFS v2 server. So I get the filehandle for that file and I can use it. Suppose later I upgrade the server to NFS v3,can I use the same file handle which was issued to me by the NFS v2 server?

Linux is not for you!

Submitted by Anonymous
on May 27, 2008 - 7:43pm
Linux

If you feel frustrated with Linux then just use Windows or MacOS. Linux is not for you.

Don't trust me - please read the GPL and the EULA in parallel :)

sysfs_create_group()

Submitted by Anonymous
on May 14, 2008 - 7:12am
Linux

Given a sysfs file attribute which was created by sysfs_create_group(), is there a pleasant way of determining which group that was?

Thanks, Steve

BlueZ

Submitted by Anonymous
on May 6, 2008 - 8:30pm
Linux

Hi,
I wanted to learn the blueZ bluetooth drivers, can someone provide me some kind of design document for the same!!

thanks in advance!!

ATI ES1000 driver

Submitted by arunkris
on April 30, 2008 - 5:22pm
Linux

Hi,

I am not able to find linux device driver for ATI ES1000 video controller. From where, I can download this driver. Any idea ?

Thanks in advance,

Arun

How to insert a kernel module from a c coded application

Submitted by Anonymous
on April 25, 2008 - 1:30pm
Linux

Hi

Is it possible to insert a kernel module from C application without calling system (" insmod ...") ?

I found some routine init_module, create_module

but it seems that these routine does not work with kernel 2.6

Any comment is welcome

fallocate() man page

Submitted by Anonymous
on April 25, 2008 - 3:37am
Linux

where can find updated man page for fallocate()

help required for select system call

Submitted by Anonymous
on April 25, 2008 - 2:18am
Linux

Hello

debugging system freeze

Submitted by Anonymous
on April 23, 2008 - 9:25am
Linux

I have a particular problem: when I try to compile a C/C++ file the whole systems stops (no network, mouse, etc)

I replaced every part of the system (CPU, Memory, motherboard, Hard disk, video card) and
I get the same result (which points to a software problem)

Currently specs:
Biostar NF4ST-A9
550W power supply
Atlon x64 +3800 (dual core)

chattr +a file

Submitted by Anonymous
on April 23, 2008 - 12:14am
Linux

I'm trying to chattr +a some files, but I get the following:

Inappropriate ioctl for device while reading flags on [file].

What does this mean and how to remedy this?

dynamic memory allocation

Submitted by kummy_linux
on April 22, 2008 - 1:00am
Linux

To allocate and de-allocate memory we use malloc and free in the programs.My doubt is how free comes to know only the specified size of memory should be freed. what is the logic behind this.........
please need help regarding this..

Problem in logging linux

Submitted by Anonymous
on April 18, 2008 - 3:33am
Linux

--------------------------------------------------------------------------------

hi...
I have RHL kernel 2.6.9 on my machine. when I give the username and password I get this error.

/etc/X11/xdm/Pression/Default:registering sesion with wtmp and utmp

/etc/X11/xdm/Xsession:line80:/bin/bash
no such file or directories

and after that it logsout and again ask for username and passwd.

char device

Submitted by Anonymous
on April 16, 2008 - 1:43am
Linux

hi all

i want to create a dummy char device and want to use it for read, write operations.
pls give the way to create a dummy char device.

Thanks
raj

warning to users w/ intel HDA sound device

Submitted by Anonymous
on April 12, 2008 - 5:10pm
Linux

i would advise against using a zen-4 series kernel ... i just upgraded and now my sound card is permanently fried ... dunno if this is just an isolated issue but it's something to be aware of.