--- a/UnixOperatingSystem.st Thu Jul 03 16:36:15 2014 +0200
+++ b/UnixOperatingSystem.st Thu Jul 03 16:36:25 2014 +0200
@@ -5100,6 +5100,15 @@
^ '..'
!
+pathNameForDrive:driveName
+ "given a drive name, return the pathname to open it as a directory.
+ For Windows, this is the driveName itself.
+ For OSX, '/Volumes' is prepended.
+ Other OSs might prepent the pount point (i.e. /mnt/)"
+
+ ^ driveName
+!
+
pathNameOf:pathName
"return the pathName of the argument, aPathString,
- thats the full pathname of the directory, starting at '/'.
@@ -13299,11 +13308,11 @@
!UnixOperatingSystem class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libbasic/UnixOperatingSystem.st,v 1.376 2014-07-02 10:47:15 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic/UnixOperatingSystem.st,v 1.377 2014-07-03 14:36:25 cg Exp $'
!
version_CVS
- ^ '$Header: /cvs/stx/stx/libbasic/UnixOperatingSystem.st,v 1.376 2014-07-02 10:47:15 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic/UnixOperatingSystem.st,v 1.377 2014-07-03 14:36:25 cg Exp $'
! !