The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 2,099 other followers

Archive for July 20th, 2020

🔎Julia Evans🔍 auf Twitter: “an amazing directory: /proc… “

Posted by jpluimers on 2020/07/20

So cool: 🔎Julia Evans🔍 auf Twitter: “an amazing directory: /proc… “:

–jeroen

Posted in *nix, *nix-tools, Power User | Leave a Comment »

google chrome – How to hide the bookmark bar? – Super User

Posted by jpluimers on 2020/07/20

So I wondered why on some tabs, the bookmark bar would never disappear:

Chrome’s default new tab page (NTP) always shows a bookmark bar, even if you turn it off for other pages. You can however install browser extensions which replace the NTP, and the replacements do not automatically get the bookmarks bar (but can with some extra programming).

So for instance Google’s Earth View extension does not show bookmarks, whereas Pinterest’s now does.

Thanks deltab for answering this at [WayBack] google chrome – How to hide the bookmark bar? – Super User

–jeroen

Posted in Chrome, Google, Power User | Leave a Comment »

Eject USB drives / eject command – Unix & Linux Stack Exchange

Posted by jpluimers on 2020/07/20

I always thought than an umount /dev/sdX# for all partitions on /dev/sdX was enough for USB devices to be ejected, but there are three commands that (on most systems) actually power down USB drives (or USB to SD card adapters):

  • udisks --detach /dev/sdX (requires the udisks package which is obsolete)
  • eject /dev/sdX seems not to be enough on some systems; it is part of the util-linux package
  • udisksctl power-off -b /dev/sdX is equivalent to the udisks command; it is part of the udisks2 package.

These will ensure that the disk is not part of the fdisk --list output any more.

The opposite of these is sg_start, which is from the sg3_utils package.

Source: [WayBack] Eject USB drives / eject command – Unix & Linux Stack Exchange

On MacOS, you can use  diskutil eject /Volumes/<LABEL> (source: answer by efesaid on [WayBack] Eject USB drives / eject command – Unix & Linux Stack Exchange)

–jeroen

Posted in *nix, *nix-tools, Linux, openSuSE, Power User, SuSE Linux, Tumbleweed | Leave a Comment »

 
%d bloggers like this: