#47 volume label support for cdroms and redirected drives

open
nobody
None
5
2012-11-02
2005-12-24
japheth
No

Hello,

when I try to read the volume label with function int
21h, ax=714eh, cx=0808h, I get:

  • for HDs (MFS): returns without error, but I dont get
    the volume label, it seems to be the name of a file in
    the root dir.

  • for CDROMs: returns with error 7100h.

LFN is on, CDROM is mounted with CDROM.SYS and SHSUCDX.COM.

Discussion

  • Bart Oldeman

    Bart Oldeman - 2005-12-26

    Logged In: YES
    user_id=176505

    • for HDs (MFS) a volume label is simply not provided by
      Linux; it's a random directory really.

    The volume labels for both ah=4e and ax=714e should be the
    same (as reported by "dir") and are derived by the linux
    root (that's /foo if you use
    lredir d: linux\fs/foo).

    Reporting a nicer volume label is more a feature request
    really, that could be an extra lredir or $_hdimage option,
    where you would need to specify it explicitly.

    For CDROM via shsucdx (3.0x) you need to load the DOSLFN
    TSR: dosemu's LFN support does not cover that.

     
  • japheth

    japheth - 2005-12-26

    Logged In: YES
    user_id=982058

    Reporting a nicer volume label is more a feature request
    really, that could be an extra lredir or $_hdimage option,
    where you would need to specify it explicitly.

    For CDROM via shsucdx (3.0x) you need to load the DOSLFN
    TSR: dosemu's LFN support does not cover that.

    Thanks for the DOSLFN hint! I just needed the CDROM LFN
    label (for a Win32 game [Heretic 2] I'm just testing on
    dosemu), I don't really care about HD labels.

     
  • Stas Sergeev

    Stas Sergeev - 2005-12-27

    Logged In: YES
    user_id=501371

    Why closing this if you still have to load the doslfn?
    Lets make it an RFE instead, as Bart suggested.

     

Log in to post a comment.