On Fri, 2 Nov 2001, Oliver Ob wrote: > No comprendido todo, pero voy probar a responder > en ingles! > > the new "feature" (it's shit really) says that you > cannot boot from your virtually generated hd_image > and then redirect an existing dos partition (c:) > to like /mount/dos at the same time because the > contradiction lies in "mounted" or not.
It's not entirely clear to me what you mean with the new "feature". > LREDIR needs the partitions to be mounted, otherwise > it does not redirect say c: to /mount/c Of course. > at the same time, you can from version 1.0.1. on NOT > run a mounted dos partition. > > I do not know, I shall not call that a feature, it's > a bug! You need a "virtually generated hd_image". What's that? Do you mean the intermediate fatfs that dosemu uses when booting from a directory? if you specify $_hdimage = "link" where link symlinks to /mount/c then c: will become an lredir'ed drive corresponding to /mount/c - so the chicken or egg problem is solved. if you at any time say (e.g. after booting from an hdimage, but that's really obsolete, but also possible when using (x)dosemu from dosemu 1.0.2) lredir c: linux\fs/mount/c the same will happen. On the other hand, $_hdimage = "/dev/hda1" will, IF dosemu is run as (suid-)root and nothing is mounted on /dev/hda1 invoke direct partition access to that partition. Why do you need root - first of all to get access to /dev/hda1 and even if the user has r/w permissions for the device /dev/hda1, dosemu needs root to read the MBR from /dev/hda (it could get the same info using various /proc files and the boot sector, but hey, this is just how it was implemented many years ago, when DOSEMU always needed suid-root). This is also quite obsolete - in most situations, the "lredir" technique is much nicer. Some DOS programs however refuse to run from network drives (or there might still be a bug in the dosemu code in that respect), which lredir'ed drives essentially are from the DOS perspective. In that case it's best to build a custom hdimage for that program only. Bart - To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
