[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <19088.30487.498496.389348@pilspetsen.it.uu.se>
Date: Sun, 23 Aug 2009 00:54:15 +0200
From: Mikael Pettersson <mikpe@...uu.se>
To: Mikael Pettersson <mikpe@...uu.se>
Cc: Alan Cox <alan@...rguk.ukuu.org.uk>, linux-kernel@...r.kernel.org,
Andries Brouwer <aeb@....nl>
Subject: Re: completely hide parts of the partition table from Windows?
Mikael Pettersson writes:
> Alan Cox writes:
> > > Any recommendations? If no existing partition table format is suitable
> > > for my use case then I'm perfectly willing to invent a simple new format
> > > and add the corresponding parser to the kernel.
> >
> > Or if its not the boot partition can you not just tell device mapper about
> > it and create a device mapper device of the offset ?
>
> I have no experience with the device mapper, but I'll give it a
> try and see how it works out. Thanks for the suggestion.
Doesn't work. I have unpartitioned space at the end of /dev/sda,
but attempting to dmsetup create test --table '0 N linear /dev/sda M'
fails in dm-table:__table_get_device() with -EBUSY. It does seem to
work if the disk in question has no mounted partitions, but that
won't be the case when the disk is in my laptop.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists