Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: USB crucial file recovery
Date: Wed, 31 Aug 2016 00:33:32
Message-Id: a84b9cb0-aba5-3394-a8ef-2336eddb5f5e@gmail.com
In Reply to: Re: [gentoo-user] Re: USB crucial file recovery by Grant
1 On 31/08/2016 02:08, Grant wrote:
2 >>>> And why use exfat if you use linux? It is just not needed at all.
3 >>>
4 >>> I agree. If you want to transport something between Linux systems,
5 >>> use ext2/3 and use "mount" options to handle the permission issues.
6 >>
7 >> You can't control ownership and permissions of existing files with mount
8 >> options on a Linux filesystem. See man mount.
9 >
10 >
11 > So in order to use a USB stick between multiple Gentoo systems with
12 > ext2, I need to make sure my users have matching UIDs/GIDs?
13
14 Yes
15
16 The uids/gids/modes in the inodes themselves are the owners and perms,
17 you cannot override them.
18
19 So unless you have mode=666, you will need matching UIDs/GIDs (which is
20 a royal massive pain in the butt to bring about without NIS or similar
21
22 > I think
23 > this is how I ended up on NTFS in the first place.
24
25 Didn't we have this discussion about a year ago? Sounds familiar now
26
27 > Is there a
28 > filesystem that will make that unnecessary and exhibit better
29 > reliability than NTFS?
30
31 Yes, FAT. It works and works well.
32 Or exFAT which is Microsoft's solution to the problem of very large
33 files on FAT.
34
35 Which NTFS system are you using?
36
37 ntfs kernel module? It's quite dodgy and unsafe with writes
38 ntfs-ng on fuse? I find that one quite solid
39
40
41 ntfs-ng does have an annoyance that has bitten me more than once. When
42 ntfs-nf writes to an FS, it can get marked dirty. Somehow, when used in
43 a Windows machine the driver there has issues with the FS. Remount it in
44 Linux again and all is good.
45
46 The cynic in me says that Microsoft didn'y implement their own FS spec
47 properly whereas ntfs-ng did :-)
48
49
50
51 --
52 Alan McKinnon
53 alan.mckinnon@×××××.com

Replies

Subject Author
Re: [gentoo-user] Re: USB crucial file recovery Grant <emailgrant@×××××.com>
[gentoo-user] Re: USB crucial file recovery Kai Krakow <hurikhan77@×××××.com>