bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug#146820: hurd: MAKEDEV doesn't understand device:hdXsY syntax


From: Robert Millan
Subject: Bug#146820: hurd: MAKEDEV doesn't understand device:hdXsY syntax
Date: Mon, 13 May 2002 09:12:41 +0200

Package: hurd
Version: N/A; reported 2002-05-13
Severity: normal
Tags: patch

On Sun, May 12, 2002 at 03:24:47AM +0200, Marcus Brinkmann wrote:
> > native-install: `fsysopts / | perl -ne 
> > 'm!^/hurd/(.*?)\.static.*?([^\s]+)\s*?$!; print $2;'` returns device:hdXsY 
> > which MAKEDEV doesn't understand
>
> This is a bug in native-install.  It would be nice if someone could fix it
> to work with the old and the new syntax.

This should do it:

--- MAKEDEV.old Mon May 13 01:41:45 2002
+++ MAKEDEV     Mon May 13 01:45:48 2002
@@ -57,7 +57,7 @@
 }
 
 function st {
-  local NODE="$1"
+  local NODE="`echo $1 | sed 's%device\:%/dev/%g'`"
   local OWNER="$2"
   local PERM="$3"
   shift 3

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux aragorn 2.4.18 #1 Sat Apr 13 21:19:47 CEST 2002 i586
Locale: LANG=C, LC_CTYPE=





reply via email to

[Prev in Thread] Current Thread [Next in Thread]