[SERVER-2866] mongod startup output uses unix pathname on windows Created: 30/Mar/11 Updated: 29/Feb/12 Resolved: 14/Feb/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 1.8.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Alvin Richards (Inactive) | Assignee: | Eric Milkie |
| Resolution: | Duplicate | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
Problem: On Windows, the output on startup uses unix paths rather than windows path names, e.g. Mon Mar 21 12:48:15 [initandlisten] MongoDB starting : pid=3732 port=27017 dbpath=/data/db/ 64-bit https://groups.google.com/group/mongodb-user/browse_thread/thread/ca675a0bd7c37aae# Reproduce:
|
| Comments |
| Comment by Eric Milkie [ 14/Feb/12 ] |
|
duplicate of |
| Comment by Eric Milkie [ 14/Feb/12 ] |
|
The mongodb-user thread shows that the user was not specifying a dbpath. In that case, the path will be shown as Unix-style, and will default to whatever the current directory is when you run the server. This is shown in both the "initandlisten" log line and in the ERROR message (if the data directory doesn't exist). This is the part that should be fixed. |
| Comment by Eric Milkie [ 14/Feb/12 ] |
|
I can't reproduce the behavior as described in the Description. It shows Windows-style paths for me. |