On Tue, Oct 20, 2015 at 07:12:36PM +0200, Joachim Backes wrote:
> On 20.10.2015 17:41, Richard Ryniker wrote:
> >I suspect you suffer from software that wants to help you and "Do the
> >right thing."
> >
>
> Exactly. When mounting HD's, *one* mount command is enough for
> achieving this, but for r
On Tue, Oct 20, 2015 at 4:53 AM, Joachim Backes <
joachim.bac...@rhrk.uni-kl.de> wrote:
> 2. sudo mount /dev/sr0 /mnt
> then the CD will be inserted, but immeditaly after it inserted, an error
> message appears:
> mount: no medium found on /dev/sr0
>
https://github.com/torvalds/linux/blob/master/
>> I do not like to sacrifice well-defined, predictable behavior for
>> convenience
>
>Convenience is what users need!
>
>> but others may argue this default behavior serves the
>> greater good.
>
>What is the *greater good*?
I think the perceived "good" is that users can load a disk and have a
us
On 20.10.2015 17:41, Richard Ryniker wrote:
I suspect you suffer from software that wants to help you and "Do the
right thing."
Exactly. When mounting HD's, *one* mount command is enough for achieving
this, but for removable optical media (like CD's), I need at least 2
commands, if the media
I suspect you suffer from software that wants to help you and "Do the
right thing."
If you try to mount a device with no media, mount might simply fail (no
media present). Instead, at least for optical drives, it presumes the
desired media might be available in the tray and requests the device to
On 20.10.2015 14:30, Ed Greshko wrote:
On 10/20/2015 08:21 PM, Joachim Backes wrote:
Then how to check in a bash script when a CD is really mounted?
Check the return code of the mount command?
[root@meimei ~]# mount /dev/sr0 /mnt
mount: no medium found on /dev/sr0
[root@meimei ~]# echo $?
32
On 10/20/2015 08:21 PM, Joachim Backes wrote:
> Then how to check in a bash script when a CD is really mounted?
Check the return code of the mount command?
[root@meimei ~]# mount /dev/sr0 /mnt
mount: no medium found on /dev/sr0
[root@meimei ~]# echo $?
32
[root@meimei ~]# mount /dev/sr0 /mnt
mou
On 20.10.2015 14:06, Ed Greshko wrote:
On 10/20/2015 07:53 PM, Joachim Backes wrote:
Anybody has seen this in F23:
1. eject CD (/dev/sr0)
2. sudo mount /dev/sr0 /mnt
then the CD will be inserted, but immeditaly after it inserted, an error
message appears:
mount: no medium found on /dev/sr0
On 10/20/2015 07:53 PM, Joachim Backes wrote:
> Anybody has seen this in F23:
>
> 1. eject CD (/dev/sr0)
> 2. sudo mount /dev/sr0 /mnt
>
> then the CD will be inserted, but immeditaly after it inserted, an error
> message appears:
>
> mount: no medium found on /dev/sr0
>
> A kernel problem?
>
> Ki
Anybody has seen this in F23:
1. eject CD (/dev/sr0)
2. sudo mount /dev/sr0 /mnt
then the CD will be inserted, but immeditaly after it inserted, an error
message appears:
mount: no medium found on /dev/sr0
A kernel problem?
Kind regards
Joachim Backes
--
Fedora release 23 (Twenty Three)
10 matches
Mail list logo