public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* writable packet CD mounting in 2.6.26.x?
@ 2008-08-06 19:12 Nix
  2008-08-06 19:18 ` writable packet CD mounting and non-root formatting " Nix
  2008-08-08  3:14 ` writable packet CD mounting " Alexey Dobriyan
  0 siblings, 2 replies; 15+ messages in thread
From: Nix @ 2008-08-06 19:12 UTC (permalink / raw)
  To: linux-kernel

It seems to be impossible to mount packet-written CD-RWs writably in
2.6.26.x, even as root. Things worked in 2.6.25.x.

hades:/tmp# ls -l /dev/pktcdvd
total 0
brw-rw-rw- 1 root root  254,  0 2008-08-05 00:45 cdrw
crw-r--r-- 1 root root   10, 63 2008-08-05 00:44 control
brw-rw-rw- 1 root cdrom 254,  0 2008-08-05 00:45 pktcdvd0


hades:/tmp# mount -o rw /dev/pktcdvd/cdrw /mnt/pcdrw
mount: block device /dev/pktcdvd/cdrw is write-protected, mounting read-only

hades:/tmp# mount -o rw /dev/pktcdvd/pktcdvd0 /mnt/pcdrw
mount: block device /dev/pktcdvd/pktcdvd0 is write-protected, mounting read-only

The strace says that we get -EROFS always, now:

mount("/dev/pktcdvd/cdrw", "/mnt/pcdrw", "udf"..., MS_NOSUID|MS_NODEV|MS_NOEXEC|0x200000, NULL) = -1 EROFS (Read-only file system)


Anyone got any ideas? There are no suspicious-looking changes in
pktcdvd.c itself, so maybe this lies deeper in the block layer. Or
perhaps I'm mounting it wrong in some obscure way.

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2008-08-25 18:34 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-06 19:12 writable packet CD mounting in 2.6.26.x? Nix
2008-08-06 19:18 ` writable packet CD mounting and non-root formatting " Nix
2008-08-08  3:14 ` writable packet CD mounting " Alexey Dobriyan
2008-08-08  5:37   ` Alexey Dobriyan
2008-08-21 23:25     ` Nix
2008-08-23 21:48     ` Writable packet CD-RW mounting broken in 2.6.26 by your commit 68154e90c9d1492d570671ae181d9a8f8530da55 Nix
2008-08-24  5:48       ` FUJITA Tomonori
2008-08-24 17:33         ` Nix
2008-08-25  5:22           ` [PATCH 0/2] bio: blk_rq_map_* bounce support fixes FUJITA Tomonori
2008-08-25  5:22             ` [PATCH 1/2] bio: fix bio_copy_kern() handling of bio->bv_len FUJITA Tomonori
2008-08-25  5:22               ` [PATCH 2/2] bio: fix __bio_copy_iov() " FUJITA Tomonori
2008-08-25 18:34             ` [PATCH 0/2] bio: blk_rq_map_* bounce support fixes Jens Axboe
2008-08-25  5:32           ` Writable packet CD-RW mounting broken in 2.6.26 by your commit 68154e90c9d1492d570671ae181d9a8f8530da55 FUJITA Tomonori
2008-08-25 10:12             ` Nix
2008-08-09  9:24   ` pktcdvd: BKL pushdown fallout (was Re: writable packet CD mounting in 2.6.26.x?) Alexey Dobriyan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox