Re: disable partitioning!

From: Stefan Smietanowski (stesmi_at_stesmi.com)
Date: 03/09/04

  • Next message: Ingo Molnar: "Re: [lockup] Re: objrmap-core-1 (rmap removal for file mappings to avoid 4:4 in <=16G machines)"
    Date:	Tue, 09 Mar 2004 11:52:22 +0100
    To: "Jinu M." <jinum@esntechnologies.co.in>
    
    

    Hello Jinu.

    > 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.

    That is also something that the filesystem doesn't handle. Filesystems
    are systems that handle files (heh).

    // Stefan
    -
    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: Ingo Molnar: "Re: [lockup] Re: objrmap-core-1 (rmap removal for file mappings to avoid 4:4 in <=16G machines)"

    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. ... So then how do I stop kernel from reading the partition table? ...
      (Linux-Kernel)
    • Re: raid-one
      ... The potential failure mode is that you get the wrong device name for the fdisk or mke2fs steps. ... There's not much sense in trying to describe Linux device names for anything but hd? ... copy the files from the old filesystem to the new. ... Once it all works with the new disk, fdisk the old one to match if it didn't already and mdamd --add the mirror partitions. ...
      (Fedora)
    • Re: Storage Card doesnt always reload when ATADISK reloaded
      ... filesystem after the underlying block driver goes away. ... don't access the files until the block driver has reloaded). ... we don't support suspend/resume (our power down really does ... actually remove its store object until after the PnPUnloadDelay timeout ...
      (microsoft.public.windowsce.platbuilder)
    • Re: couldnt mount because of unsupported optional features (4000400)
      ... I can read the disk (both fdisk and dd are happy enough), ... The filesystem revision is apparently too high for this version of e2fsck. ... The superblock could not be read or does not describe a correct ext2 ...
      (Fedora)
    • Re: Size Problem
      ... But here is what I did with fdisk and mkfs.ext3 earlier today: ... You need to resize the filesystem to match the new partition size. ...
      (Ubuntu)