CentOS 5 :: Create Device Special Files Without Rebooting?
Mar 21, 2011
I made a duplicate of a Centos 5.5 system disk with dump (dd if=/dev/sda of=/dev/sdb). No device files for sdb were created, but I guess that's not too surprising. I rebooted, and the device files were created. But how would I create them if I wanted to avoid the reboot?
I looked around for info on mknod and MAKEDEV but didn't find a lot.
View 4 Replies
ADVERTISEMENT
Mar 1, 2011
I seem to have another issue with my raid system
mount -a
mount: special device UUID=fb518c74:2b6bd0f4:66db5ce6:7e004239 does not exist
but when i do mdadm -vv --detail /dev/md5 ... this is what i get --->
/dev/md5:
Version : 1.1
Creation Time : Fri Feb 25 14:07:36 2011
Raid Level : raid1
[code]....
View 3 Replies
View Related
Jun 2, 2010
how udev rules work to create device files. Following is what I did for that: Up on plugging in my phone (sony w800i), I am getting a device file 'devcdc-wdm0' created. I just tried to figure out the rule which is responsible for the creation of this particular file.
I searched in 'etcudev ules.d' and 'libudev ules.d' for the string 'cdc-wdm' to find that rule. But I am not getting any hits in that search. Could any one help me out in this one.
BTW: I am using Ubuntu 9
View 6 Replies
View Related
Apr 27, 2009
I am trying to create a xen vm on CentOs 5.3 using the following config file:
name = "vm5"
maxmem = 512
memory = 512
vcpus = 1
[Code]...
I'm assuming that it can't find a driver for a cdrom - but I am not too sure of that.
View 4 Replies
View Related
Sep 12, 2010
The CD-ROM on this computer, my ubuntu laptop, does not seem to be working properly. It works on and off. I burned a .iso image yesterday but today I can't get it to even read the CD in my drive. I just want to read the CD to see if it is the Ubuntu Live CD I burned a while ago or if it is the Vista Recovery CD.
TL;DR: CD-ROM isn't working properly. When I click on the drive this is the error.
Code:
mount: special device /dev/scd0 does not exist
P.S. I am trying to get Windows Office to install using Wine because I am tired of windows. I know that open office is great. but I have to have excel 2007 and word 2007 for school.
View 3 Replies
View Related
Sep 30, 2010
I've just upgraded to the new version of Ubuntu (10.04) and I've got a problem with the mounting configuration.
My PC access to a NAS server which is running samba. Everything worked great before upgrading
In the /etc/fstab, I added the following line :
Code:
//nas/share /mnt/share auto credentials=/root/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
and the system always replies :
[Code]....
View 2 Replies
View Related
Oct 1, 2010
Device/Special file Clairification Requested.I'm reading a short article on Device/special files because it is related to VFS. This article has this paragraph that has to many pronouns in it to get an understanding of. URL..."In short, a device file (also called as a special file) is an interface for a device driver that appears in a file system as if it were an ordinary file. This allows software to interact with the device driver using standard input/output system calls, which simplifies many tasks."
What does a Device file have to do with the Application and the Driver communicating? Wouldn't the order of data transfer be , Application to driver and then to Device file?
View 3 Replies
View Related
Jul 3, 2010
mount: special device /dev/scd0 does not exist
View 1 Replies
View Related
Apr 15, 2011
I've got an LVM2 VG containing 1 LV running on SLES11 SP1.
I have an entry in /etc/fstab to remount them at boot:
Code:
/dev/myVG/ibmLV /opt/IBM ext3 defaults 0 0
Whenever I reboot the whole VG disappears and I find the following in /var/log/boot.msg:
Code:
<notice -- Apr 15 12:35:55.954677000> boot.localfs start
Waiting for /dev/myVG/ibmLV . no more events
[Code]....
View 3 Replies
View Related
May 2, 2010
I have created a logical partition (/dev/sda5) and have formatted it with an ext3 filesystem and given it the label PHOTOS.
# mkfs.ext3 -L PHOTOS /dev/sda5
If I mount it to my /PHOTOS directory manually, it does so correctly. However, when I try to automount, it gives me this message:
# mount -a
mount: special device PHOTOS does not exist
I've entered this line in my fstab file:
PHOTOS/dev/sda5ext3defaults0 0
I'm just not sure what's happening; I've never had trouble mounting a filesystem before. Oh and it's a RHEL 5 installation.
View 2 Replies
View Related
Dec 9, 2010
why I'd be receiving this error. I have created a partition and filesystem and put the label in fstab. Everytime I reboot the server it is unable to mount the filesystem. However I am able to mount it manually.
View 5 Replies
View Related
Jan 2, 2011
I have a PXE/kickstart installation system running ok. I would like to build a custom installation x86_64 .iso with the i386 .rpms removed. Currently I install from the standard x86_64 iso, then go and remove the i386 rpm's with all the attendant problems and impact on docs etc. Has anybody tried this? Is it as simple as just deleting *i386.rpm and then building another .iso from the resultant installation tree?
View 9 Replies
View Related
Dec 9, 2009
I just installed a CentOS 5.4 x 64 on a customer's server last Saturday. I use lpr/lpd to print through this server to our network printers.
yum install cups-lpd
Edit /etc/xinetd.d/cups-lpd: disable = no
I did several restarts on /etc/rc.d/init.d/cups. I even did a "kill -SIGHUP 0" and a "kill -SIGHUP pid_xinetd". No joy. I finally gave up and rebooted: joy. Shades of Windows.
What did I miss? How do I start cup-lpd after yum without rebooting.
View 2 Replies
View Related
Jun 1, 2010
I want to archive all .ctl files in a folder, recursively.tar -cf ctlfiles.tar `find /home/db -name "*.ctl" -print`The error message :tar: Removing leading `/' from member namestar: /home/db/dunn/j: Cannot stat: No such file or directorytar: 74.ctl: Cannot stat:No such file or directoryI have these files: /home/db/dunn/j 74.ctl and j 75. Notice the extra space. What if the files have other special characters? How do I archive these files recursively?
View 2 Replies
View Related
Aug 14, 2011
I'm in the process of moving /tmp out of the root filesystem to it's own (larger) partition. From a LiveCD I've:
1. Created the new part (ext4 format and is /dev/sda4)
2. Mounted the installed OS root filesystem (/dev/sda1) as /slash
3. Mounted /dev/sda4 as /newtmp
4. Using gksudo nautilus I'm trying to copy the contents of /slash/tmp to /newtmp
I have 4 files that won't copy - returning the error "Can't copy special files". These are related to ORBit it seems:
[code]...
Questions are: a. Will GDM or ORBit fail if I start up without these? b. Or will they just be recreated on the fly if found to be missing? c. What's the best way to proceed?
View 1 Replies
View Related
Jul 28, 2009
i am sort of a n00b at *nix, and i wanted to install KSB26 on my centos 5.3 install.I downloaded the file. and extracted it.I modified the install.sh in the file to point to /usr/src/kernels/.I run the installation, but it shows many errors telling me to run make oldconfig and make prepare on the src.I run that but i still get the same error and installtion does not occur.Do i need any special packages installed?
View 3 Replies
View Related
Mar 4, 2010
I have to create an unattended install from an USB with special instructions. Unfortunately I'm a newbie and I have no clue as to where to start. We did recieve one link to use and I still don't understand what I'm supposed to do. The link is on the CentOS home page.
View 1 Replies
View Related
May 18, 2011
Operating System: CentOS 5.4 I have a bash script that runs another php script to return a decrypted password. The return value is right but when I concatenate it with another string, I would not have the whole string. To better understand the problem, here is my script:
***********************************************************************************
#!/bin/bash
getProperty()
[code].....
View 1 Replies
View Related
Nov 15, 2009
Slackware 12.2 has the unkind habit of deleting all the /dev/fd?u* floppy special files upon boot-up. I have to make another directory (I use /floppy) to contain these files so I don't have to keep copying them from an earlier distribution (12.1) Now, for example, to format a 1743 kilobyte floppy, I do fdformat /floppy/fd0u1743 mformat a:If I copy these special files to /dev (where they belong) then some part of Slackware Linux 12.2 deletes the special files when I power down and power up the machine.Slackware 12.1 and earlier leave floppy special files severely alone upon shutdown/startup.I cannot seem to "grep" a reference to /dev/fd anywhere in /etc/rc.d or its subdirectories. Why is Slackware 12.2 deleting them?
View 1 Replies
View Related
Dec 10, 2010
I have about 300 files that need renaming, because the file system does not display the French characters properly. The dodgy letter in question has been replaced by a "question mark in a black diamond" symbol.No way of renaming, other then using mv in the Konsole has worked. Is there any way, script or program out there, that will do a batch rename?
View 9 Replies
View Related
Jun 15, 2011
/media/A and /media/B should be identical, but I want to confirm before deleting one.
Duplicate file finders don't work, because they'll find two copies of the same file within B, for instance. I only want to confirm that every file in one is identical to the other.
diff -qr /media/A/ /media/B/ seems to work, but the output is cluttered with garbage like
diff: /media/A//etc/alternatives/ControlPanel: No such file or directory
and
File /media/A//dev/tty8 is a character special file while file /media/B//dev/tty8 is a character special file
I can suppress the former with 2> /dev/null, but I don't know about the latter.
rsync -avn /media/A/ /media/B/ also produces a bunch of clutter, like "skipping non-regular file".
How can I compare the two trees and just make sure that all the real files exist in both and are identical?
View 2 Replies
View Related
Feb 4, 2011
My server is rebooting frequently(4 to 5times a day) without any logs, can any one help me out to fined the cause for the unexpected reboots of the server. reboot system boot 2.6.18-194.3.1.e Fri Feb 4 15:16 (00:-24)
[root@elastix log]# cat /etc/redhat-release
CentOS release 5.5 (Final)
[root@elastix log]# uname -a
Linux elastix 2.6.18-194.3.1.el5 #1 SMP Thu May 13 13:09:10 EDT 2010 i686 i686 i386 GNU/Linux
[code]...
View 2 Replies
View Related
Jun 21, 2010
After doing a regular software update on a 5.5 box (and rebooting), I now have problems starting xen (version "xen-3.0.3-105.el5_5.3.x86_64").
Running "/etc/init.d/xend start" yields no output, and checking the script, I see that the script halts if "/proc/xen" doesn't exist.
Checking the filesystem, I find that the "/proc/xen" entry is indeed gone. Restarting the CentOS box does not help.
Should I reinstall Xen? If so, should I remove any portions of Xen before I do?
Update:
When I run /usr/sbin/xend I get:
View 2 Replies
View Related
Feb 15, 2010
I am dragging my files over to a new Fedora 12 installation and I just noticed that special characters are not taken into account when sorting files by name (I want '_js' to come before 'images').Is there a way to make the sorting process behave like Windows, where files starting with a special character are listed first?
View 5 Replies
View Related
Nov 30, 2009
I have recently installed Centos 5.4 on a server with 3 network cards. I am trying to enable IP forwarding which has been successful by executing the following command:
echo 1 > /proc/sys/net/ipv4/ip_forward
I tried to make this permanent by adding net.ipv4.conf.default.forwarding=1 to the /etc/sysctl.conf file.
When I restart the network service I get the following code...
View 2 Replies
View Related
Jul 28, 2010
I have installed live cd on usb pendrive. Everything works great. How can I find out which device driver it is using? Where are the device driver files stored? How do you specify the device driver when mounting a device?
View 3 Replies
View Related
Feb 11, 2011
I have an init script running as a special build user which performs an automated build that fails with (Too many open files).I updated /etc/security/limits to allow the special user more open files, but that didn't work - the init script still isn't allowed more open files.Here's a demonstration of the problem;
Code:
$ su - sbsbuild -c "ulimit -n"
Password:
[code]....
View 1 Replies
View Related
Mar 12, 2011
I want to try to create my own virtual device in Linux. Something simple, for example, a /dev/fortune virtual device that returns a line from fortune() each time you read from it.
I am willing to do my own research and study, I just need to know where to start. E.g., what to read or what to google, in order to get me where I want to go the fastest. I have some C/C++ and Ruby background.
View 2 Replies
View Related
Mar 19, 2009
Long story short - on my laptop, touch pad is recognised as PS/2 mouse. Everything works (moving, clicking, dragging, vertical scroll). But I often accidental click the pad while typing.Synaptic driver recognises it as ALPS glide point it seems (synclient -m 1 gives me back only x,y difference for the gestures, but X,Y coordinates are always 0,0) - so then I get everything right including disabling mouse on keyboard input - but scrolling doesn't work So I came up with 2 possible ideas - which I don't know how to do/test:1. Perhaps there is a way to disable mouse input while typing without synaptics drivers?2. Create a dummy input device (mouse), and tie synaptics driver to it. Add another input device in xorg.conf to point to the real touch pad as PS/2. And make the synaptics disable "real mouse" by enabling GuestMouseOff option.
View 1 Replies
View Related
Apr 27, 2010
I try to configure openvpn under Fedora, using TUN/TAP device. I configured it under windows without the problems. However in windows this device is TAP-WIN32 device with the name VPN-urs. It set set in client.ovpn file as:
Code:
# Windows needs the TAP-Win32 adapter name
# from the Network Connections panel
# if you have more than one. On XP SP2,
# you may need to disable the firewall
[Code]....
View 1 Replies
View Related