General :: What Device The File In /dev Is Mapped To?

Jul 18, 2011

I have installed a new device in linux.If I enter lspci, i can see the information of this device.But, I donot which file in dev is mapped to this device.

View 2 Replies


ADVERTISEMENT

Debian :: File Sharing Via Mapped Directory ?

Dec 13, 2010

My friends and I want to have a central server where we can share our files. I would like it to be accessible to each client (friend) by simply logging onto their VPN client and have the shared directory appear on their "My Computer" as a hard drive. It will be a Debian Lenny server that is accessed by Windows computers, and they'll be able to read and write whatever they like.

We do this same thing at work, but I don't know where to start. To access the file server at work from home, I just run our VPN client and I have access to all the drives I do at work. This is exactly what I'd like to do, but at my place. I'd like to know what applications I need to get to make this realizable, like if I need to use Apache, Samba, OpenVPN, etc. I can learn fast, I just need direction.

Eventually I want to evolve this project into something more, but I figured this would be a good starting point in learning server applications.

View 3 Replies View Related

General :: Ubuntu - Find The Device Node File For USB Device?

Aug 23, 2011

I've bought an X10 Home Automation USB interface: the CM15.

This is the information lsusb gives:

skerit@KIP-DU-SKER:~$ lsusb Bus 008 Device 002: ID 0bc7:0001 X10 Wireless Technology, Inc. ActiveHome (ACPI-compliant)

But this tells me nothing about where the device file is! How can I find that, or create one myself?

View 1 Replies View Related

General :: How Virtual Addresses Actually Mapped

Aug 3, 2010

The command cat /proc/PID/maps shows the memory map (virtual addresses) of the process. How these address are actually mapped?

View 3 Replies View Related

General :: Ctrl+C Incorrectly Mapped In Ubuntu 10.04 LTS?

Jul 11, 2011

I was playing around with my keyboard shortcuts and accidentally mapped a command to the Ctrl+C shortcut. Now I can't stop programs running in the terminal with Ctrl+C and I have no idea of how to restore this functionality.

View 1 Replies View Related

General :: Overwriting The Middle Of A File From A Block Device *without* Truncating File?

Jan 15, 2010

I have a Linux (Kubuntu) system with a large (~20Gb) file which I would like to mess with. Specifically, I want to copy the entire contents of another large file (~12Gb) to the middle of this file, and keep the bits of the file which are not overwritten.This is what I want to happen, with the text between the pipes representing file contents:Before:

outfile: |abcdefghijklmnopqrstuvwxyz|
infile: |123456789|
After:

[code]....

View 1 Replies View Related

General :: Command To Show The Luns Mapped To Redhat Enterprise Server 6.1 Host?

Nov 15, 2010

command to show the luns mapped to redhat enterprise server 6.1 host. And how do i known the WWNN for the FC HBA attach to the host.

View 6 Replies View Related

General :: Create Device File For Image File?

Sep 8, 2010

Everything in Linux is a file, right? And everything can be represented by a file? Is there some way I could create a block device file that represents (i.e., provides an interface to) this image file? If so, then I could use fdisk on the device file to split it into partitions, format the partitions, and then mount them as directories. I could create a file system within a file system, which would be fun.

View 2 Replies View Related

General :: Create A Profile Settings And Network Drive Can Be Mapped Automatically When User Login?

Mar 26, 2010

create a profile settings and network drive can be mapped automatically when user login to the (like Domain and active user profile on windows environment) Ubuntu systems?

View 1 Replies View Related

Hardware :: Retrofitting A Device File For A Mass Storage Device?

Jan 7, 2010

here we have an older digicam (Jenoptik/Exakta Model "DC 22", if someone might want to know) that can be switched between some "PC Camera mode" and "Mass storage mode".Unfortunately, if attached to USB, it is always recognized as

Code:
UDEV [1262910483.475886] add /class/video4linux/video0 (video4linux)
lsusb tells:

[code]...

View 4 Replies View Related

General :: Get Device File Name Of Usb Keyboard?

Apr 27, 2010

Now I connect usb keyboard to my machine, and I would like to know how I can get device file name of this usb keyboard. I know it is /dev/input/event# file,but which event# file? I tried to do [dmesg | grep usb] , but kernel message don't tell me what I would like to know.

View 1 Replies View Related

General :: Device / Special File Clairification Requested

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

Software :: Getting Device Info From Device File?

Sep 26, 2010

Let's say I have a joystick in `/dev/input/js0`, how do I find out which device is it on `/sys/bus/usb/devices/`?

View 2 Replies View Related

General :: How To Find The /dev/Device Mapping For NFS File System In RHEL

Jun 19, 2010

Found the below from RedHat Knowledgebase

The Completely Fair Queuing (cfq) scheduler in Red Hat Enterprise Linux 5appears to have worse I/O read performance than in version 4. It appears as though the Completely Fair Queuing I/O scheduler (cfq) has a regression and thus exhibits reduced read-side throughput which can affect performance for both local and NFS mounted file systems.

One way to mitigate this is to set the cfq's slice_idle parameter to zero. To change this value, execute the following command echo 0 > slice_idle in the /sys/block directory appropriate for your situation, as shown below:

echo 0 > /sys/block/hda/queue/iosched/slice_idle

We are using NFS file systems in RHEL 5.3. I would like to know how to find which /dev/Device is being used by the NFS file systems, so that I could try setting the slice_idle to '0' to see if there is any difference in performance? In /etc/fstab I only see the actual NAS volumes for the NFS file systems.

View 2 Replies View Related

Ubuntu :: Two Keys Mapped As The Same Thing?

Jun 26, 2011

After pissing around with Kubuntu all evening, I wish I had hair to pull out in screaming frustration. After trying everything from Xbindkeys to animal sacrifices and voodoo spells to get my multimedia keys working, I now find that both the Windows key and the End key are mapped as F14. Problem is that it's the End key opening the K Menu, not the Windows key.

How can two keys get mapped as the same thing?! And how do I get the End key back to just the End key? I'm close to calling it quits on Linux and putting Windows back on my laptop.

View 1 Replies View Related

Ubuntu :: How Does Filename Gets Mapped To Its Inode

Mar 7, 2010

How does a filename is mapped to its inode ??? If I want to make our own system call and use a filename as argument how can I get its inode ,if I want to use some of member of inode structure in code. Basically I want to get the fd of the file.

View 5 Replies View Related

Hardware :: LSI HBAs Are Not Being Mapped Properly

Mar 24, 2011

I'm facing a problem in mapping SAN disks connected through LSI HBAs on my servers, I even unable to list them via hbacmd it shows (HBAAPI[14809]: Encounterd and error loading: /usr/lib/libqlsdm.so) the mapper is showing errors also, below are some details from various logs:

rm.log
HBANYWARE VERSION: 5.0.44.1
(03-21-2011 16:22:09) InitDiagEnv found 0 adapters
(03-21-2011 16:22:09) In LoadRMLibraries
(03-21-2011 16:22:10) HBAAPI found 0 local adapters
(03-21-2011 16:22:10) Local Adapter Count = 0, CNA count = 0
(03-21-2011 16:22:10) Error calling getOperatingMode
fdisk -l - does not show San disks

How can I get my HBAs working, below are the details of my server:
Dell R710
OS: Citrix XenServer Host 5.6.0-31188p
kernel: 2.6.27.42-0.1.1.xs5.6.0.44.111158xen #1 SMP Mon May 3 21:26:51 EDT 2010 i686 i686 i386 GNU/Linux
HBAs: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)

View 1 Replies View Related

Ubuntu :: Mount Mapped Drives @ Startup?

Jun 17, 2010

how would i mount mapped linux (ntfs drives) when ubuntu starts

View 2 Replies View Related

Ubuntu :: Control Key Is Mapped Correctly But Does Nothing On Most Applications

Dec 4, 2010

I have installed Kubuntu 10.10 on a macbook3.1 and everything (almost) is working fine. My sole problem is that the left control key, despite being mapped to:

keycode 37 = Control_L NoSymbol Control_L NoSymbol Control_L

and having the right behavior in the terminal, does nothing on most other applications, like kate, money managers, intelliJ, etc.

It does work properly also on Google Chrome.

View 1 Replies View Related

Programming :: Access Not Within Mapped Region At Address

Jan 28, 2011

I am receiving that error through Valgrind, I don't know the meaning of the error so I don't know what to check.

View 2 Replies View Related

Networking :: NICs Always Consistently Mapped To The Same Network Configuration

Jan 20, 2011

I have three 10Gb Fibre PCI ethernet cards and 2 onboard gigabit ports. The two gigabit ports always seem to be mapped to eth0 and eth1. I set the network configuration for eth2, eth3, and eth4 in the /etc/sysconfig/network-scripts/ifcfg-eth# files. Would the NIC in PCI slot 1 always be mapped to eth2, NIC in slot 2 mapped to eth3, and NIC in slot 3 always mapped to eth4?

View 1 Replies View Related

Ubuntu Servers :: Nfs4 - Idmapper / Some Uids Are Not Mapped To Names?

Oct 5, 2010

i set up a ubuntu server (10.04) with LDAP, Kerberos and NFS4. Did a set up for a client (ubuntu desktop 10.04 32 / 64) to connect to ldap, kerberos and nfs4-mount. All is working fine except of the idmapping. Some uids are not mapped to names. the entrys, which cannot be mapped, change. so 10 minutes before the uid was mapped to the correct name, after that time (i'm not sure if it's exactly 10 minutes) the name is mapped to nobody. sometimes the gid cannot be mapped too.I mount the nfs-share via nfs4 with sec=krb5 (krb5i or krb5p result in the same problem) and after successfully mounting the device, i type ls -la. i never have problems with getent passwd or with logging in as ldap-user. i get all the entries of the ldap-db and i also get kerberos tickets. All is working fine with nfs3, but i would like to use nfs4 for security-reasons.

if i run the rpc.idmapd with many "-v" i get the following messages in the daemon.log-file:

Code:
....
rpc.idmapd[15953]: nfs4_name_to_uid: calling nsswitch->name_to_uid
rpc.idmapd[15953]: nss_getpwnam: name 'test@DOMAIN.TEST' domain 'DOMAIN.TEST': resulting localname 'test'
rpc.idmapd[15953]: nfs4_name_to_uid: nsswitch->name_to_uid returned 0
code....

the first part is the response to a correct name-to-uid-mapping the second part is a failed one. both user exist, both users have the same ldap-entries (except of the different descriptions, uid and so on). the responses have the same timestamp, so the reply is in (nearly) the same second.

restarting the idmap-daemon every 5 minutes or other workarounds are not practicable in normal operating environment.

View 5 Replies View Related

Server :: ISCSI Failing At Reboot To Detect Mapped Volume

Sep 28, 2010

I am trying to connect the one of server RHEL5.4 to the IBM iSCSI storage. Server is equipped with 2 single port Qlogic iSCSI HBA(TOE). RHEL detected the HBA and installed driver itself (qla3XXX). I have configured the HBA ip address in the range of iSCSI host port of storage. Both of the HBA is connecting to the two different controller of storage. I have discovered the storage using command iscsiadm -m discovery command for both of the controller and it went through fine. But problem is whenever server is restarting if both of the hba is connected to the storage then server will not detect the volumes which is mapped to the server and then to detect the volume I need to run "mppBusRescan" and "vgscan" command each time. If only one path is connected it is fine.

View 1 Replies View Related

Server :: Mapped Network Drive Requires Password After Logging Out?

Jun 14, 2010

I have a peer-to-peer network with 25 WinXP Pro computers. I have built a Linux (SuSE) server for the purpose of backing up My Documents, PST files and favourites. Each user has their own folder containing the sync'd files. Each folder is password protected. I have configured each users machine with a mapped 'S' drive, which is the sync'd data folder on the Linux computer. All of the computers seem to end up with a "disconnected network drive" status after either logging out for the day or after some time has elapsed. Some will connect with a double click but others prompt for a password. I have tried mapping the drive using the option "Connect using a different user name", which is fine until the user logs out and back in again. I use SyncToy as a scheduled task, but can't connect to these mapped drives automatically, so the sync process will not work unattended.

View 3 Replies View Related

Ubuntu Installation :: 10.10 Mouse Middle Click Not Mapped At Xinput Test?

Oct 22, 2010

after migrating my Ubuntu box from 10.4 to 10.10 my middle click button does not work.

If I test using ...

Code:
xinput test <device id>

... all my buttons are mapped but one (the middle click): when I use it nothing is logged in the console.

This is the ouput of my mouse properties:

Code:
~$ xinput list-props 8
Device 'Razer DeathAdder':
Device Enabled (117):1

[Code]....

I use middle click frequently (opening links in new tabs in Firefox or Copy&Paste in terminal)

View 9 Replies View Related

Networking :: Windows Client Is Rebooting When Accessing Mapped Home Directory On A Box?

Feb 4, 2009

I have a redhat server with SAMBA file services. I have copied all the users files into their respective home directories and mapped a network drive to their folders. However, when I try to access a file in those folders the machine reboots itself. There are no error messages or anything, it just reboots!

View 2 Replies View Related

General :: Can't Find Boot Device - Error "Unable To Determine Major/minor Number Of Root Device"

Mar 17, 2011

I just compiled my first own kernel (I'm using Arch Linux), following the tutorial on the german site. Now I tried to boot it, I ended up failing with this message: Code: Waiting 10 seconds for device /dev/sda1 ... Root device '/dev/sda1' doesn't exist, Attempting to create it. ERROR: Unable to determine major/minor number of root device '/dev/sda1' Here is the important part of my menu.lst:

[Code]....

I simply copy&pasted the Arch-entry, i.e. I also had the disk by uuid there. The failure message was the same, just the root device name was the different name Also, at first I did not have the initrd line in my menu.lst (as written in my tutorial that I may not need it). In this case I had this error message:

[Code]....

View 10 Replies View Related

OpenSUSE Install :: Can't Edit Back Device.map File

Dec 23, 2010

I've got myself in a bit of a pickle.I've got 1 hard disk drive and was trying to load a second external drive.I tried to mount the 2nd (external) drive by editing /boot/ grub/ device.map but I must have made an error, because now it boots directly into sda1 openSUSE 11.1 and when I try to look at SDA2/SDA3 it say's Invalid System Type. Presumably because they're formatted with Ext4. So I can't edit back my device.map file.What I want to do is boot into SDA3 OpenSUSE 11.3. Would anybody know why it's only booting to SDA1 and/or have any suggestions to get me back booting to SDA3? This may be a 2 step process, because I may have to boot to SDA2 first so I can edit back my /boot/grub/device.map on SDA3 before finally booting to SDA3.

View 6 Replies View Related

Ubuntu :: Dd - Device Copy.... Low File System Space?

Mar 17, 2011

So I wanted to copy a copy-prod disk and decided to try dd after reading some information about it. after running dd for about a minute, I got a warning that I was low on disk space. I stopped dd and found I had only 200 MB left of 200 GB free space (originally having over 220 free). I deleted the 1/2 finished backups but cannot find the data which was written to the drive. It is hard to think that that much data could be written with my slow pc in under one minute.here are the commands I performed if that helps locate the data:

dd if=/dev/cdrom of=/mnt/disk/home/mark/pccheck.iso
dd if=/dev/cdrom of=/home/pccheck.iso
sudo dd if=/dev/cdrom of=/home/pccheck2.iso

View 2 Replies View Related

Software :: Tape Changer Device File Changing?

Jul 8, 2010

In my RHEL 5.4 system after each reboot the device file of tape changer (IBM-3310 Tape library) is changing.So i am not able to give a fixed device file in backup software.

View 17 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved