Create and use partitions?
I hope this is not a FAQ: if so I apologise, but I haven't been able to discover anything. I'm interested in whether it's possible to create and use partitions on a disk which is accessed by pktseup. If I do: pktsetup goo /dev/sr0 then: fdisk /dev/pktcdvd/goo I can apparently create partitions: Command (m for help): p Disk /dev/pktcdvd/goo: 604 MB, 604700672 bytes 255 heads, 63 sectors/track, 18 cylinders Units = cylinders of 16065 * 2048 = 32901120 bytes Device Boot Start End Blocks Id System /dev/pktcdvd/goo1 1 10 321174 83 Linux /dev/pktcdvd/goo2 11 18 257040 83 Linux Is there any way to then actually see and use these? The devices goo1, goo2 don't actually exist, and creating them with mknod doesn't seem to help. -- Roger Whittaker Primary Support Engineer rwhittaker@novell.com 01344 326116 07802 357081 Novell, Inc. SUSE Linux Enterprise 10 Your Linux is ready www.novell.com/linux
No, you can't partition optical disks. Roger Whittaker wrote:
I hope this is not a FAQ: if so I apologise, but I haven't been able to discover anything.
I'm interested in whether it's possible to create and use partitions on a disk which is accessed by pktseup.
If I do: pktsetup goo /dev/sr0
then: fdisk /dev/pktcdvd/goo
I can apparently create partitions:
Command (m for help): p
Disk /dev/pktcdvd/goo: 604 MB, 604700672 bytes 255 heads, 63 sectors/track, 18 cylinders Units = cylinders of 16065 * 2048 = 32901120 bytes
Device Boot Start End Blocks Id System /dev/pktcdvd/goo1 1 10 321174 83 Linux /dev/pktcdvd/goo2 11 18 257040 83 Linux
Is there any way to then actually see and use these? The devices goo1, goo2 don't actually exist, and creating them with mknod doesn't seem to help.
On Wednesday 20 September 2006 16:41, Phillip Susi wrote:
No, you can't partition optical disks.
However, both fdisk and parted see and agree about the partition table that has been created. -- Roger Whittaker Primary Support Engineer rwhittaker@novell.com 01344 326116 07802 357081 Novell, Inc. SUSE Linux Enterprise 10 Your Linux is ready www.novell.com/linux
Phillip Susi wrote:
No, you can't partition optical disks.
Well strictly you can and if you look at a bootable solaris CD you will find it is in fact partitioned. Sadly I can't help in how you use it, my only experience (under linux) being mounting the iso files using the loop back module. -- M
On Wed, 2006-09-20 at 14:20 +0100, Roger Whittaker wrote:
I hope this is not a FAQ: if so I apologise, but I haven't been able to discover anything.
I'm interested in whether it's possible to create and use partitions on a disk which is accessed by pktseup.
If I do: pktsetup goo /dev/sr0
then: fdisk /dev/pktcdvd/goo
I can apparently create partitions:
Command (m for help): p
Disk /dev/pktcdvd/goo: 604 MB, 604700672 bytes 255 heads, 63 sectors/track, 18 cylinders Units = cylinders of 16065 * 2048 = 32901120 bytes
Device Boot Start End Blocks Id System /dev/pktcdvd/goo1 1 10 321174 83 Linux /dev/pktcdvd/goo2 11 18 257040 83 Linux
Is there any way to then actually see and use these? The devices goo1, goo2 don't actually exist, and creating them with mknod doesn't seem to help.
I don't know if the following will help or if it is what you need exactly, but i had tried to partition a file and the following document was of great help about mounting those partitions: http://www.clarkson.edu/projects/itl/honeypot/ddtutorial.txt I could mount and use the partitions contained in the file, but i have never tried to partition a rewritable medium.
El Miércoles, 20 de Septiembre de 2006 08:20, Roger Whittaker escribió:
I hope this is not a FAQ: if so I apologise, but I haven't been able to discover anything. I realize once there is a patch anywhere (google) that allow loopback devices to have partitions, if you can patch your kernel to do that, then may be you can losetup /dev/loopX /dev/sr0, but I never tried.
:) -- Gustavo Guillermo Pérez Compunauta uLinux www.compunauta.com
participants (5)
-
Gustavo Guillermo Pérez
-
martin
-
Phillip Susi
-
Raoul
-
Roger Whittaker