Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #173680

Re: Most compatible way to prepare USB stick

From Nicolas George <george@nsup.org>
Newsgroups linux.debian.user
Subject Re: Most compatible way to prepare USB stick
Date 2016-10-21 11:00 +0200
Message-ID <suDQe-3aT-43@gated-at.bofh.it> (permalink)
References (2 earlier) <supkd-28v-11@gated-at.bofh.it> <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>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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.

Regards,

-- 
  Nicolas George

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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