Re: 2.4 -> 2.6 change: mount with disk not in drive semantics changed to something silly
Peter Osterlund <[email protected]> Sat, 26 Feb 2005 08:24:11 +0100 (CET)
| Newsgroups | gmane.linux.suse.packet-writing |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 23 Feb 2005, Nix 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. ... > I imagine this is a bug. Yes, that's not supposed to happen. It works as expected on my computers though. I tested with an external USB drive on a computer running FC3 and kernel 2.6.11-rc4-bk8 and on another computer using an internal IDE drive (no ide-scsi emulation) running FC2 and kernel 2.6.10. I did this: 1. Boot computer. 2. Open CD drive. 3. Run "pktsetup cdrw /dev/scd0" 4. Insert UDF packet formatted disc, but did not close CD door. 5. Run "mount /dev/pktcdvd/cdrw /mnt/tmp". The door then closes and after a while the mount command succeeds. Are you doing something different? Do you have the same problem if you mount a CD read-only without using the packet writing driver? -- Peter Osterlund - [email protected] http://web.telia.com/~u89404340