(no title)
noinsight | 3 months ago
You can mount partitions under directories just like you can in Linux/Unix.
PowerShell has Add-PartitionAccessPath for this:
> mkdir C:\Disk
> Add-PartitionAccessPath -DiskNumber 1 -PartitionNumber 2 -AccessPath "C:\Disk"
> ls C:\Disk
It will persist through reboots too.
jeroenhd|3 months ago
For permanently mounted drives, I'd pick symbolic links over mount points because this lets you do file system maintenance and such much easier on a per-drive level. You can still keep everything under C:\ and treat it like a weird / on Unix, but it you need to defragment your backup hard drive you won't need to beat the partition manager into submission to make the defragment button show up for your mounted path.
int_19h|3 months ago
magicalhippo|3 months ago
EvanAnderson|3 months ago
jasomill|3 months ago
zamadatix|3 months ago
When you create/format the partition in the GUI tools it'll actually ask if you want to assign a drive letter or mount as a path as well.
chungy|3 months ago
p_ing|3 months ago
Used to be able to use these with SQL Server.... 2000.
PunchyHamster|3 months ago
int_19h|3 months ago
mschuster91|3 months ago
nolok|3 months ago
korhojoa|3 months ago