author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Sat, 06 Nov 2010 11:08:52 +0200 | |
changeset 664 | 5f49753073d7 |
parent 599 | 035920d3833c |
child 646 | 902e1273a3ac |
permissions | -rw-r--r-- |
197
89a7852aa71b
Make label on FAT32 volume.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
1 |
-*- mode:outline; coding: utf-8 -*- |
89a7852aa71b
Make label on FAT32 volume.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
2 |
|
89a7852aa71b
Make label on FAT32 volume.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
3 |
* Make label on FAT32 volume. |
89a7852aa71b
Make label on FAT32 volume.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
4 |
|
89a7852aa71b
Make label on FAT32 volume.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
5 |
The volume name can be up to 11 characters long. |
89a7852aa71b
Make label on FAT32 volume.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
6 |
|
89a7852aa71b
Make label on FAT32 volume.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
7 |
$ sudo mlabel -i /dev/<device> ::my-label |
89a7852aa71b
Make label on FAT32 volume.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
8 |
|
89a7852aa71b
Make label on FAT32 volume.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
9 |
or when create FAT32 file system: |
89a7852aa71b
Make label on FAT32 volume.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
10 |
|
89a7852aa71b
Make label on FAT32 volume.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
11 |
$ sudo mkdosfs -n <vol-name> /dev/<device> |
89a7852aa71b
Make label on FAT32 volume.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
12 |
|
381
bce5618a8704
Convert file name coding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
197
diff
changeset
|
13 |
* Convert file name coding. |
bce5618a8704
Convert file name coding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
197
diff
changeset
|
14 |
|
bce5618a8704
Convert file name coding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
197
diff
changeset
|
15 |
$ convmv --nosmart -f cp-1251 -t utf-8 -r $dir |
446 | 16 |
|
519
bf4dcc22ccd9
How get file time attributes.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
447
diff
changeset
|
17 |
* How get file time attributes. |
bf4dcc22ccd9
How get file time attributes.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
447
diff
changeset
|
18 |
|
bf4dcc22ccd9
How get file time attributes.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
447
diff
changeset
|
19 |
POSIX define 3 file time attributes: atime (access time, only a few OS/fs update |
bf4dcc22ccd9
How get file time attributes.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
447
diff
changeset
|
20 |
this parameter), ctime (attribute/inode modification time), mtime (modification |
bf4dcc22ccd9
How get file time attributes.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
447
diff
changeset
|
21 |
time). |
bf4dcc22ccd9
How get file time attributes.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
447
diff
changeset
|
22 |
|
bf4dcc22ccd9
How get file time attributes.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
447
diff
changeset
|
23 |
To get time you can use 'ls' command but it print time in locale dependent |
bf4dcc22ccd9
How get file time attributes.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
447
diff
changeset
|
24 |
irregular form: |
bf4dcc22ccd9
How get file time attributes.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
447
diff
changeset
|
25 |
|
bf4dcc22ccd9
How get file time attributes.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
447
diff
changeset
|
26 |
$ ls -l file.txt # last file modification |
bf4dcc22ccd9
How get file time attributes.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
447
diff
changeset
|
27 |
$ ls -lc file.txt # last file status modification |
bf4dcc22ccd9
How get file time attributes.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
447
diff
changeset
|
28 |
$ ls -lu file.txt # last access |
bf4dcc22ccd9
How get file time attributes.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
447
diff
changeset
|
29 |
|
bf4dcc22ccd9
How get file time attributes.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
447
diff
changeset
|
30 |
GNU coreutils provide more robust 'stst' utility: |
bf4dcc22ccd9
How get file time attributes.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
447
diff
changeset
|
31 |
|
bf4dcc22ccd9
How get file time attributes.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
447
diff
changeset
|
32 |
$ stat -c %Y file.txt # last file modification |
bf4dcc22ccd9
How get file time attributes.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
447
diff
changeset
|
33 |
$ stat -c %Z file.txt # last file status modification |
bf4dcc22ccd9
How get file time attributes.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
447
diff
changeset
|
34 |
$ stat -c %X file.txt # last access |
bf4dcc22ccd9
How get file time attributes.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
447
diff
changeset
|
35 |
|
446 | 36 |
* File names. |
37 |
||
38 |
** POSIX. |
|
39 |
||
40 |
** Windows. |
|
41 |
||
447 | 42 |
http://msdn.microsoft.com/en-us/library/aa365247.aspx |
446 | 43 |
Naming Files, Paths, and Namespaces |
598
36edace509c9
Linux fs under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
519
diff
changeset
|
44 |
|
36edace509c9
Linux fs under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
519
diff
changeset
|
45 |
* Linux fs under Windows. |
36edace509c9
Linux fs under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
519
diff
changeset
|
46 |
|
36edace509c9
Linux fs under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
519
diff
changeset
|
47 |
** Ext2 IFS. |
36edace509c9
Linux fs under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
519
diff
changeset
|
48 |
|
36edace509c9
Linux fs under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
519
diff
changeset
|
49 |
It provides Windows NT4.0/2000/XP/2003/Vista/2008 with full access to Linux Ext2 volumes (read |
36edace509c9
Linux fs under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
519
diff
changeset
|
50 |
access and write access). This may be useful if you have installed both Windows and Linux as a dual |
36edace509c9
Linux fs under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
519
diff
changeset
|
51 |
boot environment on your computer. |
36edace509c9
Linux fs under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
519
diff
changeset
|
52 |
|
36edace509c9
Linux fs under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
519
diff
changeset
|
53 |
The "Ext2 Installable File System for Windows" software is freeware. |
36edace509c9
Linux fs under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
519
diff
changeset
|
54 |
|
599 | 55 |
After install use 'ifsdrives.cpl' control panel to modify settings. |
56 |
||
598
36edace509c9
Linux fs under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
519
diff
changeset
|
57 |
http://www.fs-driver.org/ |
36edace509c9
Linux fs under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
519
diff
changeset
|
58 |
home page |
36edace509c9
Linux fs under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
519
diff
changeset
|
59 |
|
36edace509c9
Linux fs under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
519
diff
changeset
|
60 |
** Ext2Fsd. |
36edace509c9
Linux fs under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
519
diff
changeset
|
61 |
|
36edace509c9
Linux fs under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
519
diff
changeset
|
62 |
Ext2Fsd is an open source linux ext2/ext3 file system driver for Windows systems (NT/2K/XP/VISTA, |
36edace509c9
Linux fs under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
519
diff
changeset
|
63 |
X86/AMD64). |
36edace509c9
Linux fs under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
519
diff
changeset
|
64 |
|
36edace509c9
Linux fs under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
519
diff
changeset
|
65 |
http://www.ext2fsd.com/ |
36edace509c9
Linux fs under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
519
diff
changeset
|
66 |
home page |
36edace509c9
Linux fs under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
519
diff
changeset
|
67 |
http://sourceforge.net/projects/ext2fsd/ |
36edace509c9
Linux fs under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
519
diff
changeset
|
68 |
|
36edace509c9
Linux fs under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
519
diff
changeset
|
69 |
** rfstool. |
36edace509c9
Linux fs under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
519
diff
changeset
|
70 |
|
36edace509c9
Linux fs under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
519
diff
changeset
|
71 |
Allows you to access ReiserFS partitions from a Windows 95/98/ME/NT/2000/XP system. It also allows |
36edace509c9
Linux fs under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
519
diff
changeset
|
72 |
you to access ReiserFS partitions from Linux. It is a complete rewrite of the ReiserFS functions |
36edace509c9
Linux fs under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
519
diff
changeset
|
73 |
needed to list directories, copy files, and backup metadata. |
36edace509c9
Linux fs under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
519
diff
changeset
|
74 |
|
36edace509c9
Linux fs under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
519
diff
changeset
|
75 |
http://p-nand-q.com/e/reiserfs.html |
36edace509c9
Linux fs under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
519
diff
changeset
|
76 |
home page |
36edace509c9
Linux fs under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
519
diff
changeset
|
77 |
http://freshmeat.net/projects/rfstool/ |
36edace509c9
Linux fs under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
519
diff
changeset
|
78 |
|
36edace509c9
Linux fs under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
519
diff
changeset
|
79 |