Gentoo Archives: gentoo-user

From: David W Noon <dwnoon@××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] samba vs. cifs
Date: Wed, 05 May 2010 22:27:10
Message-Id: 20100505232549.22ed332c@karnak.local
1 On Wed, 05 May 2010 23:20:01 +0200, Matt Harrison wrote about Re:
2 [gentoo-user] samba vs. cifs:
3
4 >On Wed, May 05, 2010 at 06:42:09PM +0200, KH wrote:
5 [snip]
6 >> specific (don't want to hear "moo"): Will I be able to mount a samba
7 >> partition without setting the samba use flag and after unmerging
8 >> samba?
9 >>
10 >> Regards
11 >> kh
12 >
13 >I just enable cifs in the kernel and install the mount-cifs script.
14 >That lets me mount remote shares with no trouble at all.
15
16 I don't even install the mount-cifs script. I simply put the share
17 definition in /etc/fstab on the client, and then use the vanilla mount
18 command. E.g.,
19
20 //192.168.0.2/backups /usr/local/remote_backups cifs
21 noauto,noexec,noatime,nodiratime,user=root,pass=eetoot 0 0
22
23 [The above should be on 1 line.]
24
25 Note that my real password for root is not "eetoot"; that is simply a
26 fake password I set up for Samba shares.
27
28 Whenever I need to transfer a backup archive to the server, I simply
29 issue:
30 mount /usr/local/remote_backups
31 and then copy the data across.
32 --
33 Regards,
34
35 Dave [RLU #314465]
36 ======================================================================
37 dwnoon@××××××××.com (David W Noon)
38 ======================================================================

Attachments

File name MIME type
signature.asc application/pgp-signature