Guest User

Copy from vfat to zfs and checksum test

a guest
Nov 19th, 2025
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.92 KB | None | 0 0
  1. user1@computer1:~$ mount | grep boot
  2. /dev/nvme0n1p2 on /boot/efi type vfat (rw,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro)
  3.  
  4. user1@computer1:~$ mount | grep home
  5. zroot/home on /home type zfs (rw,noatime,xattr,posixacl,casesensitive)
  6.  
  7. user1@computer1:~$ sudo dd if=/dev/urandom of=/boot/efi/bleh bs=1M count=10
  8. 10+0 records in
  9. 10+0 records out
  10. 10485760 bytes (10 MB, 10 MiB) copied, 0.0444329 s, 236 MB/s
  11.  
  12. user1@computer1:~$ cp /boot/efi/bleh ~/
  13.  
  14. user1@computer1:~$ md5sum /boot/efi/bleh
  15. afb7767db4aa51f6f22a7a5ec3b4cd09  /boot/efi/bleh
  16. user1@computer1:~$ md5sum ~/bleh
  17. afb7767db4aa51f6f22a7a5ec3b4cd09  /home/user1/bleh
  18.  
  19. user1@computer1:~$ shasum -a 512224 /boot/efi/bleh
  20. 43f9b5ba30dfd49ed41509ca0aceb6b928214f69cb5a83c980002634  /boot/efi/bleh
  21. user1@computer1:~$ shasum -a 512224 ~/bleh
  22. 43f9b5ba30dfd49ed41509ca0aceb6b928214f69cb5a83c980002634  /home/user1/bleh
  23.  
Advertisement
Add Comment
Please, Sign In to add comment