MinhTech.com

Yet another technology tutorial blog.

Fedora Linux Mount Samba, WebDAV

By • Mar 4th, 2009 • Category: Linux

Here is how to mount various filesystems in Fedora Linux 10.

First, List the Filesystems:

> fdisk -l

Use fdisk, the partition table manipulator for Linux, to list all partition tables.

Mount a Partition:

> mkdir /mnt/usbdrive
> mount /dev/sdb1 /mnt/usbdrive

Create a directory as a mount point and then mount the partition to the directory.

Mount a NTFS Partition:

> mkdir /mnt/usbdrive
> mount -t ntfs-3g /dev/sdb1 /mnt/usbdrive

You may need to install the ntfs-3g driver (yum install ntfs-3g).

Mount a Samba Share:

> mkdir /mnt/smbshare
> mount //192.168.1.101/data /mnt/smbshare -o username=mnguyen,password=password

Install fuse and wdfs To Mount a WebDAV Folder:

> yum install fuse wdfs

Mount a WebDAV Folder:

> mkdir /mnt/webdav
> wdfs http://webdav.domain.com/ /mnt/webdav -o username=mnguyen,password=password,allow_other

Unmount a Filesystem:

> umount /mnt/usbdrive

If the filesystem is busy, determine what process is using the filesystem (e.g. /dev/sdb1) with “fuser -m /dev/sdb1” and then look up the PID (e.g. 123) with “ps auxw | grep 123“.

is a technology junkie.
Email this author | All posts by

Leave a Reply