Date: Thu, 11 Oct 2001 18:33:15 -0700 (PDT) From: Pavel Antonov <holly@irk.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: bin/31228: vnconfig -ae configures but not mount devices specified in /etc/vntab. Message-ID: <200110120133.f9C1XFt73739@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 31228 >Category: bin >Synopsis: vnconfig -ae configures but not mount devices specified in /etc/vntab. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Oct 11 18:40:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Pavel Antonov >Release: 4.4 >Organization: DSI >Environment: FreeBSD lilo.icc.ru 4.4-RC FreeBSD 4.4-RC #0: Sun Oct 7 09:56:38 IRKST 2001 holly@lilo.icc.ru:/usr/src/sys/compile/LILO i386 >Description: lilo# more /etc/vntab /dev/vn0c /disk/vservers/195.206.40.165/vn0.195.206.40.165 mount=/disk/vservers/195.206.40.165/mp lilo# vnconfig -ae vnconfig: mount: Device busy lilo# /dev/vn0c now configured, if i mount manual all ok ... >How-To-Repeat: >Fix: lilo# diff -u vnconfig.c.orig vnconfig.c --- vnconfig.c.orig Thu Oct 11 19:42:06 2001 +++ vnconfig.c Fri Oct 12 10:29:34 2001 @@ -436,6 +436,7 @@ printf("%s: flags now=%08lx\n",dev,l); } + fclose(f); /* * Enable special functions on the device */ @@ -461,7 +462,6 @@ } } /* done: */ - fclose(f); fflush(stdout); return(rv < 0); } lilo# >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110120133.f9C1XFt73739>