Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #173681
| From | tomas@tuxteam.de |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Most compatible way to prepare USB stick |
| Date | 2016-10-21 11:10 +0200 |
| Message-ID | <suDZT-3tk-5@gated-at.bofh.it> (permalink) |
| References | (3 earlier) <supWW-2CC-29@gated-at.bofh.it> <susUN-4v4-5@gated-at.bofh.it> <suuae-5fM-1@gated-at.bofh.it> <suDwR-33E-1@gated-at.bofh.it> <suDQe-3aT-43@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, Oct 21, 2016 at 10:51:54AM +0200, Nicolas George wrote: > Le decadi 30 vendémiaire, an CCXXV, tomas@tuxteam.de a écrit : > > > So there is a major difference in the way Linux and windows handle > > > file naming. The file names look the same on both Linux and windows, > > > but behind the scenes they are not. > > You'd need more evidence to convince me of that. Among other things, > > fat (and even the Rube-Goldbergian vfat) are stable since long, and > > (by current standards) relatively simple. > > There is a major difference in filenames between Linux and Windows, though. > > For Linux, a filename is an arbitrary sequence of octets, with only two > values forbidden: 0x00 used as a string terminator, and 0x2F, used a > directory separator. Translating these sequence into printable string is > entirely up to the applications, with most applications having converged to > UTF-8 nowadays. > > For Windows, a filename is a sequence of Unicode code points, encoded in > various ways: sometimes as UTF-16, sometimes as a legacy 8-bits encoding, > sometimes as UTF-8 masquerading as a legacy 8-bits encoding. On the sectors > of a VFAT device, I think it is UTF-16. > > Since VFAT is a Windows filesystem, Linux has to adapt to handle it, this is > the role of the various nls_* kernel modules. This is correct. There's even more to it -- Windows is kinda case-insensitive (kinda: it can write upper and lower case, but it doesn't differentiate, a good way to inadvertently overwrite a file :) But all of this doesn't make a file system corrupt. It can produce funny file names, though. regards - -- t -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlgJ2zwACgkQBcgs9XrR2kYjrgCfcjTRf547SCa+LRg2IL38VYf5 soQAnAzyywsSYJrXMqnfsZ2p3iXfBQRF =Fs4n -----END PGP SIGNATURE-----
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Most compatible way to prepare USB stick Mark Fletcher <mark27q1@gmail.com> - 2016-10-20 18:20 +0200
Re: Most compatible way to prepare USB stick Børge Holen <holen.borge@gmail.com> - 2016-10-20 18:40 +0200
Re: Most compatible way to prepare USB stick Joe <joe@jretrading.com> - 2016-10-20 19:00 +0200
Re: Most compatible way to prepare USB stick David Christensen <dpchrist@holgerdanske.com> - 2016-10-20 19:30 +0200
Re: Most compatible way to prepare USB stick Brian <ad44@cityscape.co.uk> - 2016-10-20 20:10 +0200
Re: Most compatible way to prepare USB stick Joe <joe@jretrading.com> - 2016-10-20 20:50 +0200
Re: Most compatible way to prepare USB stick Brian <ad44@cityscape.co.uk> - 2016-10-20 21:10 +0200
Re: Most compatible way to prepare USB stick Joe <joe@jretrading.com> - 2016-10-20 21:30 +0200
Re: Most compatible way to prepare USB stick Brian <ad44@cityscape.co.uk> - 2016-10-20 21:50 +0200
Re: Most compatible way to prepare USB stick Joe <joe@jretrading.com> - 2016-10-20 23:10 +0200
Re: Most compatible way to prepare USB stick Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-10-21 00:30 +0200
Re: Most compatible way to prepare USB stick David Christensen <dpchrist@holgerdanske.com> - 2016-10-20 23:20 +0200
Re: Most compatible way to prepare USB stick Mr Smiley <mr_smiley_home@yahoo.com> - 2016-10-21 00:40 +0200
Re: Most compatible way to prepare USB stick <tomas@tuxteam.de> - 2016-10-21 10:40 +0200
Re: Most compatible way to prepare USB stick Nicolas George <george@nsup.org> - 2016-10-21 11:00 +0200
Re: Most compatible way to prepare USB stick tomas@tuxteam.de - 2016-10-21 11:10 +0200
Re: Most compatible way to prepare USB stick Nicolas George <george@nsup.org> - 2016-10-20 20:10 +0200
Re: Most compatible way to prepare USB stick Brian <ad44@cityscape.co.uk> - 2016-10-20 19:20 +0200
Re: Most compatible way to prepare USB stick Stefan Monnier <monnier@iro.umontreal.ca> - 2016-10-20 23:00 +0200
Re: Most compatible way to prepare USB stick Børge Holen <holen.borge@gmail.com> - 2016-10-21 00:50 +0200
Re: Most compatible way to prepare USB stick Mark Fletcher <mark27q1@gmail.com> - 2016-10-21 15:30 +0200
Re: Most compatible way to prepare USB stick <tomas@tuxteam.de> - 2016-10-21 15:50 +0200
Re: Most compatible way to prepare USB stick rlharris@oplink.net - 2016-10-21 17:30 +0200
Re: Most compatible way to prepare USB stick Stefan Monnier <monnier@iro.umontreal.ca> - 2016-10-21 21:10 +0200
Re: Most compatible way to prepare USB stick Curt <curty@free.fr> - 2016-10-22 10:50 +0200
csiph-web