fdisk and I can double check with du and probably lsblk. -- Jude <jdashiel at panix dot com> "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." Ed Howdershelt 1940. On Fri, 1 Sep 2023, Ralf Mardorf wrote:
On Thu, 2023-08-31 at 20:06 -0400, Jude DaShiell wrote:
I used a flash drive earlier and removed it but now have an /dev/sdb drive with 8 megs size on the computer that remains after power is shut off when power is turned on again.
How do you determine the size?
If I connect an USB stick and then run...
• rocketmouse@archlinux ~ $ cd Desktop/ • rocketmouse@archlinux ~/Desktop $ mkdir mount_point_usb_stick • rocketmouse@archlinux ~/Desktop $ mount /dev/sdz2001 /home/rocketmouse/Desktop/mount_point_usb_stick/ mount: /home/rocketmouse/Desktop/mount_point_usb_stick: must be superuser to use mount. dmesg(1) may have more information after failed mount system call.
...I missed that the USB stick wasn't mounted, but write something using the "mount point"...
• rocketmouse@archlinux ~/Desktop $ echo hallo > /home/rocketmouse/Desktop/mount_point_usb_stick/text.txt
...I'm quite sure it will be there after a reboot, without the USB stick attached, since text.txt was written to the internal SSD.
Just an idea!