source: postlfs/filesystems/ntfs-3g.xml@ 421128a1

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 421128a1 was 421128a1, checked in by Pierre Labastie <pieere@…>, 9 years ago

Second round of Kernel Configuration layout changes

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@15096 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 15.7 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY ntfs-3g-download-http
8 "http://tuxera.com/opensource/ntfs-3g_ntfsprogs-&ntfs-3g-version;.tgz">
9 <!ENTITY ntfs-3g-download-ftp " ">
10 <!ENTITY ntfs-3g-md5sum "f11d563816249d730a00498983485f3a">
11 <!ENTITY ntfs-3g-size "1.1 MB">
12 <!ENTITY ntfs-3g-buildsize "24 MB">
13 <!ENTITY ntfs-3g-time "0.4 SBU">
14]>
15
16<sect1 id="ntfs-3g" xreflabel="ntfs-3g-&ntfs-3g-version;">
17 <?dbhtml filename="ntfs-3g.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>ntfs-3g-&ntfs-3g-version;</title>
25
26 <indexterm zone="ntfs-3g">
27 <primary sortas="a-ntfs-3g">ntfs-3g</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to Ntfs-3g</title>
32
33 <para>
34 The <application>Ntfs-3g</application> package contains a stable,
35 read-write open source driver for NTFS partitions. NTFS partitions are
36 used by newer Microsoft operating systems. Ntfs-3g enables you to mount
37 NTFS partitions in read-write mode from your Linux system. It uses the
38 FUSE kernel module to be able to implement NTFS support in user space.
39 </para>
40 <para>
41 This package contains both the NTFS-3g driver itself and various utilities
42 useful for manipulating NTFS partitions.
43 </para>
44
45 &lfs76_checked;
46
47 <bridgehead renderas="sect3">Package Information</bridgehead>
48 <itemizedlist spacing="compact">
49 <listitem>
50 <para>
51 Download (HTTP): <ulink url="&ntfs-3g-download-http;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download (FTP): <ulink url="&ntfs-3g-download-ftp;"/>
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download MD5 sum: &ntfs-3g-md5sum;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Download size: &ntfs-3g-size;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated disk space required: &ntfs-3g-buildsize;
72 </para>
73 </listitem>
74 <listitem>
75 <para>
76 Estimated build time: &ntfs-3g-time;
77 </para>
78 </listitem>
79 </itemizedlist>
80
81 <bridgehead renderas="sect3">Ntfs-3g Dependencies</bridgehead>
82
83 <bridgehead renderas="sect4">Optional</bridgehead>
84 <para role="optional">
85 <xref linkend="fuse"/>.
86 </para>
87
88 <para condition="html" role="usernotes">
89 User Notes: <ulink url="&blfs-wiki;/ntfs-3g"/>
90 </para>
91 </sect2>
92
93 <sect2 role="kernel" id="ntfs-3g-kernel">
94 <title>Kernel Configuration</title>
95
96 <para>
97 Enable the following options in the kernel configuration and recompile the
98 kernel if necessary:
99 </para>
100
101<screen><literal>File systems ---&gt;
102 &lt;*/M&gt; FUSE (Filesystem in Userspace) support [CONFIG_FUSE_FS]</literal></screen>
103
104 <indexterm zone="ntfs-3g ntfs-3g-kernel">
105 <primary sortas="d-ntfs-3g">ntfs-3g</primary>
106 </indexterm>
107 </sect2>
108
109 <sect2 role="installation">
110 <title>Installation of Ntfs-3g</title>
111
112 <para>
113 Install <application>Ntfs-3g</application> by running the following
114 commands:
115 </para>
116
117<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
118make</userinput></screen>
119
120 <para>
121 This package does not come with a test suite.
122 </para>
123
124 <para>
125 Now, as the <systemitem class="username">root</systemitem> user:
126 </para>
127
128<screen role="root"><userinput>make install &amp;&amp;
129ln -sv ../bin/ntfs-3g /sbin/mount.ntfs &amp;&amp;
130ln -sv /usr/share/man/man8/{ntfs-3g,mount.ntfs}.8</userinput></screen>
131
132 <para>
133 If you want ordinary users to be able to mount NTFS partitions you'll need
134 to set mount.ntfs with the root user ID. Note: it is probably unsafe to do
135 this on a computer that needs to be secure (like a server). As the
136 <systemitem class="username">root</systemitem> user:
137 </para>
138
139<screen role="root"><userinput>chmod -v 4755 /sbin/mount.ntfs</userinput></screen>
140
141 </sect2>
142
143 <sect2 role="commands">
144 <title>Command Explanations</title>
145
146 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
147 href="../../xincludes/static-libraries.xml"/>
148
149 <para>
150 <option>--with-fuse=external</option>: Ntfs-3g comes with a version of
151 Fuse which it statically compiles into <command>lowntfs-3g</command> and
152 <command>ntfs-3g</command>. If you have installed <xref linkend="fuse"/>
153 use this option to dynamically link <command>lowntfs-3g</command> and
154 <command>ntfs-3g</command> to libfuse.
155 </para>
156
157 <para>
158 <option>--disable-ntfsprogs</option>: Disables installation of various
159 utilities used to manipulate NTFS partitions.
160 </para>
161
162 <para>
163 <command>ln -sv ../bin/ntfs-3g /sbin/mount.ntfs</command>: Creating
164 /sbin/mount.ntfs makes <command>mount</command> default to using Ntfs-3g
165 to mount NTFS partitions.
166 </para>
167
168 <para>
169 <command>chmod -v 4755 /sbin/mount.ntfs</command>: Making mount.ntfs setuid
170 root allows non root users to mount NTFS partitions.
171 </para>
172
173 </sect2>
174
175 <sect2 role="configuration">
176 <title>Using Ntfs-3g</title>
177
178 <para>
179 To mount a Windows partition at boot time, put a line like this in
180 /etc/fstab:
181 </para>
182
183 <screen>/dev/sda1 /mnt/windows auto defaults 0 0</screen>
184
185 <para>
186 To allow users to mount a usb stick with an NTFS filesystem on it, put a
187 line similar this (change sdc1 to whatever a usb stick would be on your
188 system) in /etc/fstab:
189 </para>
190
191 <screen>/dev/sdc1 /mnt/usb auto user,noauto,umask=0,utf8 0 0</screen>
192
193 <para>
194 For a user to be able to mount the usb stick they will need to be able to
195 write to <filename class="directory">/mnt/usb</filename>, so as the
196 <systemitem class="username">root</systemitem>
197 user:
198 </para>
199
200<screen role="root"><userinput>chmod -v 777 /mnt/usb</userinput></screen>
201
202 </sect2>
203
204 <sect2 role="content">
205 <title>Contents</title>
206
207 <segmentedlist>
208 <segtitle>Installed Programs</segtitle>
209 <segtitle>Installed Library</segtitle>
210 <segtitle>Installed Directories</segtitle>
211
212 <seglistitem>
213 <seg>
214 lowntfs-3g, mkfs.ntfs, mkntfs, mount.lowntfs-3g,
215 mount.ntfs, mount.ntfs-3g, ntfs-3g, ntfs-3g.probe,
216 ntfs-3g.secaudit, ntfs-3g.usermap, ntfscat,
217 ntfsclone, ntfscluster, ntfscmp, ntfscp, ntfsfix,
218 ntfsinfo, ntfslabel, ntfsls, ntfsresize and
219 ntfsundelete
220 </seg>
221 <seg>
222 libntfs-3g.so
223 </seg>
224 <seg>
225 /usr/include/ntfs-3g and
226 /usr/share/doc/ntfs-3g
227 </seg>
228 </seglistitem>
229 </segmentedlist>
230
231 <variablelist>
232 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
233 <?dbfo list-presentation="list"?>
234 <?dbhtml list-presentation="table"?>
235
236 <varlistentry id="lowntfs-3g">
237 <term><command>lowntfs-3g</command></term>
238 <listitem>
239 <para>
240 is similar to ntfs-3g but uses the Fuse low-level interface.
241 </para>
242 <indexterm zone="ntfs-3g lowntfs-3g">
243 <primary sortas="b-lowntfs-3g">lowntfs-3g</primary>
244 </indexterm>
245 </listitem>
246 </varlistentry>
247
248 <varlistentry id="mkfs.ntfs">
249 <term><command>mkfs.ntfs</command></term>
250 <listitem>
251 <para>
252 is a symlink to mkntfs.
253 </para>
254 <indexterm zone="ntfs-3g mkfs.ntfs">
255 <primary sortas="b-mkfs.ntfs">mkfs.ntfs</primary>
256 </indexterm>
257 </listitem>
258 </varlistentry>
259
260 <varlistentry id="mkntfs">
261 <term><command>mkntfs</command></term>
262 <listitem>
263 <para>
264 creates an NTFS file system.
265 </para>
266 <indexterm zone="ntfs-3g mkntfs">
267 <primary sortas="b-mkntfs">mkntfs</primary>
268 </indexterm>
269 </listitem>
270 </varlistentry>
271
272 <varlistentry id="mount.lowntfs-3g">
273 <term><command>mount.lowntfs-3g</command></term>
274 <listitem>
275 <para>
276 is a symlink to lowntfs-3g.
277 </para>
278 <indexterm zone="ntfs-3g mount.lowntfs-3g">
279 <primary sortas="b-mount.lowntfs-3g">mount.lowntfs-3g</primary>
280 </indexterm>
281 </listitem>
282 </varlistentry>
283
284 <varlistentry id="mount.ntfs">
285 <term><command>mount.ntfs</command></term>
286 <listitem>
287 <para>
288 mounts an NTFS filesystem.
289 </para>
290 <indexterm zone="ntfs-3g mount.ntfs">
291 <primary sortas="b-mount.ntfs">mount.ntfs</primary>
292 </indexterm>
293 </listitem>
294 </varlistentry>
295
296 <varlistentry id="mount.ntfs-3g">
297 <term><command>mount.ntfs-3g</command></term>
298 <listitem>
299 <para>
300 is a symbolic link to ntfs-3g.
301 </para>
302 <indexterm zone="ntfs-3g mount.ntfs-3g">
303 <primary sortas="b-mount.ntfs-3g">mount.ntfs-3g</primary>
304 </indexterm>
305 </listitem>
306 </varlistentry>
307
308 <varlistentry id="ntfs-3g-prog">
309 <term><command>ntfs-3g</command></term>
310 <listitem>
311 <para>
312 is an NTFS driver, which can create, remove, rename, move
313 files, directories, hard links, and streams; it can read and write
314 files, including streams, sparse files and transparently compressed
315 files; it can handle special files like symbolic links, devices, and
316 FIFOs; moreover it provides standard management of file ownership
317 and permissions, including POSIX ACLs.
318 </para>
319 <indexterm zone="ntfs-3g ntfs-3g-prog">
320 <primary sortas="b-ntfs-3g">ntfs-3g</primary>
321 </indexterm>
322 </listitem>
323 </varlistentry>
324
325 <varlistentry id="ntfs-3g.probe">
326 <term><command>ntfs-3g.probe</command></term>
327 <listitem>
328 <para>
329 tests if an NTFS volume is mountable read only or read-write, and
330 exits with a status value accordingly. The volume can be a block
331 device or image file.
332 </para>
333 <indexterm zone="ntfs-3g ntfs-3g.probe">
334 <primary sortas="b-ntfs-3g.probe">ntfs-3g.probe</primary>
335 </indexterm>
336 </listitem>
337 </varlistentry>
338
339 <varlistentry id="ntfs-3g.secaudit">
340 <term><command>ntfs-3g.secaudit</command></term>
341 <listitem>
342 <para>
343 audits NTFS Security Data.
344 </para>
345 <indexterm zone="ntfs-3g ntfs-3g.secaudit">
346 <primary sortas="b-ntfs-3g.secaudit">ntfs-3g.secaudit</primary>
347 </indexterm>
348 </listitem>
349 </varlistentry>
350
351 <varlistentry id="ntfs-3g.usermap">
352 <term><command>ntfs-3g.usermap</command></term>
353 <listitem>
354 <para>
355 creates the file defining the mapping of Windows accounts to Linux
356 logins for users who owns files which should be visible from both
357 Windows and Linux.
358 </para>
359 <indexterm zone="ntfs-3g ntfs-3g.usermap">
360 <primary sortas="b-ntfs-3g.usermap">ntfs-3g.usermap</primary>
361 </indexterm>
362 </listitem>
363 </varlistentry>
364
365 <varlistentry id="ntfscluster">
366 <term><command>ntfscluster</command></term>
367 <listitem>
368 <para>
369 identifies files in a specified region of an NTFS volume
370 </para>
371 <indexterm zone="ntfs-3g ntfscluster">
372 <primary sortas="b-ntfscluster">ntfscluster</primary>
373 </indexterm>
374 </listitem>
375 </varlistentry>
376
377 <varlistentry id="ntfscp">
378 <term><command>ntfscp</command></term>
379 <listitem>
380 <para>
381 copies a file to an NTFS volume.
382 </para>
383 <indexterm zone="ntfs-3g ntfscp">
384 <primary sortas="b-ntfscp">ntfscp</primary>
385 </indexterm>
386 </listitem>
387 </varlistentry>
388
389 <varlistentry id="ntfsfix">
390 <term><command>ntfsfix</command></term>
391 <listitem>
392 <para>
393 fixes common errors and forces Windows to check an NTFS partition.
394 </para>
395 <indexterm zone="ntfs-3g ntfsfix">
396 <primary sortas="b-ntfsfix">ntfsfix</primary>
397 </indexterm>
398 </listitem>
399 </varlistentry>
400
401 <varlistentry id="ntfsls">
402 <term><command>ntfsls</command></term>
403 <listitem>
404 <para>
405 lists directory contents on an NTFS filesystem.
406 </para>
407 <indexterm zone="ntfs-3g ntfsls">
408 <primary sortas="b-ntfsls">ntfsls</primary>
409 </indexterm>
410 </listitem>
411 </varlistentry>
412
413 <varlistentry id="ntfscat">
414 <term><command>ntfscat</command></term>
415 <listitem>
416 <para>
417 prints NTFS files and streams on the standard output.
418 </para>
419 <indexterm zone="ntfs-3g ntfscat">
420 <primary sortas="b-ntfscat">ntfscat</primary>
421 </indexterm>
422 </listitem>
423 </varlistentry>
424
425 <varlistentry id="ntfsclone">
426 <term><command>ntfsclone</command></term>
427 <listitem>
428 <para>
429 clones an NTFS filesystem.
430 </para>
431 <indexterm zone="ntfs-3g ntfsclone">
432 <primary sortas="b-ntfsclone">ntfsclone</primary>
433 </indexterm>
434 </listitem>
435 </varlistentry>
436
437 <varlistentry id="ntfscmp">
438 <term><command>ntfscmp</command></term>
439 <listitem>
440 <para>
441 compares two NTFS filesystems and tells the differences.
442 </para>
443 <indexterm zone="ntfs-3g ntfscmp">
444 <primary sortas="b-ntfscmp">ntfscmp</primary>
445 </indexterm>
446 </listitem>
447 </varlistentry>
448
449 <varlistentry id="ntfsinfo">
450 <term><command>ntfsinfo</command></term>
451 <listitem>
452 <para>
453 dumps a file's attributes.
454 </para>
455 <indexterm zone="ntfs-3g ntfsinfo">
456 <primary sortas="b-ntfsinfo">ntfsinfo</primary>
457 </indexterm>
458 </listitem>
459 </varlistentry>
460
461 <varlistentry id="ntfslabel">
462 <term><command>ntfslabel</command></term>
463 <listitem>
464 <para>
465 displays or changes the label on an ntfs file system.
466 </para>
467 <indexterm zone="ntfs-3g ntfslabel">
468 <primary sortas="b-ntfslabel">ntfslabel</primary>
469 </indexterm>
470 </listitem>
471 </varlistentry>
472
473 <varlistentry id="ntfsresize">
474 <term><command>ntfsresize</command></term>
475 <listitem>
476 <para>
477 resizes an NTFS filesystem without data loss.
478 </para>
479 <indexterm zone="ntfs-3g ntfsresize">
480 <primary sortas="b-ntfsresize">ntfsresize</primary>
481 </indexterm>
482 </listitem>
483 </varlistentry>
484
485 <varlistentry id="ntfsundelete">
486 <term><command>ntfsundelete</command></term>
487 <listitem>
488 <para>
489 recovers a deleted file from an NTFS volume.
490 </para>
491 <indexterm zone="ntfs-3g ntfsundelete">
492 <primary sortas="b-ntfsundelete">ntfsundelete</primary>
493 </indexterm>
494 </listitem>
495 </varlistentry>
496
497 <varlistentry id="libntfs-3g">
498 <term><filename class="libraryfile">libntfs-3g.so</filename></term>
499 <listitem>
500 <para>
501 contains the Ntfs-3g API functions.
502 </para>
503 <indexterm zone="ntfs-3g libntfs-3g">
504 <primary sortas="c-libntfs-3g">libntfs-3g.so</primary>
505 </indexterm>
506 </listitem>
507 </varlistentry>
508 </variablelist>
509 </sect2>
510</sect1>
Note: See TracBrowser for help on using the repository browser.