Re: partions on floppy
Adam writes: > (why I try to do this? I'm trying empirically verify if 'mkswap' will > check for partion type (ie is this '82') before mkswap-ing it. IMHO, it > shouldl ) No it doesn't, and how can it? There are lots of partitioning formats out there, so making "mkswap" read the PC BIOS partition sector to verify that it was a Linux swap partition would be brain dead, especially as you'd have to bloat mkswap with lots of extra code to go around reading all these different partition table formats. Note that floppy disks don't have partitions, and therefore if you create a partition on a floppy disk, Linux will ignore it. _ |_| - ---+---+- | | Russell King[EMAIL PROTECTED] --- --- | | | | http://www.arm.linux.org.uk/personal/aboutme.html / / | | +-+-+ --- -+- / | THE developer of ARM Linux |+| /|\ / | | | --- | +-+-+ - /\\\ | - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: partions on floppy
Adam writes: (why I try to do this? I'm trying empirically verify if 'mkswap' will check for partion type (ie is this '82') before mkswap-ing it. IMHO, it shouldl ) No it doesn't, and how can it? There are lots of partitioning formats out there, so making "mkswap" read the PC BIOS partition sector to verify that it was a Linux swap partition would be brain dead, especially as you'd have to bloat mkswap with lots of extra code to go around reading all these different partition table formats. Note that floppy disks don't have partitions, and therefore if you create a partition on a floppy disk, Linux will ignore it. _ |_| - ---+---+- | | Russell King[EMAIL PROTECTED] --- --- | | | | http://www.arm.linux.org.uk/personal/aboutme.html / / | | +-+-+ --- -+- / | THE developer of ARM Linux |+| /|\ / | | | --- | +-+-+ - /\\\ | - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
partions on floppy
Ok, I made a parition on floppy, now do I access it? Command (m for help): p Disk /dev/fd0: 2 heads, 18 sectors, 80 cylinders Units = cylinders of 36 * 512 bytes Device BootStart EndBlocks Id System /dev/fd0p1 180 1431 83 Linux I did mknod /dev/fd0p1 b 2 1 However, neither 'mkswap' nor 'mke2fs' seems to work on '/dev/fd0p1' (why I try to do this? I'm trying empirically verify if 'mkswap' will check for partion type (ie is this '82') before mkswap-ing it. IMHO, it shouldl ) -- Adam http://www.eax.com The Supreme Headquarters of the 32 bit registers - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
partions on floppy
Ok, I made a parition on floppy, now do I access it? Command (m for help): p Disk /dev/fd0: 2 heads, 18 sectors, 80 cylinders Units = cylinders of 36 * 512 bytes Device BootStart EndBlocks Id System /dev/fd0p1 180 1431 83 Linux I did mknod /dev/fd0p1 b 2 1 However, neither 'mkswap' nor 'mke2fs' seems to work on '/dev/fd0p1' (why I try to do this? I'm trying empirically verify if 'mkswap' will check for partion type (ie is this '82') before mkswap-ing it. IMHO, it shouldl ) -- Adam http://www.eax.com The Supreme Headquarters of the 32 bit registers - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/