[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kernel



On Mon, 30 Jun 2008, Laurent Vivier wrote:
> Le 30 juin 08 �0:17, Petr Stehlik a �it :
> > Roman Zippel p� v Po 30. 06. 2008 v 20:08 +0200:
> > > On Mon, 30 Jun 2008, Stephen R Marenka wrote:
> > > > How exactly does one configure nfblock? What's the aranym config or
> > > > command line needed to make it work?
> > > 
> > > There is no extra configuration needed. All [IDE?] and [PARTITION?]
> > > entries are exported this way, although the latter have only very limited
> > > value due to the forced boot block, so you can't create partitions on it
> > > and you will have problems to loop mount the disk images on the host.
> > 
> > That's not true - the [PARTITION] was introduced to actually SIMPLIFY
> > the loop mount!
> 
> Just a comment about the loop mount:
> 
> I've introduced in linux 2.6.26 a patch allowing to manage partitions with
> loop:
> you must load loop modules with a new parameter giving the maximum number of
> partitions per loop:
> 
> # rmmod loop
> # modprobe loop max_part=63
> 
> and then you can:
> 
> # losetup -f my_disk.img
> # mount /dev/loop0p1 /mnt
> 
> etc...

Alternatively, you use kpartx, which uses the device mapper to create
partitions on any device.

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

Reply to: