On Thu, 03 Jan 2008 11:02:40 -0500 Mike Bonnet <[EMAIL PROTECTED]> wrote:
> Shouldn't that be os.makedev(1, 7)? > > $ ls -la /dev/full > crw-rw-rw- 1 root root 1, 7 2007-12-29 17:34 /dev/full Good catch. I blindly copied from the /dev/null only looking at the permissions. -- Jesse Keating Fedora -- All my bits are free, are yours?
From 99cb911d9a4c5c9f80646347fcd4352f9deafbb0 Mon Sep 17 00:00:00 2001
From: Jesse Keating <[EMAIL PROTECTED]>
Date: Thu, 3 Jan 2008 11:52:54 -0500
Subject: [PATCH] use the right mkdev argument
---
py/mock/backend.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/py/mock/backend.py b/py/mock/backend.py
index a65267b..135a591 100644
--- a/py/mock/backend.py
+++ b/py/mock/backend.py
@@ -267,7 +267,7 @@ class Root(object):
prevMask = os.umask(0000)
devFiles = (
(stat.S_IFCHR | 0666, os.makedev(1, 3), "dev/null"),
- (stat.S_IFCHR | 0666, os.makedev(1, 3), "dev/full"),
+ (stat.S_IFCHR | 0666, os.makedev(1, 7), "dev/full"),
(stat.S_IFCHR | 0666, os.makedev(1, 5), "dev/zero"),
(stat.S_IFCHR | 0666, os.makedev(1, 8), "dev/random"),
(stat.S_IFCHR | 0444, os.makedev(1, 9), "dev/urandom"),
--
1.5.3.7
signature.asc
Description: PGP signature
-- Fedora-buildsys-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
