From owner-freebsd-bugs@FreeBSD.ORG Fri May 27 20:50:02 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 84C8E16A41C for ; Fri, 27 May 2005 20:50:02 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BB7643D48 for ; Fri, 27 May 2005 20:50:02 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4RKo22K075116 for ; Fri, 27 May 2005 20:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4RKo28c075115; Fri, 27 May 2005 20:50:02 GMT (envelope-from gnats) Resent-Date: Fri, 27 May 2005 20:50:02 GMT Resent-Message-Id: <200505272050.j4RKo28c075115@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Drosos Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F060F16A41C for ; Fri, 27 May 2005 20:40:59 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD60343D1F for ; Fri, 27 May 2005 20:40:59 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j4RKexxu028801 for ; Fri, 27 May 2005 20:40:59 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j4RKexuI028800; Fri, 27 May 2005 20:40:59 GMT (envelope-from nobody) Message-Id: <200505272040.j4RKexuI028800@www.freebsd.org> Date: Fri, 27 May 2005 20:40:59 GMT From: Drosos To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: misc/81568: ext2fs partitions in fstab automatically mounted at boot fail to umount when reboot X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 May 2005 20:50:02 -0000 >Number: 81568 >Category: misc >Synopsis: ext2fs partitions in fstab automatically mounted at boot fail to umount when reboot >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri May 27 20:50:01 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Drosos >Release: 5.4 Release >Organization: UOI >Environment: FreeBSD toundra 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May 8 10:21:06 UTC 2005 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: I have Linux ext2 partitions which I decided to add in fstab such that they are automatically mounted at boot. Thus I added the following line: /dev/ad1s1 /common ext2fs rw,auto 0 0 in my original /etc/fstab: /dev/ad1s2b none swap sw 0 0 /dev/ad1s2a / ufs rw 1 1 /dev/ad1s2g /common ufs rw 2 2 /dev/ad1s2e /tmp ufs rw 2 2 /dev/ad1s2f /usr ufs rw 2 2 /dev/ad1s2d /var ufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 /dev/acd1 /cdrom1 cd9660 ro,noauto 0 0 As a result I was happy to see my ext2 partition mounted nicely at boot time. Unfortunately when I wanted to reboot typing #reboot or to turnoff my PC typing #shutdown -p now this partition couldn't be unmounted. This was not however the case with FreeBSD 4.11 and 4.10 Release. I had no such problems there! >How-To-Repeat: Just create an ext2 partition and mount it like above. Reboot such that it is automatically mounted and then reboot once again! >Fix: >Release-Note: >Audit-Trail: >Unformatted: