public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jeremy Jackson <jerj@coplanar.net>
To: Giuliano Pochini <pochini@shiny.it>
Cc: Tim Peeler <tim@iss.dccc.edu>, linux-kernel@vger.kernel.org
Subject: Re: I can eject a mounted CD
Date: Wed, 18 Apr 2001 09:24:48 -0400	[thread overview]
Message-ID: <3ADD959F.B5C90619@coplanar.net> (raw)
In-Reply-To: <XFMail.010418111741.pochini@shiny.it>

Giuliano Pochini wrote:

> >> >> That's not the point. The kernel should not allow someone to
> >> >> eject a mounted media.
> >> >
> >> > rpm -e magicdev
> >>
> >> Magicdev is not installed.
> >> Ok, I'm the only one with this problem, I'll manage to find the bug by myself.
> >
> > eject(1) line 36:
> >
> >    If the device is currently mounted, it is unmounted before
> >    ejecting.
>
> But it doesn't get unmounted. I eject the disk but I can still see
> and read the (cached) files !
>
> Bye.
>     Giuliano Pochini ->)|(<- Shiny Network {AS6665} ->)|(<-
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

hdparm has an option controlling door locking; try locking it manually
to see if the drive can even lock the door.  then try setting it
to match mounted/unmounted status of device;  maybe it defaults
to always unlocked for some reason.

hdparm -L 1 /dev/hdc

also try commenting out one of those fstab lines... may be confusing things.
it should work the way you have it - you say mount /mnt/fstype and
depending of fstype it picks the right line, but just for the sake of debugging
try loosing one temporarily.

Cheers


  reply	other threads:[~2001-04-18 13:25 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-13 22:12 I can eject a mounted CD Giuliano Pochini
     [not found] ` <3AD78C81.51D8ED35@lvcm.com>
2001-04-16 19:16   ` Giuliano Pochini
2001-04-17 20:50     ` Alan Cox
2001-04-18  7:25       ` Giuliano Pochini
2001-04-18  9:00         ` Tim Peeler
2001-04-18  9:17           ` Giuliano Pochini
2001-04-18 13:24             ` Jeremy Jackson [this message]
2001-04-18 12:23         ` Alan Cox
2001-04-18 12:25           ` Jens Axboe
2001-04-18 13:03           ` Giuliano Pochini
2001-04-18 13:06             ` Jens Axboe
2001-04-18 21:03               ` Guest section DW
2001-04-18 21:36                 ` Jens Axboe
2001-04-19  7:49                 ` Giuliano Pochini
2001-04-18  8:42     ` Anthony D. Saxton
2001-04-19 21:36 ` Tomas Jura
2001-04-20  7:49   ` Giuliano Pochini
     [not found]     ` <kara.2760-0.987788475@kara.hadess.net>
2001-04-20 17:41       ` Bastien Nocera

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3ADD959F.B5C90619@coplanar.net \
    --to=jerj@coplanar.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pochini@shiny.it \
    --cc=tim@iss.dccc.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox