Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/disk.py
AgeCommit message (Collapse)Author
2021-02-07Added a default no-info value to BlockDevice()Anton Hvornum
2021-02-07Moved the output of the current fileformat structure in guided, as well as ↵Anton Hvornum
added an option to supress the log message from format() in order to hide (for users) the some what confusing formating of /dev/null.
2021-02-07Added a check in guided to make it more visible that we check for filesystem ↵Anton Hvornum
supportation.
2021-02-07Added correct exception handling to the pre-format check.Anton Hvornum
2021-02-07Fixed correct variable usage for path when formatting, enabling temporary ↵Anton Hvornum
override.
2021-02-07Renamed fat32 to vfat to work more seamlessly with findmnt and other tools ↵Anton Hvornum
that report fat32 as vfat
2021-02-07Quotation issueAnton Hvornum
2021-02-07Added an early check for filesystem compatability. Since we need to handle ↵Anton Hvornum
unique packages etc for certain filesystem formats. This early check can be caught and ignored if the programmer/user wants to override the check and continue anyway. But the default should be to stop all execution to not install a half-working system.
2021-02-07Added some more failsafe's to the Partition() object.Anton Hvornum
2021-02-07Yielding actual partitions and not just the partition number :)Anton Hvornum
2021-02-07Made BlockDevices() iterable, iterting over each partitionAnton Hvornum
2021-02-07Added partition info on Partition() creation. This will help detect ↵Anton Hvornum
potential mountpoints as well as filesystem types if any
2021-02-07Added the ability to check if a harddrive has any mountpoint related to a ↵Anton Hvornum
given parameter.
2021-02-07Created has_partitions() on BlockDevice'sAnton Hvornum
2021-01-26Merge pull request #90 from Reiddragon/masterAnton Hvornum
Added basic F2FS support
2021-01-24Trying to centralize the configuration for logging. Phasing out some ↵Anton Hvornum
parameters which also affects the current ability to create multiple log files for multiple runs. This will be re-introduced when logging is made into a class object in a later version
2021-01-22Added basic F2FS supportReid
2021-01-22fixed tabs and spaces problemadvaithm
2021-01-22xfs as partition optionadvaithm
2021-01-21Fixes #88 - ext4 paritions incorrectly labeledAnton Hvornum
2020-12-07Potential solution for #67Anton Hvornum
It's a 0.025 second sleep waiting for the partition to pop up in partprobe. Also added a grace period of 10 seconds for that to occur. Otherwise we'll throw an exception since something most likely broke down. (Note here: Older drives, say 6200 RPM spin disks, might take a few seconds to come online. Have no such hardware to test with, but worth testing)
2020-12-07Final verification of issueAnton Hvornum
2020-12-07Removed debuggingAnton Hvornum
2020-12-07Tweaked debugging a bitAnton Hvornum
2020-12-07Update disk.pyAnton Hvornum
2020-12-07Removing one debug step to debug deeper.Anton Hvornum
2020-12-07Spelling errorAnton Hvornum
2020-12-07Adding some debugging for #67Anton Hvornum
2020-12-06Fix for last commitAnton Hvornum
2020-12-06Mixup with the variableAnton Hvornum
2020-12-06selecting disk by id/size should return a BlockDevice()Anton Hvornum
2020-12-06Attempting to select drives by size and/or idAnton Hvornum
2020-11-04Forgot an import of storage.Anton Hvornum
2020-11-04Added multiple log features.Anton Hvornum
* [Reintroduced](https://github.com/Torxed/archinstall/blob/f64a605449f59c677dff39962f1cb46616d893b7/archinstall.py#L57-L71) log levels * Created a global log file definition * Optional support for `python-systemd`'s journald handler. * Optional file output that has a globally configurable definition, that archinstall will honor in `archinstall.storage['logfile']`.
2020-10-19Fix some PEP-8 errors.Varun Madiath
2020-10-18Forgot an import, as well as made BlockDevice() have less verbose output on ↵Anton Hvornum
json.dumps.
2020-07-21Created a __dump__ function in BlockDevice. Can be used to safely dump the ↵Anton Hvornum
class into a JSON object. Building a json_encoder which checks if the object hasattr(obj, '__dump__') before calling would be ideal
2020-07-08Added a encrypted flag to the Partition() object. So that certain checks can ↵Anton Hvornum
be done by the Installer() later on, for instance when adding a bootloader. There's also a now which tries to find the parent device to the unlocked encrypted device.
2020-07-08Trying to sort out a boot issueAnton Hvornum
2020-07-07Added colored output. Also tested non-encrypted installations and added ext4 ↵Anton Hvornum
support.
2020-07-06Reworked final preparations for working with profiles and installing them.Anton Hvornum
2020-07-06Converted the lib to a pip supported structure to make packaging easier. ↵Anton Hvornum
Also tweaked some minor issues and added the AUR function