Should I create APFS encrypted disk image on hard disk drives?

enter image description here

I’m about to create an encrypted sparse disk image on my HFS+ formatted hard drive, but then I wondered if APFS’s drawbacks on HDDs will mean anything in this case, since the hardware is anyway on HFS+. Since the disk image is in software, I think APFS should do faster logical copying and decrypting because it’s newer but I don’t really know how this works.

Preseeding Dual boot dual hard drives Ubuntu 18.04.1 LTS

First post here. Just wondering if anyone can help. I’m not Linux expert or anything so this may just be my brain frazzling!

Ok, so I’m using the same hardware and same method I have been using with 16.04.x which all worked fine. I am using a fairly new pc with two nvme hard drives in (one 500gb and one 250gb). In my preseed file under partitioning I specify the 250gb disk (d-i partman-auto/disk string /dev/nvme1n1) for Ubuntu as Windows goes on nvme0n1 (the 500gb disk). My auto deployment/installation of Ubuntu works fine for a few times but then suddenly i’ll find that for some reason its installed itself onto the 500gb disk instead of the 250gb?! If i then look in gparted or do lsblk the disk labels have swapped over so now the 250gb disk appears as nvme0n1 instead of nvme1n1 and the 500gb appears as nvme1n1 instead of nvme0n1. If I reboot then usually the labels have switched back to how they should be but obviously Ubuntu has now written over the windows 500gb disk. When i deploy Windows 10 via sccm it will consistently deploy to the 500gb disk (disk 0) Any suggestions or workarounds would be greatly appreciated. Currently i’ve sort of given up on this and am waiting for 18.04.2 to see if that fixes anything. Thanks Rob

macOS randomly locks up, forcing a hard reboot

I’ve got a brand new Mac mini 2018 running macOS 10.14.2. At random times, the system locks up completely (except for the mouse). So I can move the mouse around, but all windows and the dock are frozen. The only thing I can do is hold the power button to shut down.

I have no idea how to begin troubleshooting this. Should I look at /var/log/system.log around the time of the lock-up for anything fishy? Or somewhere else? (I’ll update this post as necessary) I already did a reset of the SMC & NVRAM, which didn’t help.

create date folder version backups with hard links and a combined view

I am using the ideas laid out in this article to create incremental versioned backups of my data. I basically sync the data to a current folder in my backup destination and then create a date folder with hard links to the current folder. I end up with this:

$   ls ... 2019-01-01_10-00-01 2019-01-02_10-00-01 ... 2019-02-15_10-00-01 ... current 

It works great. If I ever need to do a full restore from a specific date, I can just restore everything from that date’s folder.

But if you’re looking for previous versions of a specific file, you have to go through each of the date folder’s to find what you want. I want to create another folder that has a running total of all files, each time they were changed. A combined view if you will.

I came up with this, and it works, but I am wondering if there is a more elegant, standard way to do this.

#!/bin/bash  NOW=$  (/bin/date +\%Y-\%m-\%d_\%H-\%M-\%S)  # the data that needs to be backed up SOURCES=("/path/to/source 1" "/path/to/source 2")  # where it is going DESTINATION="/path/to/backup"  # make sure the destination exists mkdir -p "$  DESTINATION"  # make sure there is a place to put the current data mkdir -p "$  DESTINATION/current"  # make sure there is a place to put the "combined" data mkdir -p "$  DESTINATION/combined"  # sync the data rsync -v -a --delete "$  {SOURCES[@]}" "$  DESTINATION/current"  # check if files were backed up # any file with only one link is either new, and needs to have a hard link version # or it wasn't fully backed up previously and needs a hard link version if [[ $  (find "$  DESTINATION/current" -type f -links 1 | wc -l) -ne 0 ]] ; then     # make a date folder backup using hard links     cp -al "$  DESTINATION/current" "$  DESTINATION/$  NOW"      # make a combined view     #  - find all files with 2 links     #    - one link is to the file in the $  DESTINATION/current     #    - the other link is to the file in $  DESTINATION/$  NOW     # - there should never be any files with only 1 hard link since the previous command     #   is sure to have created a second link     # - any files with more than 2 links were, hopefully, already covered during a previous iteration     cd "$  DESTINATION/current" && find * -type f -links 2 -print0 | while IFS= read -r -d $  '' filePath     do         fileName="$  (basename "$  filePath")"         fileFolder="$  (dirname "$  filePath")"          # where the file will live in the combined folder         # need to mirror the folder structure         destinationFolder="$  DESTINATION/combined/$  fileFolder"         mkdir -p "$  destinationFolder"          # make a hard link to it         cp -al "$  filePath" "$  destinationFolder/$  fileName.$  NOW"     done fi 

The code does work. After a few iterations, this is what it creates:

Files in the current folder (this is a “live” copy of the source data):

backup/current/source 1/001 backup/current/source 1/002 backup/current/source 1/003 backup/current/source 1/file 100 backup/current/source 1/folder/004 backup/current/source 2/006 

Files in the date specific folders (note files from the first backup have files that aren’t in the second because they were deleted):

backup/2019-01-15_23-08-02/source 1/001 backup/2019-01-15_23-08-02/source 1/002 backup/2019-01-15_23-08-02/source 1/003 backup/2019-01-15_23-08-02/source 1/file 100 backup/2019-01-15_23-08-02/source 1/folder/004 backup/2019-01-15_23-08-02/source 1/folder/005 backup/2019-01-15_23-08-02/source 2/006 backup/2019-01-15_23-08-02/source 2/007  backup/2019-01-15_23-09-00/source 1/001 backup/2019-01-15_23-09-00/source 1/002 backup/2019-01-15_23-09-00/source 1/003 backup/2019-01-15_23-09-00/source 1/file 100 backup/2019-01-15_23-09-00/source 1/folder/004 backup/2019-01-15_23-09-00/source 2/006 

And these are the files in the combined view:

backup/combined/source 1/001.2019-01-15_23-08-02 backup/combined/source 1/002.2019-01-15_23-08-02 backup/combined/source 1/003.2019-01-15_23-08-02 backup/combined/source 1/003.2019-01-15_23-09-00 backup/combined/source 1/file 100.2019-01-15_23-08-02 backup/combined/source 1/folder/004.2019-01-15_23-08-02 backup/combined/source 1/folder/004.2019-01-15_23-09-00 backup/combined/source 1/folder/005.2019-01-15_23-08-02 backup/combined/source 2/006.2019-01-15_23-08-02 backup/combined/source 2/006.2019-01-15_23-09-00 backup/combined/source 2/007.2019-01-15_23-08-02 

This way, if I need to find a previous version of source 1/folder/004, I just need to go to it’s matching folder in backup/combined/ (backup/combined/source 1/folder) and all the 004 files are there, with a date/time stamp appended.

Is there a better, more elegant way to do this?

Software to transfer files from one large hard drive to multiple smaller hard / flash drives?

Any suggestions of a software that would allow copy files from a large drive to multiple smaller drives, preserving all attributes of the files, such as created/modified date?

I’m looking for something that would fill one drive up and ask for another destination to copy remaining files until that drive is full and so on until all files are copied.

FastCopy almost works, except it doesn’t allow changing destination without resetting of what already was copied (I could be wrong though)

My External Hard Drive’s format changed to FAT16 without any reason

I have an ADATA HD710 1TB external hard drive which I use mostly in my Mac Mini 2011 and I have created two separate partitions for my drive.

One of the partitions has APFS (Apple File System) format and the other has MS-DOS FAT (FAT32) format. I use the second one for Windows 10 that is installed on my computer using Bootcamp. As it’s not possible to view files of the drive which is formatted in APSF in Windows I use that FAT32 partition to move some files from my main drive to that and view them in Windows.

Yesterday I plugged my external drive in to Windows 10 and after copying some files I just ejected it. Today when I tried to access my files in macOS I realized that my Hard drive’s format is changed to FAT16 and none of the two partitions which I had created are displayed.

enter image description here

I tried repairing my drive using the Disk Utility’s First Aid feature but it didn’t work. I also tried repairing it via Terminal using diskutil repairDisk command and the result was the same as Disk Utility. Finally, I tried repairing it in Windows (using diskpart commands) and I was unsuccessful again.

How can I fix this issue?

Please notice that I really need the information inside my main partition of the drive (The FAT32 partition is not that important for me). Otherwise, I know that if I erase the whole drive, I can use it again.

The exact error message that I get when I connect my external drive to macOS is:

The disk you inserted was not readable by this computer.

How can I make an app impossible to uninstall or least very hard too?

I want “DisableChromeIncognitoMode” to be uninstallable or at least very hard to uninstall. I would also like to be unable to change its settings to “off” (meaning i can use incognito mode). Or i would just like to be unable to use incognito mode on chrome. (It wastes my time when I am using it for…( ͡° ͜ʖ ͡°)…purposes)

I will only root my phone as a last resort but breaking the warranty seems a bit much just for removing incognito

Hard time finding good Payment Processing for adult

Hello, I own an adult website about japanese porn cartoon + dropshipping store about japanese porn items, and I seriosuly want to use a membership on my website.
The problem is… I'm having hard time finding good Payment Processor for me.

I asked Epoch, but they doesn't allow me to sell goods on my website. They can only take care of membership.

I asked CCBILL, but they don't like contents on my website. They don't want contents about Gang/Rape/Scat/Incest/Bestiality, real or fantasy……

Hard time finding good Payment Processing for adult