mirror of
https://gitlab.gnome.org/GNOME/gparted
synced 2024-08-28 04:00:24 +00:00
![Mike Fleetwood](/assets/img/avatar_default.png)
Make (format as) bcache backing device (-B) and cache device (-C) and implicitly attach the backing device to the cache to enable caching, all in one. # bcache make -B /dev/sdb1 -C /dev/sdc1 # bcache show Name Type State Bname AttachToDev /dev/sdb1 1 (data) clean(running) bcache0 /dev/sdc1 /dev/sdc1 3 (cache) active N/A N/A After experimenting with 'bcache unregister', 'bcache register' and stracing 'bcache show' the bcache kernel module creates the sysfs directory /sys/block/DEV[/PTN]/bcache and it's contents only when the bcache device is registered with the kernel (bcache component is active). Use this to identify whether any bcache device (component) should be displayed as active or not in GParted. # ls -ld /sys/block/sd?/sd?1/bcache drwxr-xr-x. 6 root root 0 Jan 7 10:08 /sys/block/sdb/sdb1/bcache drwxr-xr-x. 2 root root 0 Jan 7 10:08 /sys/block/sdc/sdc1/bcache Closes #183 - Basic support for bcache
71 lines
1.5 KiB
Plaintext
71 lines
1.5 KiB
Plaintext
# List of source files containing translatable strings.
|
|
# Please keep this file sorted alphabetically.
|
|
gparted.appdata.xml.in
|
|
gparted.desktop.in.in
|
|
org.gnome.gparted.policy.in.in
|
|
include/Utils.h
|
|
src/BCache_Info.cc
|
|
src/BlockSpecial.cc
|
|
src/CopyBlocks.cc
|
|
src/DialogPasswordEntry.cc
|
|
src/Dialog_Base_Partition.cc
|
|
src/Dialog_Disklabel.cc
|
|
src/Dialog_FileSystem_Label.cc
|
|
src/Dialog_Partition_Copy.cc
|
|
src/Dialog_Partition_Info.cc
|
|
src/Dialog_Partition_Name.cc
|
|
src/Dialog_Partition_New.cc
|
|
src/Dialog_Partition_Resize_Move.cc
|
|
src/Dialog_Progress.cc
|
|
src/DialogFeatures.cc
|
|
src/DialogManageFlags.cc
|
|
src/Dialog_Rescue_Data.cc
|
|
src/DMRaid.cc
|
|
src/FileSystem.cc
|
|
src/GParted_Core.cc
|
|
src/HBoxOperations.cc
|
|
src/LVM2_PV_Info.cc
|
|
src/LUKS_Info.cc
|
|
src/MenuHelpers.cc
|
|
src/Mount_Info.cc
|
|
src/OperationChangeUUID.cc
|
|
src/OperationCopy.cc
|
|
src/OperationCheck.cc
|
|
src/OperationCreate.cc
|
|
src/OperationDelete.cc
|
|
src/OperationDetail.cc
|
|
src/OperationFormat.cc
|
|
src/OperationLabelFileSystem.cc
|
|
src/OperationNamePartition.cc
|
|
src/OperationResizeMove.cc
|
|
src/OptionComboBox.cc
|
|
src/Partition.cc
|
|
src/PartitionLUKS.cc
|
|
src/PartitionVector.cc
|
|
src/PasswordRAMStore.cc
|
|
src/ProgressBar.cc
|
|
src/SupportedFileSystems.cc
|
|
src/SWRaid_Info.cc
|
|
src/TreeView_Detail.cc
|
|
src/Utils.cc
|
|
src/Win_GParted.cc
|
|
src/btrfs.cc
|
|
src/exfat.cc
|
|
src/ext2.cc
|
|
src/f2fs.cc
|
|
src/fat16.cc
|
|
src/hfs.cc
|
|
src/hfsplus.cc
|
|
src/jfs.cc
|
|
src/linux_swap.cc
|
|
src/lvm2_pv.cc
|
|
src/luks.cc
|
|
src/main.cc
|
|
src/minix.cc
|
|
src/ntfs.cc
|
|
src/nilfs2.cc
|
|
src/reiser4.cc
|
|
src/reiserfs.cc
|
|
src/udf.cc
|
|
src/xfs.cc
|