equal
deleted
inserted
replaced
|
1 .. -*- coding: utf-8; -*- |
|
2 .. include:: HEADER.rst |
|
3 |
|
4 ====== |
|
5 NTFS |
|
6 ====== |
|
7 .. contents:: |
|
8 :local: |
|
9 |
|
10 Debian etch |
|
11 =========== |
|
12 |
|
13 Find your ntfs partition:: |
|
14 |
|
15 $ sfdisk -l |
|
16 |
|
17 or:: |
|
18 |
|
19 $ fdisk -l |
|
20 |
|
21 Make read only |
|
22 ============== |
|
23 :: |
|
24 |
|
25 $ sudo mount -t ntfs -o ro,utf8,umask=333 /dev/sd<x><y> /mnt/ntfs |
|
26 |
|
27 where <x> is drive letter as [a-z], <y> is partition number as [1-4]|5|6|... |
|
28 |
|
29 With write access |
|
30 ================= |
|
31 |
|
32 Install ntfs-3g. It can be found in sid (backports). To do that install packages |
|
33 ``fuse-utils``, ``libfuse2``, ``libntfs-3g``, ``ntfs-3g`` (in such order). Add |
|
34 some thing like:: |
|
35 |
|
36 deb http://www.backports.org/debian etch-backports main |
|
37 |
|
38 to /etc/apt/source.list to get access to backported packages and update package |
|
39 database:: |
|
40 |
|
41 $ apt-get update |
|
42 |
|
43 and install throw aptitude packeges. Also you can manually download and install |
|
44 this packeges throw ``dpkg --install``. |
|
45 |
|
46 Users from ``fuse`` group can now mount NTFS volume:: |
|
47 |
|
48 $ mount -t ntfs-3g -o rw,utf8,force,gid=windir,dmask=002,fmask=113 /dev/sd<x><y> /mnt/ntfs |
|
49 |
|
50 For help see ``ntfs-3g(8)``. |
|
51 |