From owner-freebsd-bugs Fri Jul 5 3:50:15 2002 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 2398137B401 for ; Fri, 5 Jul 2002 03:50:10 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B354343E5E for ; Fri, 5 Jul 2002 03:50:09 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g65Ao9JU086160 for ; Fri, 5 Jul 2002 03:50:09 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g65Ao9OR086159; Fri, 5 Jul 2002 03:50:09 -0700 (PDT) Date: Fri, 5 Jul 2002 03:50:09 -0700 (PDT) Message-Id: <200207051050.g65Ao9OR086159@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Igor Sobrado Subject: Re: bin/40219: [apm] apm breaks removable media Reply-To: Igor Sobrado Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/40219; it has been noted by GNATS. From: Igor Sobrado To: Simon 'corecode' Schubert Cc: freebsd-gnats-submit@FreeBSD.ORG Subject: Re: bin/40219: [apm] apm breaks removable media Date: Fri, 05 Jul 2002 12:42:24 +0200 > On Fri, 5 Jul 2002 01:57:07 -0700 (PDT) Igor Sobrado wrote: > > When a laptop goes into suspend/standby/hibernate and returns to > > the normal state removable media seems umounted (for example it > > is possible to remove a cdrom from the drive) but mounting > > points are not cleared. > > >Fix: > > Umounting the removable media BEFORE going into > > suspend/standby/hibernate state is a fix for the problem. > > Perhaps those filesystems can be umounted before shutting down > > the computer (umounting the "noauto" devices before turning on > > the laptop???) > > don't you think locking these devices would be more intuitive and easy > to implement? Sure! It is a very good point! It will be, at least, more intuitive (after all... why should a mounted filesystem disappear when the computer goes into suspend mode???). I did that proposal because umounting those filesystems marked as "noauto" in /etc/fstab seems easier to implement. But locking these devices seems the right answer to the problem. Obviously, I do not know a lot about FreeBSD. If it is possible to lock those devices, great! It is the right answer. I supposed that there was a problem locking those devices. Cheers! Igor. -- Igor Sobrado, UK34436 - sobrado@acm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message