public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Bastien Nocera <hadess@hadess.net>
To: Giuliano Pochini <pochini@shiny.it>
Cc: Tomas Jura <tjura@binghamton.edu>,
	linuxppc-dev@lists.linuxppc.org, linux-kernel@vger.kernel.org
Subject: Re: I can eject a mounted CD
Date: 20 Apr 2001 18:41:15 +0100	[thread overview]
Message-ID: <987788475.856.1.camel@kara> (raw)
Message-ID: <kara.2760-0.987788475@kara.hadess.net> (raw)
In-Reply-To: <XFMail.010420094955.pochini@shiny.it>
In-Reply-To: <XFMail.010420094955.pochini@shiny.it>

On 20 Apr 2001 09:49:55 +0200, Giuliano Pochini wrote:
> 
> >> [Giu@Jay Giu]$ eject /mnt/cdmac/ umount: /dev/sr0 is not in the fstab (and
> >> you are not root) eject: unmount of `/dev/sr0' failed
> 
> Eject(1) is suid.

No, it's not on proper installations.
$  ls -l /usr/bin/eject 
 17k -rwxr-xr-x    1 root     root          16k Jan 29 01:14
/usr/bin/eject

You need to have write access to the device to eject it.
I guess you use something like /dev/cdrom as the device for the mount
point /mnt/cdmac, /dev/cdrom being a symlink to /dev/sr0.
Try 'eject /dev/cdrom' you'll probably have more luck.

<snip>

Cheers

-- 
/Bastien Nocera
http://hadess.net


      reply	other threads:[~2001-04-20 17:45 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
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 [this message]

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=987788475.856.1.camel@kara \
    --to=hadess@hadess.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@lists.linuxppc.org \
    --cc=pochini@shiny.it \
    --cc=tjura@binghamton.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