Flutter - Check if Laptop has SSD and HDD - windows

I'm creating a Flutter App which takes your device info and logs that data on a server. For laptops (Windows & MacOS), I need to know what storage devices it is using and their specs. Specifically:
If it has a Solid-State Drive (SSD) and how big?
If it has an Hard Drive (HDD) and how big?
I have been through several packages on pub.dev, but to no avail. None of them seem to provide the info I need. How can I find out this information?

Related

NAS systems recommendations for transferring large HFS+ Journaled data

I want to improve my backup system by using RAID technology accompanied by Cloud backup services.
I use several macOS computers, and would prefer the NAS solution over the DAS one.
The first step would be to backup all my existing data.
I currently store it in external HHD/SSD formatted in HFS+ Journaled;
1x HDD 4TB - almost full - Format: HFS+ Journaled.
1x SSD 4TB - almost full - Format: HFS+ Journaled.
1x SSD 1TB - almost full - Format: HFS+ Journaled.
My professional surroundings as well as reviews on the internet often recommend the brand Synology.
I was tempted to make the following investment according to my needs:
Synology DS1821+ (8 bays)
5x 8TB HHD (WD Red Plus WD80EFZX 8TB)
SHR-2 protection type (24TB of free space, 16TB allocated for protection)
IDriveĀ® Cloud backup service (provides DSM extension).
Problem:
I want to find the best way to efficiently and safely transfer all my current data (around 10 TB) from my external HDD/SSD disks (HFS+ Journaled fromats) to the future NAS volume.
I have the feeling that doing so via SMB or FTP will be way to long and uncertain.
So I thought that the most straight forward way would probably be to simply connect each external disks directly to the NAS (USB 3.1), and simply transfer portions of all data manually directly in DSM.
However, after extra investigations, I was surprised to learn the following:
Synology knowledge base says:
https://www.synology.com/enus/knowledgebase/DSM/help/DSM/AdminCenter/system_externaldevice_devicelist
Some models support HFS/HFS Plus with read-only.
Journal is not supported on HFS/HFS Plus.
You will need to install exFAT Access from Package Center to enable Synology NAS to support exFAT.
Make sure you have ejected the external disk before unplugging it.
Clearly states that no model supports journaling.
Product specs says:
https://www.synology.com/en-us/products/DS1821+#specs
Unless I am missing it, it does not inform much about the journaling matter or size limits.
About disabling journaling via the Disk utility app on macOS:
It feels like it is only possible via CLI these days (since BigSur).
I understand what disabling journaling implies, that it is probably not a big deal for temporary transferring all the data to the NAS, but I still would like to avoid such accommodations as much as possible (I've never done it, I don't know).
I looked for NAS alternatives that would support HFS+ Journaled formats but couldn't find any.
Are my concerns justified or am I overthinking this ?
Any pieces of advice from experienced NAS & macOS users would be much appreciated.

Is it possible to fix my USB that can't even be read by Disk Management

I'm not sure if this is a duplicate, but every time I find a thread about corrupted USB, disk management is still at least able to recognize a drive. My USB is so bricked that when I try to use disk management, nothing loads. When I unplug it the other disks load fine, but once I plug it in and refresh the program hangs. Same things happens when I run diskpart and when I use any other third party disk managing software. Is this USB just completely FUBAR or can I raise it from the dead? Device manager recognizes a USB is plugged in, but that's about as much as Windows can do. I'm running Win10 64-bit version 1809 build 17763.1217. If there is any other info I can provide please let me know. Thanks for the help in advance.

Windows 10 Installation on a SSD error: " We couldn't create a new partition..."

I have an Acer Nitro 5 with a Gigabyte 512gb ssd and a WD 1TB hhd.
Recently after installing Ubuntu on my hdd (because i didn't want to change the sata mode), I also wanted a clean Windows install. So I created a boot usb from
media creation tool and go forward with it.
It didn't work. I got the "We couldn't create a new partition or locate an existing one" error, which i spent a significant amount of time trying to search for a solution.
Stuffs i tried:
- Format my ssd
- use diskpart to clean, convert my ssd partition table to gpt, etc like every guide online recommends.
- Make another boot usb, this time with rufus. Didn't work.
Stuffs I didn't try:
- Temporarily disconnect my hdd. I don't have the tools to do that physically, and my acer uefi has zero options regarding this, like most guides suggests.
- Change to bios-legacy boot mode. There's no option in the uefi.
I think it would be fine if i try to install windows on my hdd though, but haven't try it yet. All I know is installing windows on a ssd is much harder but didn't expect it to produce this much annoyance.
I heard there's an option to install on a HDD, the. use a third party tool to copy it to a SSD, but i haven't look into it.
Thanks for any help given..
Assuming you have Windows 10 installed and working on your SSD go to Settings > Update & Security > Recovery > Reset this PC > Get started and then select if you want your files kept you want clean reinstall. Again - from your post I assume the latter so just click Remove everything" confirm and wait. It will take (depending on the machine) 1-2 hours.
I've found this to be the easiest way to have clean install without wondering how do I get it installed on my laptop/pc.
My recommendation though - back up your ubuntu partition - I can't guarantee that windows installer won't clean up HDD you have (it's supposed to clean only SSD but better be safe than sorry).
Here's the link to detailed instructions. It's based on 1903 compilation - if your's older it will still look very similar.
If your windows isn't working then use diskpart to clean the drive, boot the computer from USB windows installation stick and choose the drive for your installation - it will/should create appropriate partitions and start installing.
If it won't change boot order so the SSD is first on the list and HDD next and repeat the previous step.

Running SAS 9.4 from a flash drive

I have downloaded the SAS 9.4 suite on a flash drive. However, I do not have enough space on my hard disk to install SAS on my laptop.
Is there a way I can run SAS from my flash drive, instead of installing it on my laptop?
Operating system : Windows 10
Sort of? I have an external drive I've formatted (SSD/Flash) with an entire OS on it including SAS.
So I have VMware installed on my computer and it accesses the image file stored on the flash drive/SSD to run. You may even be able to do this with SAS UE. But you can also just use Academics on Demand which is cloud-based, assuming it's non-commercial usage and for learning.
EDIT: It's on a (256GB) flash drive that I keep on my computer because I don't really use the SD slot for anything else. It has Windows 10 on it because my main machine is a MacBook.

How can I create a central storage location for my Mac and Windows machines to share?

A few years ago I switch from PC to Mac. I didn't do this because I preferred to use a Mac, but because I desired experience working with both systems. Now, I see the pros and cons of both sides, and I use them both regularly. In fact, my job requires it.
Now though, I would like to create a central repository of all my PC / Mac data. Unfortunately there is a language barrier between NTFS and HFS+.
Is there any way I can create an efficient and reliable central repository for all my data? I prefer not to use 3rd party drivers as I've found them to be complex and often unreliable.
I think you may be confusing physical, on-disk filesystems with network filesystems.
HFS+ and NTFS are physical, on-disk layouts.
Samba/NFS (Network File System)/AFP (Apple Filing Protocol) are network filesystems.
There is nothing to stop you sharing an HFS+ physical filesystem via Samba (network filesystem) with Windows clients. Likewise, you could theoretically, share an NTFS filesystem with an OSX client via AFP.
You can just share a directory (folder) from your Mac by going to:
Apple menu (top left of screen) -> Preferences -> Sharing
Then set up like in red:
Another, brilliant option which I use for serving all my music to a SONOS system, is to get a little Raspberry Pi, that uses almost zero power, and add a 256MB USB memory stick (or maybe 4 off 64GB memory sticks as that can be cheaper) and RAID them together and make that available via Samba. It is silent and uses no power!
i do not know about your possibilities, but may be you could just use sambaserver. My router has a build in sambaserver all i have to do is plugin an USB disk.
You could also format your external hd to FAT32 filesystem. It should work for mac and windows, but it does not support files over 4GB. But its fine for document, photos and so.
good luck
I am not sure how well FTP would work but I assume you could run a FTP server in one or both systems and FTP client in the corresponding system. Most browsers can be a FTP client but there are also dedicated programs.
Mac OS X can read from NTFS drives. It also supports writing to NTFS, but that feature is disabled by default. I am not sure if it can work when the volume is online to Windows. Quick Tip: How to Write to NTFS Drives in OS X Mavericks explains it.
Enable writing to NTFS hard drives for free in Mac OS X (including El Capitan!) claims to provide read and write access to NTFS for free from Mac OS X.
You can use Apple's Boot Camp. I am not sure of the licensing requirements for the Windows you run in the Apple system but apparently you can use your existing license.
There is also Catacombae - HFSExplorer for accessing Mac-formatted hard disks and disk images from Windows.
There is also commercial software available. A popular one is Paragon HFS+ for Windows 10 and Paragon NTFS for MacĀ® 14 - Write / read access to NTFS under OS X El Capitan - Introduction.
I did not know what "sambaserver" is but it is a SMB server for UNIX/Linux as described in . SMB is built into Windows; see IT: How to Transfer Files Using Microsoft File Sharing for Windows.

Resources