Assign a Drive Letter to a Folder

Rashkae ubuntu at tigershaunt.com
Wed Oct 28 14:43:41 UTC 2009


Prabhat Tyagi wrote:
> What any body know how to map a network folder in ubuntu like windows map as
> a drive
> 

Linux does not have a concept anything like drive letters, so no.

But you haven't stated what you're trying to achieve.  Odds are, what
you want to do is to mount a network share.  Here's a quick and dirty
primer, but google will be your friend, (or return with more info)

Assuming you are trying to mount a CIFS share (Windows file sharing, or
Samba.) First you'll have install the smbfs package

sudo mkdir /mnt/test

sudo mount -t cifs //servername/sharename /mnt/test -o
username=winusername uid=localUsername

It's also possible to put the relevant information in your fstab file
for the network mount to happen at boot.  I've also been known to put
the relevant mount commands in the rc.local file







More information about the ubuntu-users mailing list