Module 4 Flashcards
How does the OS know how to organize files?
File system
What is used to keep track of files and file storage on a disk?
Filesystem
what needs to have a file system added to it?
a new disk or any type of storage device
what file system is used for Windows?
NTFS
What file system is used for Linux?
ext4
if you have a usb that is NTFS formatted, can both Windows and Ubuntu write to it?
yes.
if you have an ext4 formatted USB drive, can you use it on Windows and Ubuntu?
no. Only Ubuntu, unless you have 3rd party tools helping you.
what happens if you need a USB drive for multiple Operating systems? Windows, Linux, and MacOS.
You must reformat your USB drive so that it has a system that is compatible with all of them.
What is wiping the USB drive called?
reformatting it
What OS does FAT32 work on?
Windows, Linux, Mac. All three major OS.
what is the max file size for Fat32?
4GB
What is the max file system size for fat32?
32GB max file system size
what is Fat32 good for?
small usb drive, compatible across multiple systems.
Who made fat32?
microsoft
in fat32, what does fat stand for?
file allocation table
what determines characteristics of files like allowed length, characters allowed, file size?
File system
where are the details about allowed files stored?
the metadata, on a separate block on the device. also stores a directory.
What is a file broken down into in many situations?
multiple sections scattered across a hard drive.
what keeps track of the scattered sections of files?
a file management system, FAT is an example.
how many characters does the FAT file system support up to, ideally?
8
what should a FAT file name always begin with?
alphanumeric character
what is the advanced version of the FAT file system?
FAT32
Who is FAT32 targeted at?
Users using Windows 2000 and older.
What device size is suitable with FAT32?
512 megabytes to 2 tb
how does FAT32 make disk utilization more effective?
it can access files more rapidly across different storage devices.
What file system was presented first with Windows XP?
NTFS
What file system can you convert your system to if you have FAT32?
NTFS, but backwards won’t work.
what file system for Windows doesn’t have a case-sensitive file name system?
NTFS
What is APFS?
The apple file system.
When was APFS developed?
2016
what devices is apfs supported on?
only Apple devices.
What file system was invented by the cupertino based company 1998?
HFS+
What file system replaced the hierarchical file system that used to be used by Apple computers?
HFS+
what character limits did hfs+ support?
255
what is the name of the file system before FAT32?
FAT16.
What form does FAT32 store information?
clusters
what is a unit that occupies a specified space on a disk called?
cluster
who developed FAT32?
Microsoft and Caldera
what did FAT32 upgrade?
increased file sizes, large partitions
what scheme did file systems follow that could fetch data from the directory stored on the disk, back in 1995
CHS schem
What is LBA, which Windows 95 introduced to hold the directory outside of the disk?
Logical Block Allocation
what does the FAT32 file system create an entry for?
each file in the system that comprises 32 bits
what allows for the creation of large disk partitions while still retaining high read/write speeds? FAT32. Also valuable for keeping track of additional file information, like icon size and color schemes.
it makes an entry for each file size of 32 bits rather than 16.
what can FAT32 represent clusters with without affecting allocation?
32 bit numbers
what are 28 bits of cluster-representing numbers reserved for in FAT32?
cluster number, making it suitable to store millions of files of the same type without sacrificing stability.
What is the only file system that can work natively with MS-DOS, Windows, and MacOS simultaneously?
FAT32
What does the longer string of cluster numbers in FAT32 result in?
faster data recovery
what does FAT32 store files in?
fixed clusters along the drive, and makes a directory containing the necessary information.
what information does the directory contain for FAT32?
file address, end pointer, sector allocation type
How can the FAT32 file directory be accessed?
the boot sector of the OS, which lets the user access the file if they have some reference of its location. don’t need complete information if the partial information is unique to the file you want.
Why can a system with FAT32 find the file called video games rapidly?
it doesn’t need to scan the whole drive, only specific clusters, so it can fetch the address quickly and display it on the screen.
if you have many files with the same name on a FAT32 system, how can you filter to narrow your search?
file type, size.
What file transfer speed does FAT32 support?
up to 5 MB/s
What does each cluster in a FAT32 system have?
a specific address, end of file pointer, and an identifier that denotes the type of file stored.
when you need to access a file, what does your query go through for FAT32?
the directory holding the cluster information, to locate the desired clusters with their specific entries.
What size of drive can you create with a default FAT32 system?
16TB drive with 64 KB clusters.
Since the amount of clusters remains the same, what must you determine before formatting the drive with FAT32?
how much storage space you will need.
What is the minimum size partition I can format with FAT32?
32 MB partition
What is the range of file sizes supported by FAT32?
16 bytes to 4GB, with LFS.
How large can your stored files be with FAT32+?
256 GB
How can you exercise basic encryption with FAT32?
limiting access to the files as read-only or archived. For better security, use an external program to encrypt pen drives or partitions.
What is FAT32 used for?
format portable drives like SD cards and pen drives to run on Windows and macOS, dual boot, use on hybrid drives, store digital camera files and mid-range phones, format server drives for access from multiple OS.
What is the earliest year a device that supports FAT32 would have come out?
1993
why can you access sectors of the same drive from different OS with FAT32?
because the directory is stored away from the drive partition. Makes it good for VM.
When does storage efficiency fall for FAT32? what drives?
when you use drives above 32 GB. Ex: 6 TB hd formatted for FAT32 will only give you a usable space of 5.45 TB.
Does FAT32 have native file encryption?
no
Why are drives formatted with FAT32 susceptible to data fragmentation?
the clusters might shift their location through malware or data corruption, making it impossible to access them through the directory.
what is the maximum read/write speed of FAT32?
5 MB/s
When was NTFS first introduced?
1993, new unveiled 2012
what does NTFS stand for?
new technology file system
What does exFAT stand for?
extended File Allocation Table
When was exFAT first introduced?
2006
What is the native encryption on NTFS?
EFS, also supports BitLocker
What is the native encryption on exFAT?
none
what is the max accessing speed on NTFS?
25 MB/s
what is the minimum file size for NTFS and exFAT?
512 bytes
What is the max file size for my NTFS?
8PB
What is a storage disk divided into?
partitions
what is a piece of a disk that you can manage?
partition
What gives the illusion that you are dividing a disk into separate disks?
making partitions
what do you need to do to add a file system to a disk?
create a partition
How many partitions do you normally have for your OS?
one.
can you add different file systems on different partitions?
yes
what do partitions act as?
sub disks using the same physical disk
What happens when you format a filesystem on a partition?
it becomes a volume.
What tells the OS how the disk is partitioned? which partitions you can boot from, how much space is allocated to partition, etc.
Partition table
What are the two main partition schemes that are used?
MBR (Master Boot Record) and GPT (GUID Partition Table)
What decide how to structure the information on partitions?
the partition schemes
what is a traditional partition table? Mostly used in the Windows OS. 2TB max volume size, uses primary partitions, only lets you have 4 primary partitions, which you must, if you want more, make into extended partition, then logical partition. Slow, fading out.
MBR
What is the new standard for disks, volume size over 2TB, one type of partition, unlimited partitions.
GPT
what is the new default BIOS?
UEFI
what partition table must your system use to use UEFI?
GPT
What is the Windows native tool for Disk partitioning and Formatting a filesystem?
the disk management utility
How do you get to disk management?
right click “this pc”, manage, “Disk management” console under the storage grouping.
what will you see in the disk management console?
a display of the disks and disk partitions, along with information about what type of file system they’re formatted with. free and total capacity of disks and partitions,
What can show up as an additional disk for you to play with in disk management?
a USB you plug in, which the computer automatically gets drivers for using plug and play.
Where can you see how a disk is formatted?
in disk management console, under the Type column
how do you reformat a usb in disk management so it uses NTFS instead of FAT32?
right click the drive, format, choose the volume label or name you want to give the disk, specify the file system,
In disk management, in Format disk window, what is allocation unit size?
the block size that will be used when you format the partition in NTFS. The size of the chunks the partition will be chopped into. Data that needs to be saved will be spread out across those chunks. If you store lots of small files, you’ll waste less space with small block sizes. If you store large files, you’ll need to read less block to assemble the file if you store them in large blocks.
what option for Allocation unit size is usually good?
default
in the format disk window, what is a quick format vs a full format?
a full format is where Windows will scan the drive for errors or bad sectors.
in format disk, what happens with enabling file or folder compression?
your files and folders will take up less space on the disk, but compressed files will need to be expanded when you open them. Thus, the computer’s processor will need to do extra work.
what will Windows warn us about when we format a disk?
that formatting the volume will erase any data that might be on it.
what is the tool used to partition from the cli?
Diskpart
What is a terminal-based tool built for managing disks from the cli? command.exe
Diskpart
what is the command you run in command.exe to open Diskpart? opens another terminal window, where the prompt reads DISKPART
Diskpart
in Diskpart, how do you list the current disks in the system?
list disk
how do you know what disk you want to format in Diskpart?
look at the disk size, which if it is a usb, will be small.
how do you select the disk you want to work with in diskpart? select disk 1, the usb.
in the line, type:
select disk 1
what does the clean command do in Diskpart?
remove all partition or volume formatting from the disk
what command creates a partition in a wiped disk in Diskpart?
create partition primary
how do you select a partition in Diskpart? select the partition you made from create partition primary, partition 1.
select partition 1
how do you mark a partition as active in Diskpart?
type: active
What command formats a partitioned disk from Diskpart? Call it my_thumb_drive
format FS=NTFS label my_thumb_drive quick
quick is the format type. You can probably format alternatively.
what does disk partitioning enable?
more efficient management of hard disk space. Breaks or slices disk. allows each partition to be managed separately by reducing inefficient use of space.
What utility on Windows can manage partitions of hard disks including deleting, creating, merging, or expanding partitions and volumes? Can also be used to assign a file formatting system to a partition or volume
DiskPart
What are the three main divisions of storage on a drive?
cluster, volume, partition
What is the minimum amount of space a file can take up in a volume or drive?
cluster, allocation unit size
what is a single accessible storage area with a single file system, which can be across a single or multiple disks?
Volume
What is a logical division of a hard disk that can create unique spaces on a single drive? generally used for allowing multiple OS
Partition
DiskPart Commands
https://drive.google.com/file/d/1qDFyYB5uYLranPk9pZBz0heq0B5hmroH/view
why is cluster size important?
a file will take up the entire size of the cluster, regardless of how much space it actually requires in the cluster.
ex: if the cluster size is 4kb, and the file is 4.1 KB, then you take up two clusters with it, and effectively lose 3.9 KB of space on the drive.
What should you base the specification of your cluster size on?
File sizes
What is a default cluster size based on?
the size of the partition
what can result in loss of usable storage space?
using partitions that are too big for your file sizes, or too small. Having too little overlap between clusters.
what is important to remember so you don’t accidentally lose data when formatting a drive?
actions here are permanent.
What is making something accessible to the computer, like a filesystem or a hard disk, called?
Mounting
What OS does mounting automatically?
Windows. You can plug and play.
What does ejecting a drive do?
unmount
how do you unmount a drive?
right click and select Eject.
what tool in linux supports mbr and gpt partitioning?
parted tool
what two modes can the parted tool be used in?
interactive and command line
what does interactive mean?
launched into a separate program from the cli, like with less command.
what command can we run in the command line to show what disks are connected to the computer?
sudo parted -l