mounting a partition as a folder on home diretory
i've got an unused partition which i'd like to mount as a folder
can someone give me a quick instruction on this? it is a NTFS partition (empty) and i would like to have it permanently mounted as a diretory on home/user i know i'd have to also edit fstab but clueless on what to add/edit on the file thanks for any help |
Okay, thats simple enough, you'll need to know the device name for your partition, then it should be something like this:
Code:
/dev/sda3 /home/mountpoint ntfs defaults 0 2 Code:
fdisk -l To ensure you can mount ntfs, you want to: Code:
grep ntfs /proc/filesystems |
Quote:
i understand the first few portions of the line /dev/sdax /home/mountpoint ntfs which in my case is: /dev/sda9 /home/manu/Download ntfs - for filesystem type but i don't get the 0 and 2 part? and what they apply to... are 0 and 2 standard? or it depends on the configurations of my drive? fdisk -l reports this: Code:
sudo fdisk -l Quote:
|
Have you even tried to add this to fstab? There are generally instructions in there. From my fstab:
Code:
jc@jcmain:~$ cat /etc/fstab fdisk -l was merely to suss out which the partition was. As I thought I'd made clear, that command, should it return nothing, means you have to download the driver for ntfs. If it returns anything, you don't have to do anything. |
Quote:
returns nothing but i checked and i already have ntfs-3g installed |
Since the directory is empty, why not reformat it using a native linux filesystem such as ext3?
|
Quote:
sharing with windows, i think it's easiest to keep it at ntfs... by the way here's my fstab file after adding two lines: Code:
# /etc/fstab |
Tabs are fine in fstab
|
some kernel versions support only to read (not write) even after having installed ntfs-3g, i faced this experienced on some RHEL versions
|
Quote:
|
Quote:
|
Quote:
ntfs works fine for me tho - so far ;) |
All times are GMT -5. The time now is 03:26 AM. |