|
12 | 12 | //!
|
13 | 13 | //! The four primary partitions are scanned on the given disk image on start-up.
|
14 | 14 | //! Any valid FAT16 or FAT32 volumes are mounted, and given volume labels from
|
15 |
| -//! `A:` to `C:`, like MS-DOS. Also like MS-DOS, file and directory names use |
| 15 | +//! `A:` to `D:`, like MS-DOS. Also like MS-DOS, file and directory names use |
16 | 16 | //! the `8.3` format, like `FILENAME.TXT`. Long filenames are not supported.
|
17 | 17 | //!
|
18 | 18 | //! Unlike MS-DOS, this application uses the POSIX `/` as the directory
|
@@ -214,7 +214,7 @@ impl Context {
|
214 | 214 | println!();
|
215 | 215 | println!("\t* Bare names, like `FILE.DAT`");
|
216 | 216 | println!("\t* Relative, like `../SOMEDIR/FILE.DAT` or `./FILE.DAT`");
|
217 |
| - println!("\t* Absolute, like `1:/SOMEDIR/FILE.DAT`"); |
| 217 | + println!("\t* Absolute, like `B:/SOMEDIR/FILE.DAT`"); |
218 | 218 | Ok(())
|
219 | 219 | }
|
220 | 220 |
|
@@ -291,7 +291,7 @@ impl Context {
|
291 | 291 | /// * An arg of `..` goes up one level
|
292 | 292 | /// * A relative arg like `../FOO` goes up a level and then into the `FOO`
|
293 | 293 | /// sub-folder, starting from the current directory on the current volume
|
294 |
| - /// * An absolute path like `1:/FOO` changes the CWD on Volume 1 to path |
| 294 | + /// * An absolute path like `B:/FOO` changes the CWD on Volume 1 to path |
295 | 295 | /// `/FOO`
|
296 | 296 | fn cd(&mut self, full_path: &Path) -> Result<(), Error> {
|
297 | 297 | let volume_idx = self.resolve_volume(full_path)?;
|
@@ -425,7 +425,7 @@ impl Context {
|
425 | 425 | /// directory in the current volume.
|
426 | 426 | /// * Relative names, like `../SOMEDIR` or `./SOMEDIR`, traverse
|
427 | 427 | /// starting at the current volume and directory.
|
428 |
| - /// * Absolute, like `1:/SOMEDIR/OTHERDIR` start at the given volume. |
| 428 | + /// * Absolute, like `B:/SOMEDIR/OTHERDIR` start at the given volume. |
429 | 429 | fn resolve_existing_directory(&mut self, full_path: &Path) -> Result<RawDirectory, Error> {
|
430 | 430 | let (dir, fragment) = self.resolve_filename(full_path)?;
|
431 | 431 | let mut work_dir = dir.to_directory(&mut self.volume_mgr);
|
@@ -454,7 +454,7 @@ impl Context {
|
454 | 454 | /// directory in the current volume.
|
455 | 455 | /// * Relative names, like `../SOMEDIR/SOMEFILE` or `./SOMEDIR/SOMEFILE`, traverse
|
456 | 456 | /// starting at the current volume and directory.
|
457 |
| - /// * Absolute, like `1:/SOMEDIR/SOMEFILE` start at the given volume. |
| 457 | + /// * Absolute, like `B:/SOMEDIR/SOMEFILE` start at the given volume. |
458 | 458 | fn resolve_filename<'path>(
|
459 | 459 | &mut self,
|
460 | 460 | full_path: &'path Path,
|
|
0 commit comments