Commit c7de429
Improve error message for missing paths in mount operations
When mount() fails with ENOENT (No such file or directory), provide
a descriptive error message that includes:
- Source and destination paths in the error message
- System error description (strerror) and errno
- Helpful hint about checking source path existence
All other mount failures continue to use the generic check() assertion
as before, preserving the original error handling behavior for non-ENOENT
errors.
This makes debugging missing path issues much easier while maintaining
the existing error handling for other failure cases.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 6460160 commit c7de429
1 file changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
302 | | - | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
303 | 311 | | |
304 | 312 | | |
305 | 313 | | |
| |||
0 commit comments