Mailinglist Archive: packet-writing (23 mails)

< Previous Next >
Re: 2.4 -> 2.6 change: mount with disk not in drive semantics changed to something silly
I agree with Nix that this should be considered a bug.
--John

On Wed, 23 Feb 2005 23:29:10 +0000
Nix <nix@xxxxxxxxxxxxx> wrote:

> In the Linux 2.4 packet-writing patches, if you tried mounting a
> packet-written CD when there was a disk in the drive but the drive was
> ejected, it pulled the drive in and mounted it.
>
> This is sane behaviour, I think.
>
> In 2.6, that's changed: the first time you try to mount, you get
>
> mount: /dev/pktcdvd/cdrw: can't read superblock
>
> and the *second* time it works.
>
>
> This, to put it mildly, inconsistent behaviour leads to insanity like
> the following kludge in my backup scripts:
>
> if ! mount /mnt/pcdrw 2>/dev/null && ! mount /mnt/pcdrw 2>/dev/null;
then
> ... check and format the CD-RW ...
> fi
>
>
> I imagine this is a bug.
>
> Right?
>
> --
> > ...Hires Root Beer...
> What we need these days is a stable, fast, anti-aliased root beer
> with dynamic shading. Not that you can let just anybody have root.
> --- John M. Ford
>
> --
> To unsubscribe, e-mail: packet-writing-unsubscribe@xxxxxxxx
> For additional commands, e-mail: packet-writing-help@xxxxxxxx

< Previous Next >
References