[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug#146820: hurd: MAKEDEV doesn't understand device:hdXsY syntax
From: |
Marcus Brinkmann |
Subject: |
Bug#146820: hurd: MAKEDEV doesn't understand device:hdXsY syntax |
Date: |
Mon, 13 May 2002 14:43:17 +0200 |
User-agent: |
Mutt/1.3.28i |
On Mon, May 13, 2002 at 09:12:41AM +0200, Robert Millan wrote:
> 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
This is wrong. You shouldn't edit MAKEDEV, but native-install.
Thanks,
Marcus
--
`Rhubarb is no Egyptian god.' Debian http://www.debian.org brinkmd@debian.org
Marcus Brinkmann GNU http://www.gnu.org marcus@gnu.org
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de