10-16-2010
Physical and Logical Device Name
Dear all,
Please can anybody explain me in detail what is the different between physical device name file and logical device name file. Please explain me clearly it's my request.
Last edited by Scott; 10-16-2010 at 06:58 AM..
Reason: Removed shouting
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
say i have a hard disc and like to install unix. I made two partition. plese explain what happens then
how devices are created like /dev/hd2
/dev/hd9
etc
how /usr/mqm is created. does the directory /usr exist? where ?
aslo how we create partition in physical directorY?
and link... (0 Replies)
Discussion started by: ajaya
0 Replies
2. AIX
Hi all
I need command to give logical and physical IP Address for my machine.
thank you (1 Reply)
Discussion started by: magasem
1 Replies
3. AIX
Hy
I have several logical volumes that are turned into raw devices used by Informix DB. I would like to add some more.
In /dev directory i see logical volumes as block files: lv_name1, lv_name2 ...
and
i see raw devices defined as character files:
rlv_name1, rlv_name2 ...
As i see,... (5 Replies)
Discussion started by: veccinho
5 Replies
4. HP-UX
Hi,
Someone please help me with how i can unmount and remove all the files systems from a cluster. This is being shared by two servers that are active_standby. (3 Replies)
Discussion started by: joeli
3 Replies
5. Solaris
Hi all,
I am experimenting with solaris.
I noticed that when the machine is booted the physical device name of the root device is different then when I am at the ok prompt:
# mount | head -1
/ on /dev/dsk/c1t1d0s0
# ls -l /dev/dsk/c1t1d0s0
lrwxrwxrwx 1 root root ... (2 Replies)
Discussion started by: deadeyes
2 Replies
6. Solaris
When I look at format I can see the following info:
AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@1c,600000/scsi@2/sd@0,0
1. c1t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@1c,600000/scsi@2/sd@1,0
Can anyone tell me... (2 Replies)
Discussion started by: James_UK
2 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I am new to unix. I am working on Red Hat Linux and side by side on AIX also. After reading the concepts of Storage, I am now really confused regarding the terminologies
1)Physical Volume
2)Volume Group
3)Logical Volume
4)Physical Partition
Please help me to understand these concepts. (6 Replies)
Discussion started by: kashifsd17
6 Replies
8. Linux
When installing Linux, I choose some default setting to use all the disk space.
My server has a single internal 250Gb SCSI disk. By default the install appears to have created 3 logical volumes
lv_root, lv_home and lv_swap.
fdisk -l shows the following
lab3.nms:/dev>fdisk -l
Disk... (2 Replies)
Discussion started by: jimthompson
2 Replies
9. AIX
Hello Folks,
I have got this message:
When I contacted support, they said this is logical filesystem error and it has to do with the filesystem. How can I find out ? (1 Reply)
Discussion started by: filosophizer
1 Replies
10. UNIX for Advanced & Expert Users
Currently I am using this laborious command
lvdisplay | awk '/LV Path/ {p=$3} /LV Name/ {n=$3} /VG Name/ {v=$3} /Block device/ {d=$3; sub(".*:", "/dev/dm-", d); printf "%s\t%s\t%s\n", p, "/dev/mapper/"v"-"n, d}'
Would like to know if there is any shorter method to get this mapping of... (2 Replies)
Discussion started by: royalibrahim
2 Replies
LEARN ABOUT REDHAT
xsetdevicebuttonmapping
XSetDeviceButtonMapping(3X11) X FUNCTIONS XSetDeviceButtonMapping(3X11)
NAME
XSetDeviceButtonMapping, XGetDeviceButtonMapping - query or change device button mappings
SYNTAX
int XSetDeviceButtonMapping(display, device, map, nmap)
Display *display;
XDevice *device;
unsigned char map[];
int nmap;
int XGetDeviceButtonMapping(display, device, map_return, nmap)
Display *display;
XDevice *device;
unsigned char map_return[];
int nmap;
ARGUMENTS
display Specifies the connection to the X server.
device Specifies the device whose button mapping is to be queried or changed.
map Specifies the mapping list.
map_return Returns the mapping list.
nmap Specifies the number of items in the mapping list.
DESCRIPTION
The XSetDeviceButtonMapping request sets the mapping of the specified device. If it succeeds, the X server generates a DeviceMappingNotify
event, and XSetDeviceButtonMapping returns MappingSuccess. Element map[i] defines the logical button number for the physical button i+1.
The length of the list must be the same as XGetDeviceButtonMapping would return, or a BadValue error results. A zero element disables a
button, and elements are not restricted in value by the number of physical buttons. However, no two elements can have the same nonzero
value, or a BadValue error results. If any of the buttons to be altered are logically in the down state, XSetDeviceButtonMapping returns
MappingBusy, and the mapping is not changed.
XSetDeviceButtonMapping can generate BadDevice, BadMatch, and BadValue errors.
The XGetDeviceButtonMapping request returns the current mapping of the specified device. Buttons are numbered starting from one. XGetDe-
viceButtonMapping returns the number of physical buttons actually on the device. The nominal mapping for a device is map[i]=i+1. The nmap
argument specifies the length of the array where the device mapping is returned, and only the first nmap elements are returned in
map_return.
XGetDeviceButtonMapping can generate BadDevice or BadMatch errors.
DIAGNOSTICS
BadDevice An invalid device was specified. The specified device does not exist or has not been opened by this client via XOpenInputDe-
vice. This error may also occur if the specified device is the X keyboard or X pointer device.
BadMatch This error may occur if an XGetDeviceButtonMapping or XSetDeviceButtonMapping request was made specifying a device that has no
buttons.
BadValue Some numeric value falls outside the range of values accepted by the request. Unless a specific range is specified for an
argument, the full range defined by the argument's type is accepted. Any argument defined as a set of alternatives can gener-
ate this error.
SEE ALSO
XChangeDeviceKeyboardControl(3X),
XChangeDeviceKeyMapping(3X)
XChangeDeviceModifierMapping(3X)
Programming With Xlib
X Version 11 Release 6.6 XSetDeviceButtonMapping(3X11)