Questions specifically about Linux but not specific to a particular distribution. If the question could apply to any Unix-like system, specify your Linux distribution in the body of your question but do not use the /linux tag.

learn more… | top users | synonyms

4
votes
0answers
722 views

Are there any tools to test MTD/JFFS2 for Linux 2.4 kernels

I have some issues with a platform I support and I suspect memory problems. I wanted to check the Flash parts using some MTD JFFS2 test tools, I found a link to a bunch on this site. However they ...
4
votes
2answers
4k views

Must the filesystem be unmounted while extending an LVM logical volume?

I have seen some tutorials on extending an LVM2 logical volume. None of them instruct you to unmount the filesystem. They claim that you can extend an LVM volume while it is in use. Is this right?
3
votes
1answer
499 views

IP_TRANSPARENT missing from glibc headers

I'm trying to use the IP_TRANSPARENT declaration. I am using debian 6.0.5. IP_TRANSPARENT is only defined in linux/in.h however it conflicts with netinet/in.h. In centos for example, IP_TRANSPARENT is ...
4
votes
1answer
395 views

Is there a Linux for an MSM7227 tablet with USB keyboard and touchscreen stylus drivers?

I have a ZTE V9C 7" tablet with 800MHz MSM7227 processor, Snapdragon family (ARM architecture?), Android 2.3, and I want to have a (very lightweight) Linux running on it (I know Android uses a Linux ...
3
votes
1answer
321 views

Why do the members of a bridge lose their Ip address?

I have created a bridge using to existing network interfaces: $ brctl addif br0 eth1 $ brctl addif br0 eth2 Why do eth1 and eth2 lose their IP addresses? What's the reasoning behind it? PS this is ...
1
vote
2answers
8k views

SVN server with remote GUI administration

I have 2 Linux servers. One is Centos 5.5 another is Centos 6. I want to install SVN server on both server separately. Can anyone tell me which svn server has a good remote administration GUI. Also ...
0
votes
1answer
132 views

Are .so files in Fedora considered ELF files?

ELF 'Executable and Linkable Format' So if I generate Shared Object files .so are those considered ELF files?
1
vote
1answer
144 views

What happen when we plug a device in to computer

I'm currently learning about device developement for linux, I have glaced at some books such as LLD3, .. but I still can't understand what happen when we plug a device into computer, That's my ...
3
votes
0answers
6k views

vboxpci: IOMMU not found (not registered)

I'm running Arch with 3.6.10 kernel, When vboxpci module is loaded, it tells me vboxpci: IOMMU not found (not registered), But I checked my kernel config, I have the INTEL_IOMMU set already (I uses ...
1
vote
2answers
6k views

How to extend LVM in RHEL 5.6

I need to extend the LVM on one server. This is the output of df -h: Filesystem Size Used Avail Use% Mounted on /dev/cciss/c0d0p2 58G 26G 29G 48% / ...
5
votes
2answers
2k views

Does swap need to be on a contiguous LVM logical volume

I am setting up a machine to run a number of virtual machines. I am using a single HDD with a boot partition and an LVM partition. I read on the Arch wiki that logcial volumes which will be used for ...
0
votes
4answers
2k views

umask is not working for directories

I have an odd problem with umask. My current setting is: $ umask 0022 $ umask -S u=rwx,g=rx,o=rx This only works for files though and not directories: $ touch abc $ ll abc 0 -rw-rw-rw- 1 user1 ...
1
vote
1answer
793 views

Linux + replace STRING/WORD in file according to rule

My target is to replace any word/string/Any characters in file with new word/string according to the following rules: If numeric characters on the left side of word/string then we not replace the ...
3
votes
1answer
332 views

How can Linux detect automatically if kernel must boot on dev hdc or hda

I have an industrial PC mounting Linux. These PC is delivered in two version, each with slightly different internal board and depending on the board type the disk inside the PC is see as hda or hdc. ...
1
vote
1answer
155 views

Don't have write permission in partition

In my PC I have installs Windows7 and then Ubuntu as OSes. When I try to access other partitions ( E: and F: which I'm using from Winsows7 OS) it get mount without any issue and can read and modify ...
7
votes
2answers
8k views

How does copy-on-write in fork() handle multiple fork?

According to Wikipedia (which could be wrong) When a fork() system call is issued, a copy of all the pages corresponding to the parent process is created, loaded into a separate memory location by ...
8
votes
2answers
241 views

Look for a process with a given name

I am trying to convert the VMS command show/system/process=processname into an equivalent Linux command. I tried the following but it returned none of the processes: ps -C /exeimages/processname.pl ...
0
votes
1answer
567 views

linux + perl + replace any WORD in file with special characters with condition

Example1 work fine when I want to replace OLD_TEXT with NEW_TEXT ( its replace also all special characters as $@^%)(_+`:; etc ..) example1 export OLD_TEXT='$$OLD_WORD$$' export ...
6
votes
3answers
3k views

merging LVM volume groups

Situation: I have a server with 4 1TB drives in LVM as shown below. The server is a openvz hardware node with a dozen or so openvz containers. At this time each container uses one disk only. This ...
2
votes
1answer
1k views

Sudo does not work in chroot

I would like to be able to use the sudo command in a chroot environment. I start the chroot as follows: chroot /debian-squeeze /bin/bash Now I'm logged in as root in the chroot. I can do su user ...
2
votes
3answers
442 views

Is there a variation of Linux or Unix that does not require open licensing?

In the future I may be building a system with an embedded operating system. Given the commercial properties of this system, it will make sense to have all of the internals as closed source as ...
0
votes
1answer
134 views

Are there any non-GPL linux package managers?

I'm looking for a linux package manager for personal project. The main criterium is non-GPL (and it's variants) license. So far I've managed to find that only Slackware's pkgtools meet this rule, but ...
1
vote
1answer
160 views

How can I remotely access linux servers

I have a couple of servers that I need to remotely monitor. Is there anyway that I can do that? Should I use vncviewer, ssh, or what?
1
vote
1answer
314 views

Pulseaudio rapidly switches ouputs at high volumes

I'm using Pulseaudio. The image is of the Output Devices tab and shows the Port set to Analog Output. This is fine and works great. There's another option called Headphones but if you try and set the ...
0
votes
1answer
2k views

Fatal error: No compiled in support for x86_64

Can't use gcc on x64 debian: $ gcc a.cpp Assembler messages: Fatal error: No compiled in support for x86_64 what should I do? Some people propose installing binutils, but they are already there. ...
2
votes
1answer
204 views

variable assignment and IFS

Per Greg's Wiki the IFS variable is used: In the read command, if multiple variable-name arguments are specified, IFS is used to split the line of input so that each variable gets a single field of ...
12
votes
1answer
9k views

Linux always send ICMP redirect

I have several Debian Squeeze (6.0.6 up to date) used as routers. When a link is down, they send ICMP redirects to local hosts. This is the default behaviour of Debian and several others. So once the ...
2
votes
1answer
710 views

Machine Check Exceptions with Wildcard TE420 and Asus P5N-E SLI

I have been seeing machine check exceptions when trying to call dahdi_cfg (or, sometimes, even on just loading the kernel module) to configure a Digium Wildcard TE420 Quad-Span T1 PCI-E card. Running ...
3
votes
2answers
10k views

Finding out the values of kernel options related to sysctl.conf and sysctl.d

On my Ubuntu machine, in /etc/sysctl.conf file, I've got reverse path filtering options commented out by default like this: #net.ipv4.conf.default.rp_filter=1 #net.ipv4.conf.all.rp_filter=1 but in ...
2
votes
1answer
167 views

directions about customized Layer 2 implementation in linux

I have some machines running on the same network. One node is the control node which distributes traffic coming to it to the other nodes. The thing is that I want to have a custom protocol header ...
0
votes
2answers
265 views

Sample file for grep

Can anyone please point to some good sample files that helps to learn grep. This is for academic use. It should be a large one so that students could understand its importance
3
votes
1answer
772 views

Does the (source) device in a tmpfs type mount mean anything?

I just went into /etc/fstab (Linux) and changed my line for /tmp (on which a specific ext4 partition was previously mounted) to tmpfs. This was clearly a bit silly, but I wasn't thinking. Anyway, I ...
0
votes
1answer
176 views

linux/solaris + manipulation of Standard Output

I run the following line on linux/solaris machine ( all output will write in to /tmp/Log from application.bin ) ./application.bin 1>>/tmp/Log We can see the content of the /tmp/Log file ...
8
votes
4answers
10k views

How can I assign an initial/default password to a user in Linux?

I found a guide that explains how to set a user's password. I'm trying to automate it and send an e-mail to the user like: userid created with password XYZ. request to change the initial password. ...
1
vote
1answer
167 views

How to change the current directory graphically using the keyboard only?

There was a program named NCD (Norton Change Directory) a few years ago that did a good job at helping me change directory back in the DOS days. This programs displayed a tree, and you could navigate ...
3
votes
2answers
8k views

Do I only need one swap partition for multiple Linux distros? (and other questions)

I have Linux Mint 14 installed as my only OS. I have one extended partition containing /swap, / and /home, and I have some unallocated space on my drive. I'm guessing that Mint decided to put this ...
1
vote
1answer
2k views

connect to a remote server through ssh [duplicate]

Possible Duplicate: How do I execute a remote shell script over SSH and be prompted for passwords by commands that require it in that script? I want to connect to a remote server through ...
0
votes
1answer
550 views

How to install apt-get without a package manager

How can I install apt-get on a 32-bit Linux System if I don't have an existing package manager, like yum? What do I need to get?
5
votes
2answers
15k views

How to forward a port from one machine to another?

Consider the following situation: At my home, I have a router (which is connected to internet), server (S) and my main machine (M). S is reachable from the internet (it has static IP), and it is up ...
1
vote
1answer
2k views

Building kernel module

I have a 3rd party device driver which I am trying to cross-compile. When I build the driver everything goes smooth but I don't see any driver.ko file, however driver.o file is generated fine and I ...
2
votes
1answer
229 views

Difference between 3 commands which are used to execute shell script? [duplicate]

Possible Duplicate: Different ways to execute a shell script What are the specific differences between the commands listed below? ./<scriptname> . <scriptname> bash ...
1
vote
1answer
753 views

Complete install on RAID1 + LVM

When doing a complete install of Linux is it possible to install everything including /boot on 2 software RAID 1s (4 hdds) + LVM? I haven't been able to figure out whether this is definitely ...
2
votes
1answer
885 views

Where is max process size specified?

I've got a RHEL4 machine with 1TB of memory and have discovered that malloc and mmap refuse to allocate any memory above 512GB. Meanwhile, I don't seem to have a problem with RHEL5 machines. I'm ...
2
votes
1answer
864 views

Linux Mint 13 XFCE freezes when external monitor connected

I am running Linux Mint 13. The problem is that whenever I connect/disconnect an external monitor to my laptop it freezes. If the monitor is connected on boot it works fine. Any ideas ? Output from ...
1
vote
2answers
410 views

Run program with additional supplementary group

I am looking for something like sudo (or something that can be run from sudo) that allows me to run a program with my uid and primary gid, but with an additional supplementary group.
1
vote
1answer
1k views

Second GPU does not show up in `lspci`

I switched the second GPU in one of our servers (Ubuntu 12.04.1 LTS). But now lspci only gives one entry: $lspci | grep -i nvidia 04:00.0 VGA compatible controller: NVIDIA Corporation G94 [Quadro FX ...
1
vote
0answers
747 views

Debian Console Font with Nvidia Drivers?

On my Debian Squeeze (6.x) installation my system had a nice small login shell font (terminus??) but after installing the nvidia drivers for my machine it boots up using a very chunky font (on a 24 ...
1
vote
2answers
2k views

How to stop telnet access for a particular IP address?

How can I stop telnet access for a particular IP address on the command line?
0
votes
1answer
112 views

Need advice for tools to use in everyday workflow [closed]

I am an open source web developer that has decided to transition away from using the Microsoft stack as the center of my everyday workflow and dive into Linux for my primary workstation. As I am new ...
2
votes
1answer
690 views

Chain loading kernel without a boot loader

I am working on an embedded project that will do in-place upgrades. There may come a time when an upgrade will need to reinstall everything. Since this is a pretty risky thing, I would like to have ...