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

Re: kernel

Le 30 juin 08 à 20:17, Petr Stehlik a écrit :

Roman Zippel píše 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



----------------------- Laurent Vivier ----------------------
"The best way to predict the future is to invent it."
- Alan Kay

Reply to: