Quote:
Originally Posted by EntTheGod
hm... thought there was a way to do that...
WELL once you figure out which partition number it is you can always symlink it in the dev folder like /dev/windows > /dev/sda1
 that way you can mount /dev/windows /mnt
drive letters will actually change if you put more drives in the system though so if you do that just pay attention if you change your set up
|
You can do this dynamically with udev rules. You feed it some drive specific parameters (model number, manufacturer, etc) and it will create your specified symlink for you (you can do many other things too). Also depending on your kernel configuration /dev will be a ramdisk that gets recreated and populated during boot so links may not stick.
The easier way if you have Linux formatted drives is just to use partition labels. You can label ext2/3/4 partitions running
Code:
e2label /dev/sda1 name
Other filesystems including swap support labeling too using fs specific commands. Once labeled you can reference the partition as "/dev/disk/by-label/name" or "LABEL=name".