search for: makedev

Displaying 20 results from an estimated 274 matches for "makedev".

1997 Apr 24
1
/dev/random and MAKEDEV-C-1.6
[Note: this has already been sent to comp.os.linux.announce.] -----BEGIN PGP SIGNED MESSAGE----- It has come to my attention that the recent 1.6 release of MAKEDEV-C inadvertently created /dev/random and /dev/urandom with the wrong permissions. /dev/random and /dev/urandom should look like this: crw-r--r-- 1 root system 1, 8 Feb 21 14:42 /dev/random crw-r--r-- 1 root system 1, 9 Feb 21 14:42 /dev/urandom If they do not, please do &q...
2018 Jan 15
0
Rsync 3.1.3pre1 released
...rk because rsync is widely used on our platform and picking up the latest CVE is pretty important to us. I was hoping to contribute the port, but without a valid build/test... well, you know. The set compile errors (after removing the catastrophically missing sys/file.h) are mostly device related (makedev, major, minor) that sets a dependency to Linux only. The others, relating to time, can be fixed for the platform, but I'm just reporting them. cc -c99 -I. -I. -I./zlib -I./popt -g -DHAVE_CONFIG_H -c flist.c -o flist.o if ((uint32)major(rdev) == rdev_major)...
2018 Jan 15
1
[Bug 13224] New: New file handling causes compile issues for NonStop port.
...nStop NSX and NSE hardware, L-series and J-series operating systems, respectively, the following compiler errors have been introduced since 3.1.2. The sys/file.h components are not available on this platform, nor is there a suitable replacement. The time-related items can be handled by my team, but makedev, major, and minor, functions/defines, are not available on this platform. cc -c99 -I. -I. -I./zlib -I./popt -g -DHAVE_CONFIG_H -c flist.c -o flist.o if ((uint32)major(rdev) == rdev_major) ^ "/home/git/rsync/flist.c", line 436:...
2006 May 26
1
DO NOT REPLY [Bug 3806] New: makedev has 3 arguments in qnx
https://bugzilla.samba.org/show_bug.cgi?id=3806 Summary: makedev has 3 arguments in qnx Product: rsync Version: 2.6.8 Platform: Other OS/Version: Other Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: cooke@sun.ac.za...
2008 Oct 28
1
The relationship between udev and MAKEDEV
...ch on the web suggested that modifying the default rules was a bad idea and that you should in fact override them with your own custom rules. So I tried setting up a custom rule, this failed. I then tried modifying the default rule this also failed. A helpful response from here pointed me to MAKEDEV and I was able to change /etc/makedev.d/01linux-2.6.x to do what I wanted. But this has raised a couple of questions for me. 1. If udev doesn't directly control the creation of this device why is there a udev rule for it? 2. Is modifying /etc/makedev.d/01linux-2.6.x likely to cause me iss...
2018 Jan 15
4
Rsync 3.1.3pre1 released
I have made rsync 3.1.3pre1 available for testing. This release has a couple security fixes, a few new features, and a smattering of bug fixes. Please test this new release and send email to the rsync mailing list with any questions, comments, or bug reports. To see a summary of the changes since 3.1.2, visit this link: http://rsync.samba.org/ftp/rsync/src-previews/rsync-3.1.3pre1-NEWS You
2018 Jan 15
4
Rsync 3.1.3pre1 released
I have made rsync 3.1.3pre1 available for testing. This release has a couple security fixes, a few new features, and a smattering of bug fixes. Please test this new release and send email to the rsync mailing list with any questions, comments, or bug reports. To see a summary of the changes since 3.1.2, visit this link: http://rsync.samba.org/ftp/rsync/src-previews/rsync-3.1.3pre1-NEWS You
2003 Jun 26
2
Is there something sppecial about pass4 ?
...-l /dev/pass* crw------- 1 root operator 31, 0 Jun 26 15:54 /dev/pass0 crw------- 1 root operator 31, 1 Jun 26 15:54 /dev/pass1 crw------- 1 root operator 31, 2 Jun 26 15:54 /dev/pass2 crw------- 1 root operator 31, 3 Jun 26 15:54 /dev/pass3 No pass4. I cant make pass4 with MAKEDEV either - plus I note that in the MAKEDEV scrip then 'all' explicitly does 'sh MAKEDEV pass4 xpt2' using mknod by hand seems to work - but I cant see why MAKEDEV wont do it. -pcf.
2003 Jul 09
3
[SAGE] FreeBSD 4.4-REL to FreeBSD 4.8-STABLE upgrade problem.
...servers. However, now I just want to beat this problem. :) At 02:19 PM 7/8/2003 +0000, Phil Pennock wrote: >On 2003-07-08 at 14:09 +0000, Phil Pennock wrote: > > There was a fairly major update to the IDE disk device handlers which > > required new device nodes. Bringing in the new MAKEDEV script and > > running that to create the disk devices will probably let you boot on > > the new kernel and try to repair things from there. > >Okay, I'll go get more coffee after sending this. You noticed this one. >Sorry. > >There are two mergemaster steps, one whi...
2004 Oct 08
0
[Bug 1893] New: Interix fails build due to makedev() as wrong macro name
https://bugzilla.samba.org/show_bug.cgi?id=1893 Summary: Interix fails build due to makedev() as wrong macro name Product: rsync Version: 2.6.3 Platform: All OS/Version: other Status: NEW Severity: trivial Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: tv@duh.org...
2005 Oct 19
3
device problem
Does anyone know the problem with missing device nodes (like /dev/hda1) in domU? Must the device nodes used in domU exist in the dom0? What i have to do, when some device nodes are missing in domU? Stephan _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
2006 Apr 16
2
e2fsck dies with signal 11
Hi I got a strange error, happening on two of my ext3 partitions. What can be wrong? And why does e2fsck error out, instead of displaying an error message? Best regards keld fsck /dev/hda6 fsck 1.38 (30-Jun-2005) e2fsck 1.38 (30-Jun-2005) Warning... fsck.ext3 for device /dev/hda6 exited with signal 11. also From my dmesg: <1>general protection fault: e7a8 [#3] Modules linked in:
2017 Mar 03
0
Re: [PATCH libguestfs] Use AC_HEADER_MAJOR to find definitions of major, minor, makedev.
On Wednesday, 1 March 2017 13:20:02 CET Richard W.M. Jones wrote: > Note this requires either the following fix in autoconf: > > http://git.savannah.gnu.org/cgit/autoconf.git/commit/?id=e17a30e98 > > OR gnulib sys_types module plus gnulib > commit a512e041120e9012e69afa2f5c3adc196ec4999a (any gnulib more > recent than Sep 2016) which corrects the AC_HEADER_MAJOR macro in a
2004 Oct 08
0
[Bug 1893] Interix fails build due to makedev() as wrong macro name
https://bugzilla.samba.org/show_bug.cgi?id=1893 wayned@samba.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From wayned@samba.org 2004-10-08 14:51
2017 Mar 01
2
[PATCH libguestfs] Use AC_HEADER_MAJOR to find definitions of major, minor, makedev.
...FUSE /* See <attr/xattr.h> */ diff --git a/m4/guestfs_libraries.m4 b/m4/guestfs_libraries.m4 index 0882d27..c265b29 100644 --- a/m4/guestfs_libraries.m4 +++ b/m4/guestfs_libraries.m4 @@ -82,6 +82,9 @@ AC_CHECK_FUNCS([\ statvfs \ sync]) +dnl Which header file defines major, minor, makedev. +AC_HEADER_MAJOR + dnl Check for UNIX_PATH_MAX, creating a custom one if not available. AC_MSG_CHECKING([for UNIX_PATH_MAX]) AC_COMPILE_IFELSE([ diff --git a/mllib/unix_utils-c.c b/mllib/unix_utils-c.c index 1a4c3d7..f5aaaf6 100644 --- a/mllib/unix_utils-c.c +++ b/mllib/unix_utils-c.c @@ -27,9...
2011 Sep 18
1
Having trouble starting more than 8 Xen guests
...6_64 GNU/Linux To be clear, I can shutdown any one of the 8 VMs and then run the ninth "xm create" - that VM will start... I did some google'ing and from what I cn tell that error arises due to the lack of loop back devices (there being 8 by default)... I've tried both using MAKEDEV (in my /etc/rc.local) to create a number of loop back devices and put max_loops in my grub,.conf file. For example here is what I have in grub.conf now: title CentOS (2.6.18-274.3.1.el5.centos.plusxen) root (hd0,0) kernel /xen.gz-2.6.18-274.3.1.el5.centos.plus module...
2017 Mar 01
3
[PATCH supermin 0/2] Use AC_HEADER_MAJOR to find definitions of major, minor, makedev.
Quite a complex fix in the end, see the comment in the second commit. Rich.
2006 May 23
1
Unpacking of archive failed??
...nimal Centos 4.2 installation. When I ran "yum update" it went on updating some tenths of packages and signalled this error: Updating : perl ####################### [24/88] Updating : rpm-python ####################### [25/88] Updating : MAKEDEV ####################### [26/88] error: unpacking of archive failed on file /dev/MAKEDEV: cpio: rename Updating : iputils ####################### [27/88] Updating : ruby ####################### [28/88] What does this exactly me...
2012 May 24
1
[klibc:master] sys/sysmacros.h: match glibc and define non-__ macros
...r/include/sys/sysmacros.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/usr/include/sys/sysmacros.h b/usr/include/sys/sysmacros.h index c344339..4f0b12a 100644 --- a/usr/include/sys/sysmacros.h +++ b/usr/include/sys/sysmacros.h @@ -31,4 +31,8 @@ static __inline__ dev_t makedev(int __ma, int __mi) return __makedev(__ma, __mi); } +#define major(d) __major(d) +#define minor(d) __minor(d) +#define makedev(ma,mi) __makedev(ma,mi) + #endif /* _SYS_SYSMACROS_H */
2010 Jul 19
1
Oplocks
...oplocked. Why? Is this a bug? Why it does not happen always but only sometimes? I have strace logs showing: Wrong case: 8711 14:57:50.765677 open("Y_odloz/D8/D8_03_Ivet_98/06aa6459-a011-40f8-bfb1-25d15e7ada61", O_RDWR|O_CREAT|O_EXCL, 0744) = 121 8711 14:57:50.766030 fstat(121, {st_dev=makedev(0, 23), st_ino=3079419, st_mode=S_IFREG|0744, st_nlink=1, st_uid=40022, st_gid=400, st_blksize=262144, st_blocks=0, st_size=0, st_atime=2010/07/13-14:57:50, st_mtime=2010/07/13-14:57:50, st_ctime=2010/07/13-14:57:50}) = 0 8711 14:57:50.766129 fcntl(12, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, sta...