similar to: [PATCH] strncat appends not enough, doesnt terminate correctly

Displaying 20 results from an estimated 2000 matches similar to: "[PATCH] strncat appends not enough, doesnt terminate correctly"

2004 Sep 17
1
latest klibc for udev
This patch make it possible to run udev with the latest klibc. One patch for the udev/Makefile to match the moved include/ dir. Another one for klibc's string fuctions, that are causing segfaults: strncpy.c: the while() gets n == -1 and memset() dies strncat.c: cat's only strlen(dest) count of chars from src to dest Thanks, Kay -------------- next part -------------- ===== Makefile
2011 Feb 01
1
Setting up persistent LUNs
Hello everyone, I am trying to setup persistent LUNs and having problems. I've been following instructions I found on the web and they refer to editing /etc/scsi_id.config file and adding options=-g line there. After doing so, I should be able to run scsi_id -g -s /dev/sd* and get proper results. I've modified file /etc/scsi_id.config appropriately: [root at psrwjmsafs1 etc]# grep
2012 Mar 13
1
udev works ok in CentOS 6.x??
Hi all, I have strange problem with my persistent names applied to iscsi disks. I have configured an udev rule to assign static iscsi disk names: KERNEL=="sd[a-z]", SUBSYSTEM=="block", PROGRAM="/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name", RESULT=="1iTGTDSK9a2c73ce654d0ca6", NAME="iscsi/sda"
2006 Apr 13
1
device-mapper multipath
I am attempting to get multipath working with device-mapper (CentOS 4.2 and 4.3). It works on EVERY install of mine from RH (also v4.2, 4.3), but the same multipath.conf imported to all my installs of CentOS do not work. Note that I have tested a working 4.2 configuration file from RH on CentOS 4.2 and a working 4.3 configuration (it changed slightly) on CentOS 4.3. Neither worked. Our production
2011 Jan 27
3
Static assignment of SCSI device names?
Hello list members, In CentOS-5.5 I'm trying to achieve static assignment of SCSI device names for a bunch of RAID-60 drives on a Supermicro motherboard. The "scsi_id" command identifies all drives ok. The board has one SATA controller and three SAS/SATA controllers ... standard on-board ICH-10 ATA channels, an on-board LSI SAS/SATA controller, and two add-on SAS/SATA
2007 Jul 10
1
udev - by-id
Hi, I am trying to set up a CentOS 4 machine with various iSCSI mounts for Oracle, but devices keep on moving around, causing the mounts to fail while called by the sd[a-f] names. We thought about using labels, but, as some of the partitions do not use EXT3, that was discarded, so we thought about using udev and by-id. The problem is that udev does not seem to create the by-id folder or any
2011 Sep 08
1
HBA port
Hi, I have a host which is connected to SAN via single Fibre channel HBA (qlogic). I have several LUNS assigned to this (sdc, sdd). I added another single port HBA to this host. I can now see two world wide names. Now the confusion is which world wide name does sdc and sdd is/was using. scsi_id -g -u -s /block/sdc only gives wwid but I need the wwn for sdc and sdd. Thanks Paras.
2009 Sep 17
1
multipath using defaults rather than multipath.conf contents for some devices (?) - why ?
hi all We have a rh linux server connected to two HP SAN controllers, one an HSV200 (on the way out), the other an HSV400 (on the way in). (Via a Qlogic HBA). /etc/multipath.conf contains this : device { vendor "(COMPAQ|HP)" product "HSV1[01]1|HSV2[01]0|HSV300|HSV4[05]0" getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
2003 Nov 24
1
ia64 mis-merge
Peter, There was a mis-merge in the ia64 patch you put into 0.83. Olaf Hering pointed it out. The patch is attached. Olaf claims that he is still unable to compile for ia64 with is toolchain. He's getting the following error: <olh> libc.so(.got+0x0): multiple definition of `_GLOBAL_OFFSET_TABLE_' <olh> tests/getenvtest.o(.got.plt+0x0): first defined here <olh>
2009 Jun 10
0
KDE and mounting CD's / DVD's without noexec
Hi e, I am normally use gnome and would do the following to make my CD / DVD mount with exec gnome-mount --write-settings --device /dev/sdc0 -o exec What is the equivalent in KDE ? My initial research suggests that I actually have to write a custom udev rule to achieve this. This has led me as far as running udevinfo -q path -n /dev/scd0 udevtest /block/sr0 (the output is below) My
2009 Jun 15
0
scsi_id doesn't returns any result
Hi all, I need to assign persistent names to some scsi disks on one host (CentOS 5.3 fully patched), but I can't because scsi_id doesn't returns any results. For example: [root at c5srv01 etc]# scsi_id -u -g -s /block/sda [root at c5srv01 etc]# scsi_id -u -g -s /block/sdb [root at c5srv01 etc]# scsi_id -u -g -s /block/sdc [root at c5srv01 etc]# scsi_id -u -g -s /block/sdd Somebody
2011 Jan 30
5
RHEL-6 vs. CentOS-5.5 (was: Static assignment of SCSI device names?)
Hello list members, My adventure into udev rules has taken an interesting turn. I did discover a stupid error in the way I was attempting to assign static disk device names on CentOS-5.5, so that's out of the way. But in the process of exploring, I installed a trial copy of RHEL-6 on the new machine to see if anything had changed (since I intend this box to run CentOS-6 anyway). Lots
2009 Sep 26
10
Adding handling for Multipath storage devices
The following patches introduce support for multipath and cciss devices to the ovirt-node and node-image. Comments are appreciated. These patches assume that the 3 patches (2 node, 1 node-image) from Joey are all incorporated. Mike
2009 Oct 01
1
Repost of Patch 6/6 for ovirt-node
All other patches from the sequence remain unchanged. Repost of patch 6 based on comments from Joey to follow. Mike
2007 Nov 13
0
Persistent iSCSI Device Names on CentOS 4
I found a lot of stuff about this on the web, but never an answer that worked. One of the most promising hints was about udev maintaining links in the /dev/disk/by-* directories. This works just fine in CentOS 5, but not CentOS 4. As I was trying to use the iSCSI devices as VMware disks this was particularly frustrating. After banging my head on this for a while, I figured out how to make
2004 Jul 19
1
klibc linked tools developpement env
Hello, I maintain the multipath tools, some of which are intended to be packed into early userspace. I had to drop a klibc tree into the tools archive for that, like GregKH does for udev. I don't like it, because tarballs are bigger than they should be and it brings more maintenance. Recently, scsi_id became a required multipath dependency. scsi_id is currently build with glibc and I need a
2019 Feb 08
1
persistent generic device for tape changer
> Am 08.02.2019 um 00:13 schrieb Ron Loftin <reloftin at twcny.rr.com>: > > On Thu, 2019-02-07 at 22:29 +0100, Helmut Drodofsky wrote: >> Hello Ron, >> >> sounds good. I have 2 tape changer. I persume, udev creates the same >> link for both. >> >> Can I modify >> SYMLINK+="changer-$env{ID_SERIAL}" >> >> The serial
2012 Aug 31
1
[PATCH V1] NEW API:ext:mke2fs
New api mke2fs for full configuration of filesystem. Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com> --- daemon/ext2.c | 452 +++++++++++++++++++++++++++++++++++++++++ generator/generator_actions.ml | 18 ++ gobject/Makefile.inc | 6 +- src/MAX_PROC_NR | 2 +- 4 files changed, 475 insertions(+), 3 deletions(-) diff --git
2014 Sep 15
1
[PATCH v2 1/3] virtio-rng cleanup: move some code out of mutex protection
On Tue, 16 Sep 2014 00:02:27 +0800 Amos Kong <akong at redhat.com> wrote: > It doesn't save too much cpu time as expected, just a cleanup. > > Signed-off-by: Amos Kong <akong at redhat.com> > --- > drivers/char/hw_random/core.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/char/hw_random/core.c
2014 Sep 15
1
[PATCH v2 1/3] virtio-rng cleanup: move some code out of mutex protection
On Tue, 16 Sep 2014 00:02:27 +0800 Amos Kong <akong at redhat.com> wrote: > It doesn't save too much cpu time as expected, just a cleanup. > > Signed-off-by: Amos Kong <akong at redhat.com> > --- > drivers/char/hw_random/core.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/char/hw_random/core.c