Firs, we need to install cifs, which comes right alongside smbfs. If you have smbfs, then you have cifs. If you don't, open up a terminal and get it:
引用
sudo apt-get install smbfs
Next, all mounted drives need to mount to some folder on your local drive. I prefer to mount mine in the /media folder, which makes sense, as your cdrom is mounted there along with other drives, including things like external and thumb drives. Type the following, replacing my_share with whatever folder name you want your share to be (this doesn't matter at all, it can be called anything and go anywhere).
引用
sudo mkdir /mount/my_share
Now, while we're going to perform some permanent mounts later (so that the disk mounts after a restart), let's start with a manual mount.
引用
sudo mount -t cifs //192.168.1.102/share_name /media/my_share -o username=theuser,password=thepass,iocharset=utf8,file_mode=0777,dir_mode=0777
We now have proof of concept, but we want the drive to mount automatically on restart. First, let's unmount the drive so that we can test our remounting of it later. The following should do it.
引用
sudo umount //192.168.1.102/share_name
The share should've disappeared from your desktop. Important, we will use the /etc/fstab file to mount the share by inserting a similar command as above into that file. This file can be read by anyone on your computer, which would mean that anyone could read the username and password you specify for you mount. If you don't care (come on guys, care a little), then simply do the following:
分享到:
相关推荐
1.1.1.1 Ensure mounting of cramfs filesystems is disabled (Scored) .............................. 20 1.1.1.2 Ensure mounting of freevxfs filesystems is disabled (Scored)............................ 22...
Contains the CIFS DFS referral mounting routines used for handling traversal via DFS junction point
5.2.8 Using Multiterabyte UFS File Systems 115 5.2.9 Creating UFS Snapshots 115 5.3 ZFS File System Administration 117 5.3.1 Using Pools and File Systems 118 5.3.2 Backing Up a ZFS File System 120 ...
IEC 61760 全系列 - Surface mounting technology(表面贴装技术) - 包含全部5份完整英文版文件: 1,IEC 61760-1:2020 Surface mounting technology - Part 1:Standard method for the specification of surface...
Ext2Fsd is an ext2 file system driver for Windows (2k, XP, Vista and Win7). It’s a free software. Anyone can modify or distribute it under GPL2. Features Ext2Fsd supports: ext2/ext3 volume reading ...
9. **链接(Linking)**:硬链接是指两个或多个目录项指向同一个inode,而软链接(符号链接)则类似Windows的快捷方式,保存了目标文件的路径名。 10. **挂载(Mounting)**:在MINIX系统中,文件系统可以被挂载到...
- **File System Management**: Discussion of managing the file system, including creating, mounting, and unmounting filesystems. - **Backup Strategies**: Overview of backup strategies, including full, ...
由于文档内容存在OCR识别错误,提供的内容片段似乎是从一份用户手册中摘录的关于西门子SINAMICS G110M壁挂式安装套件的部分安全使用指南。此部分内容主要强调了与电气设备接触时潜在的危险,特别是设备中的直流链路...
Understanding Electronics Using Basic Physics <br>Preface xi 1 The Electric Field 1 1.1 Introduction 1 1.2 Charge 2 1.3 Electrical Forces on Charged Bodies 3 1.4 Electric Field 4 ...
根据给定文件的信息,我们可以详细地探讨Windows 8的一些关键新功能。这些功能不仅提升了用户的使用体验,还在一定程度上改变了Windows操作系统的某些方面。 ### 存储功能 #### 1. ISO Mounting Windows 8引入了...
8.8. Mounting a disk image using the loop device 8.8.1. ...on Linux 8.8.2. ...on FreeBSD 8.9. Simulating a Symmetric Multiprocessor (SMP) Machine 8.10. Setting Up Networking in DLX Linux 8.11. ...
《UL 2703: 2021 Mounting Systems, Mounting Devices, Clamping Retention Devices, and Ground Lugs for Use with Flat-Plate Photovoltaic Modules and Panels》是美国保险商实验室(Underwriters Laboratories, ...
【船级社】 DNV Foundation and mounting of machinery 2019-07.pdf
Fast command-line navigation using pushd and popd 126 Counting number of lines, words, and characters in a file 128 Printing directory tree 129 Chapter 4: Texting and Driving 131 Introduction 132 ...
gives information on mounting and using squashfs filesystems stored on block devices and as normal files using the loopback device. 1. Squashfs overview -------------------- 1. Data, inodes and ...
GM关于模态测试的规范,特别是对动力总成悬置系统的模态测试有详细说明。 GMW14762_Powertrain_Mounting_Rigid_Body_Modes_Evaluation_Procedure
发动机悬置系统设计方法的研究涉及了工程力学、振动理论、材料学等多个领域。悬置系统的主要作用是隔离发动机产生的振动,保证车辆在运行中乘客的舒适度以及整车的稳定性和安全性。对于高速大功率柴油机的悬置系统...
本文档为通用汽车公司(GM)发布的工程标准,标题为“GMW14762_Powertrain_Mounting_Rigid_Body_Modes_Evaluation_Procedure”,涉及动力总成悬置系统的刚体模态评估程序。该标准旨在确定动力总成在车载状态下0至40...