From: Mikael Pettersson <mikpe@it.uu.se>
To: Mikael Pettersson <mikpe@it.uu.se>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
linux-kernel@vger.kernel.org, Andries Brouwer <aeb@cwi.nl>
Subject: Re: completely hide parts of the partition table from Windows?
Date: Sun, 23 Aug 2009 00:54:15 +0200 [thread overview]
Message-ID: <19088.30487.498496.389348@pilspetsen.it.uu.se> (raw)
In-Reply-To: <19083.15853.600539.314231@pilspetsen.it.uu.se>
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.
next prev parent reply other threads:[~2009-08-22 22:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-18 21:22 Mikael Pettersson
2009-08-18 22:32 ` Alan Cox
2009-08-18 23:49 ` Mikael Pettersson
2009-08-22 22:54 ` Mikael Pettersson [this message]
2009-08-18 22:35 ` Andries E. Brouwer
2009-08-18 23:56 ` Mikael Pettersson
2009-08-22 22:59 ` Mikael Pettersson
2009-08-23 7:36 ` Andries E. Brouwer
2009-08-23 15:19 ` Mikael Pettersson
2009-08-18 22:39 ` Matthias Schniedermeyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=19088.30487.498496.389348@pilspetsen.it.uu.se \
--to=mikpe@it.uu.se \
--cc=aeb@cwi.nl \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®