| Summary: | vnconfig -ae configures but not mount devices specified in /etc/vntab. | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Pavel Antonov <holly> |
| Component: | bin | Assignee: | dwmalone |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Unspecified | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: freebsd-bugs->dwmalone I'll have a look at this. State Changed From-To: open->closed Commited to -STABLE (revision 1.13.2.6 of vnconfig.c). |
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 ... Fix: lilo# diff -u vnconfig.c.orig vnconfig.c + fclose(f); /* * Enable special functions on the device */ @@ -461,7 +462,6 @@ } } /* done: */ - fclose(f); fflush(stdout); return(rv < 0); } lilo#--R6qhGQTptLXMTyGNOyZ7iF616gYu4v3qTjKBLTv9phXP7dHV Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- 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); }