Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

Link To Windows Drive?

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
bobber205
Guru
Guru
User avatar
Posts: 561
Joined: Wed Aug 23, 2006 4:23 am
Location: Oregon
Contact:
Contact bobber205
Website

Link To Windows Drive?

  • Quote

Post by bobber205 » Mon Aug 20, 2007 9:01 pm

Is there anyway to make a link to a \\computer\share resource?

Thanks. :)
Top
aqu
Apprentice
Apprentice
User avatar
Posts: 249
Joined: Sat Nov 12, 2005 8:10 am
Location: Kalisz, Poland
Contact:
Contact aqu
Website

  • Quote

Post by aqu » Mon Aug 20, 2007 9:32 pm

sure there is ;)

scenario 1.
if \\computer is somewhere in LAN, then all you need to do is emerge samba and mount shared resource wherever you want :) (eventually add it into /etc/fstab and mount it every boot

scenario 2.
if \\computer is your localhost then (if you have ntfs partition) emerge fuse ntfs3g, mount you windows partition (mount -t ntfs-3g /dev/hdXX /mount/point) and link directory wherever you want ( ln -s /mount/point/shared/directory /link/name)

thats all ;) any questions ? ;)

/bp
Security is like Ogres and Onions, they have layers.
Linux - Registered user #415939

adopt an unanswered post
Top
Monkeh
Veteran
Veteran
User avatar
Posts: 1656
Joined: Sat Aug 06, 2005 11:58 am
Location: England

  • Quote

Post by Monkeh » Mon Aug 20, 2007 9:43 pm

aqu wrote:scenario 1.
if \\computer is somewhere in LAN, then all you need to do is emerge samba and mount shared resource wherever you want :) (eventually add it into /etc/fstab and mount it every boot
You do not need samba. Samba (the package) is a server, not a client. The client code is in the kernel.
Top
tarpman
Veteran
Veteran
User avatar
Posts: 1083
Joined: Thu Nov 04, 2004 2:55 am
Location: Victoria, BC, Canada

  • Quote

Post by tarpman » Tue Aug 21, 2007 4:43 pm

Monkeh wrote:
aqu wrote:scenario 1.
if \\computer is somewhere in LAN, then all you need to do is emerge samba and mount shared resource wherever you want :) (eventually add it into /etc/fstab and mount it every boot
You do not need samba. Samba (the package) is a server, not a client. The client code is in the kernel.
You do, however, need mount.cifs(8), which is part of the net-fs/samba package.
Saving the world, one kilobyte at a time.
Top
Monkeh
Veteran
Veteran
User avatar
Posts: 1656
Joined: Sat Aug 06, 2005 11:58 am
Location: England

  • Quote

Post by Monkeh » Tue Aug 21, 2007 5:52 pm

tarpman wrote:
Monkeh wrote:
aqu wrote:scenario 1.
if \\computer is somewhere in LAN, then all you need to do is emerge samba and mount shared resource wherever you want :) (eventually add it into /etc/fstab and mount it every boot
You do not need samba. Samba (the package) is a server, not a client. The client code is in the kernel.
You do, however, need mount.cifs(8), which is part of the net-fs/samba package.
Good point, I forgot about that.. there really needs to be a minimal package for such things so you don't end up building the entire server suite.
Top
Post Reply

5 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic