@@ -8,19 +8,19 @@ use std::path::{Path, PathBuf};
88use std:: process:: ExitCode ;
99use std:: time:: SystemTime ;
1010
11- use ufat :: device:: { Access , Device } ;
12- use ufat :: errno;
13- use ufat :: format:: { self , FormatOptions , VolumeId } ;
14- use ufat :: fsck;
15- use ufat :: host;
16- use ufat :: layout:: MIN_SECTOR_SIZE ;
17- use ufat :: manifest:: { self , AssembleOptions , DirectorySource , StreamSource } ;
18- use ufat :: plan:: { Plan , PlanOptions } ;
19- use ufat :: populate:: { CopyOptions , TimePolicy } ;
20- use ufat :: probe:: Prober ;
21- use ufat :: time:: civil_from_days;
22- use ufat :: volume:: Volume ;
23- use ufat :: { bail, err, Context , Detail , Error , Result } ;
11+ use fat :: device:: { Access , Device } ;
12+ use fat :: errno;
13+ use fat :: format:: { self , FormatOptions , VolumeId } ;
14+ use fat :: fsck;
15+ use fat :: host;
16+ use fat :: layout:: MIN_SECTOR_SIZE ;
17+ use fat :: manifest:: { self , AssembleOptions , DirectorySource , StreamSource } ;
18+ use fat :: plan:: { Plan , PlanOptions } ;
19+ use fat :: populate:: { CopyOptions , TimePolicy } ;
20+ use fat :: probe:: Prober ;
21+ use fat :: time:: civil_from_days;
22+ use fat :: volume:: Volume ;
23+ use fat :: { bail, err, Context , Detail , Error , Result } ;
2424
2525use crate :: service;
2626use crate :: util:: { self , ImageFlags } ;
@@ -564,7 +564,7 @@ fn assemble_options(args: &Args) -> Result<AssembleOptions> {
564564 now_usec : if args. flag ( "no-check-validity" ) {
565565 None
566566 } else {
567- Some ( ufat :: time:: to_usec ( util:: now ( ) ) )
567+ Some ( fat :: time:: to_usec ( util:: now ( ) ) )
568568 } ,
569569 } )
570570}
@@ -657,7 +657,7 @@ fn write_manifest(v: &Volume, path: &Path) -> Result<()> {
657657}
658658
659659/// Reports the geometry of a freshly made file system.
660- fn report_layout ( image : & Path , layout : & ufat :: layout:: Layout , verbose : bool ) {
660+ fn report_layout ( image : & Path , layout : & fat :: layout:: Layout , verbose : bool ) {
661661 if verbose {
662662 eprintln ! (
663663 "{}: {} sectors of {} bytes, {} clusters of {} bytes, {} reserved sectors, {} of {} sectors" ,
@@ -795,7 +795,7 @@ fn unfinished(v: Volume, e: Error) -> Error {
795795 e
796796}
797797
798- fn report_estimate ( args : & Args , path : & Path , estimate : & ufat :: plan:: Estimate ) {
798+ fn report_estimate ( args : & Args , path : & Path , estimate : & fat :: plan:: Estimate ) {
799799 if args. flag ( "verbose" ) {
800800 eprintln ! (
801801 "{}: {} and {} in {} need a {} byte file system with {} byte clusters" ,
@@ -1087,7 +1087,7 @@ fn print_description(v: &Volume, out: &mut dyn Write) -> Result<()> {
10871087 writeln ! (
10881088 out,
10891089 "note: below the FAT32 minimum of {} clusters" ,
1090- ufat :: layout:: MIN_CLUSTERS
1090+ fat :: layout:: MIN_CLUSTERS
10911091 ) ?;
10921092 }
10931093 Ok ( ( ) )
0 commit comments