All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Heinz <thomasheinz@gmx.net>
To: linux-kernel@vger.kernel.org
Subject: SCSI DVD-RAM partitions
Date: Sat, 09 Jul 2005 14:32:47 +0200	[thread overview]
Message-ID: <42CFC3EF.2090804@gmx.net> (raw)

Hi

My SCSI DVD-RAM is available as /dev/sr1. fdisk -l /dev/sr1 shows
for a certain medium:

Note: sector size is 2048 (not 512)

Disk /dev/sr1: 2496 MB, 2496430080 bytes
255 heads, 63 sectors/track, 75 cylinders
Units = cylinders of 16065 * 2048 = 32901120 bytes

     Device Boot      Start         End      Blocks   Id  System
/dev/sr1p1   *           1          75     2409624    b  W95 FAT32


Note that /dev/sr1p1 does not exist. Neither does /dev/sdX.

Mounting /dev/sr1 does not work. However, I was able to mount the
partition with the following "trick":
# losetup -o 129024 /dev/loop0 /dev/sr1
# mount /dev/loop0 /mnt

Is it possible to make the DVD-RAM partitions available as device
nodes (or at least directly mountable without the losetup hack)?
One solution would be to make the device available as /dev/sdX and
/dev/srX. Is that possible?

Thanks for your help. If this is a known issue, I would appreciate
a pointer on that topic.


Here is some more information about my system:

Linux version 2.6.11-gentoo-r9 (root@localhost) (gcc version 
3.3.5-20050130 (Gentoo Hardened 3.3.5.20050130-r1, ssp-3.3.5.20050130-1, 
pie-8.7.7.1))

Host: scsi0 Channel: 00 Id: 04 Lun: 00
   Vendor: MATSHITA Model: PD-2 LF-D100     Rev: A113
   Type:   CD-ROM                           ANSI SCSI revision: 02


Regards,

Thomas

             reply	other threads:[~2005-07-09 12:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-09 12:32 Thomas Heinz [this message]
2005-07-12  2:37 ` SCSI DVD-RAM partitions Christoph Hellwig
2005-07-12  8:23   ` Thomas Heinz
2005-07-31 14:01     ` Christoph Hellwig
2005-08-05 17:02       ` Thomas Heinz

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=42CFC3EF.2090804@gmx.net \
    --to=thomasheinz@gmx.net \
    --cc=linux-kernel@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.