RE: disable partitioning!

From: Jinu M. (jinum_at_esntechnologies.co.in)
Date: 03/09/04

  • Next message: Geert Uytterhoeven: "Re: [PATCH] UTF-8ifying the kernel source"
    Date:	Tue, 9 Mar 2004 17:43:38 +0530
    To: "Stefan Smietanowski" <stesmi@stesmi.com>
    
    

    Hello Stefan.

    > We are writing a block device driver for 2.4.x kernel.
    > I want to know how to indicate to the filesystem that our block driver does not support partitions.
    > I mean fdisk should not be allowed on disks supported by our block driver.

    You can run fdisk on a file if you want to, it doesn't care what type of
    block device it is. What you're really asking for is a way to make the
    kernel not read the partition table if it exists on the device and
    that's something else.

    So then how do I stop kernel from reading the partition table?

    -Jinu

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Geert Uytterhoeven: "Re: [PATCH] UTF-8ifying the kernel source"

    Relevant Pages

    • Re: disable partitioning!
      ... > I want to know how to indicate to the filesystem that our block driver does not support partitions. ... > I mean fdisk should not be allowed on disks supported by our block driver. ... That is also something that the filesystem doesn't handle. ...
      (Linux-Kernel)
    • Re: messed up partition table reinstalling windows 98
      ... I booted up her system using the 98 floppy, ran fdisk and deleted the ... Partition 1 as an Extended DOS partition 353 MB ... The Extended DOS Partition contains Logical DOS Drives ...
      (Ubuntu)
    • Re: Partition =?ISO-8859-1?Q?vergr=F6=DFern?=
      ... dem fdisk sehr wohl mit einer Partition und nicht mit einem ... Aufruf mit eine Partition. ... Der von einigen richtigerweise gemachte Einwand, fdisk könne nur auf der ganzen Platte arbeiten, scheinst Du ignorieren zu wollen. ...
      (de.comp.os.unix.linux.misc)
    • Re: fdisk: ERROR: failed to adjust; setting sysid to 0
      ... using fdisk to setup ... Should I ignore the warning re: "partition does not ... Figures below won't work with BIOS for partitions ... requirement that partition boundarys end on and begin ...
      (freebsd-questions)
    • Re: unregmp2.exe - Entry Point Not Found................
      ... running fdisk and deleting partitions will ensure you will ... drive out of the install machine, set it as a slave drive ... >delete the non-dos partition, create a primary dos ...
      (microsoft.public.windowsxp.general)