Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#160 closed enhancement (fixed)

libc: 3 more default rewrite rules; /@system_root, /@system_drive and /@tmpdir

Reported by: bird Owned by: bird
Priority: normal Milestone: libc-0.6.2
Component: libc-backend Version: 0.6.1
Severity: normal Keywords: pathrewrite
Cc:

Description

/@system_root redirects you to C:/OS2 (assuming the system drive is C).

/@system_drive redirects you to C: (assuming the system drive is C). Note that ls -la /@system_drive doesn't currently work, but add a slash like this ls -la /@system_drive/ and it's fine. (Possibly some assumption in the resolver is broken here, but it doesn't bother me enough to fix this now.)

/@tmpdir redirects you to somewhere you can put temporary files. The value is determined by examining TMP, TEMP and TMPDIR (in that order) and defaulting to C:/TEMP (drive letter is of course corrected to reflect the system drive).

Change History (2)

comment:1 Changed 12 years ago by bird

  • Resolution set to fixed
  • Status changed from new to closed

(In [3289]) Implemented /@system_root, /@system_drive and /@tmpdir default rewrite rules. Fixes #160.

comment:2 Changed 12 years ago by bird

  • Milestone changed from libc-0.6.3 to libc-0.6.2
Note: See TracTickets for help on using tickets.