I am trying to view multi. session of hda like cdrom.
root@localhost ~]# fdisk -l
Disk /dev/hda: 80.0 GB, 80060424192 bytes
255 heads, 63 sectors/track, 9733 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1305 10482381 c W95 FAT32 (LBA)
/dev/hda2 1306 2610 10482412+ 83 Linux
/dev/hda3 2611 9733 57215497+ 5 Extended
/dev/hda5 2611 2740 1044193+ 82 Linux swap / Solaris
/dev/hda6 * 2741 5350 20964793+ 83 Linux
/dev/hda7 5351 7960 20964793+ b W95 FAT32
/dev/hda8 7961 9733 14241591 b W95 FAT32
[root@localhost ~]# cdrecord -toc dev=/dev/hda6
Cdrecord-Clone 2.01-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to
http://bugzilla.redhat.com/bugzilla
Note: The author of cdrecord should not be bothered with problems in this version.
scsidev: '/dev/hda6'
devname: '/dev/hda6'
scsibus: -2 target: -2 lun: -2
Error trying to open /dev/hda6 exclusively ... retrying in 1 second.
Error trying to open /dev/hda6 exclusively ... retrying in 1 second.
Error trying to open /dev/hda6 exclusively ... retrying in 1 second.
[root@localhost ~]#
Am i wrong ?