[gelöst] mkfs not found?

    Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

    • [gelöst] mkfs not found?

      Sollte mkfs nicht standardmäßig da sein?

      Installiert war:

      Quellcode

      1. xfsprogs-mkfs/unknown,now 4.10.0-r0.0 arm64 [installed]
      2. XFS Filesystem Utilities


      Ich habe installiert:

      Quellcode

      1. util-linux-mkfs/unknown,now 2.29.1-r0.0 arm64 [installed]
      2. A suite of basic system administration utilities
      immer noch:

      Quellcode

      1. newnigma2@dreambox:~$ mkfs
      2. -bash: mkfs: command not found

      Wo mkfs?
    • Was geht ab mit dem newnigma2 user?

      Quellcode

      1. newnigma2@dreambox:~$ /usr/sbin/mkfs
      2. Usage:
      3. mkfs [options] [-t <type>] [fs-options] <device> [<size>]
      4. Make a Linux filesystem.
      5. Options:
      6. -t, --type=<type> filesystem type; when unspecified, ext2 is used
      7. fs-options parameters for the real filesystem builder
      8. <device> path to the device to be used
      9. <size> number of blocks to be used on the device
      10. -V, --verbose explain what is being done;
      11. specifying -V more than once will cause a dry-run
      12. -V, --version display version information and exit;
      13. -V as --version must be the only option
      14. -h, --help display this help text and exit
      15. For more details see mkfs(8).
      Alles anzeigen

      Da passt das environment / der PATH gar nicht?

      Quellcode

      1. newnigma2@dreambox:~$ echo $PATH
      2. /usr/script:/usr/local/bin:/usr/bin:/bin



      Verwirrung.
    • Probiere mal mit sudo:

      Quellcode

      1. newnigma2@dreambox:~$ sudo mkfs.ext4
      2. Password:
      3. Usage: mkfs.ext4 [-c|-l filename] [-b block-size] [-C cluster-size]
      4. [-i bytes-per-inode] [-I inode-size] [-J journal-options]
      5. [-G flex-group-size] [-N number-of-inodes] [-d root-directory]
      6. [-m reserved-blocks-percentage] [-o creator-os]
      7. [-g blocks-per-group] [-L volume-label] [-M last-mounted-directory]
      8. [-O feature[,...]] [-r fs-revision] [-E extended-option[,...]]
      9. [-t fs-type] [-T usage-type ] [-U UUID] [-e errors_behavior][-z undo_file]
      10. [-jnqvDFSV] device [blocks-count]

      Quellcode

      1. newnigma2@dreambox:~$ sudo mkfs.xfs
      2. No device name specified
      3. Usage: mkfs.xfs
      4. /* blocksize */ [-b log=n|size=num]
      5. /* metadata */ [-m crc=0|1,finobt=0|1,uuid=xxx,rmapbt=0|1,reflink=0|1]
      6. /* data subvol */ [-d agcount=n,agsize=n,file,name=xxx,size=num,
      7. (sunit=value,swidth=value|su=num,sw=num|noalign),
      8. sectlog=n|sectsize=num
      9. /* force overwrite */ [-f]
      10. /* inode size */ [-i log=n|perblock=n|size=num,maxpct=n,attr=0|1|2,
      11. projid32bit=0|1,sparse=0|1]
      12. /* no discard */ [-K]
      13. /* log subvol */ [-l agnum=n,internal,size=num,logdev=xxx,version=n
      14. sunit=value|su=num,sectlog=n|sectsize=num,
      15. lazy-count=0|1]
      16. /* label */ [-L label (maximum 12 characters)]
      17. /* naming */ [-n log=n|size=num,version=2|ci,ftype=0|1]
      18. /* no-op info only */ [-N]
      19. /* prototype file */ [-p fname]
      20. /* quiet */ [-q]
      21. /* realtime subvol */ [-r extsize=num,size=num,rtdev=xxx]
      22. /* sectorsize */ [-s log=n|size=num]
      23. /* version */ [-V]
      24. devicename
      25. <devicename> is required unless -d name=xxx is given.
      26. <num> is xxx (bytes), xxxs (sectors), xxxb (fs blocks), xxxk (xxx KiB),
      27. xxxm (xxx MiB), xxxg (xxx GiB), xxxt (xxx TiB) or xxxp (xxx PiB).
      28. <value> is xxx (512 byte blocks).
      Alles anzeigen