5 replies
by jaolson40
For general access under Linux, short answer: you don't. You simple mount the drives under a mount point (a directory created for the purpose of mounting the drive), and access it that way. If you are needing to access the drives through a drive letter to be able to use Windows applications (say, under WINE), then edit the config file in /home//.wine and add sections that read as follows:
[Drive x]
"Path" = ""
"Type" = "hd"
"Label" = "MS-DOS"
"Filesystem" = "win95"
...as many as required (from E to Z, of course).
Hope this helps.
by wernbr
by roger
If you are simply trying to make it easier for you to reference drives like windows drives you could make a directory in your / directory for each removable drive you have. Name the drives A: B: etc. (mkdir /A:) Then make soft links to the directories (ln -s A: a:) This will make A: and a: refer to the same location. These steps only need to be done once!
For your floppy drive(s) change the /etc/fstab entry for /dev/fd0 from /mnt/floppy to /A: and if you have a second floppy drive change/dev/fd1 from /mnt/floppy to /B: Don't change anything else on these lines unless you know what they do!
For your hard drives you need to make 2 symbolic links to each partition. First look at your /etc/fstab table for the hard drive partitionsused, then create links like this: ln -s / /c: and ln -s / /C:
In linux the file systems normally start at / (root) and each additonal file device is added to the file system as a continuous tree. In Windows the tree is present for each hard drive. Linux maps all drives into the root structure. Remember that in creating links like the ones described above can create a file system tree that looks strange. If you do a cd /c: to change to drive c:, and then do a cd c: 3 times (without the leading /) then type pwd (Print working directory) you will see the following: /C:/C:/C:/C: instead of the expected C: that you would see from Windows. Also note that if /usr is located on a different partition and you make a link as ln -s /usr /D: and then do a cd /D: you would be at the same point as a cd /usr! It might be worth your time to re-think why you want to do this before proceeding!
by wernbr
by wernbr
This discussion is closed to new replies.
Trending Linux posts
Sort by Trending