Linux-CIFS Archive on lore.kernel.org
 help / color / Atom feed
* WSL and remapping of reserved characters to Unicode remap range
@ 2019-09-21  9:44 Steve French
  0 siblings, 0 replies; only message in thread
From: Steve French @ 2019-09-21  9:44 UTC (permalink / raw)
  To: Edgar Olougouna, Jeremy Allison, Pavel Shilovsky,
	Aurélien Aptel, ronnie sahlberg, CIFS, samba-technical

Did some experiments today with files created by the Windows Subsystem
for Linux and noticed that they create files which have reserved
characters by using the SFU remap strategy not the default used by
Macs and Linux (the posix or "SFM" mapping)

But at least it means if you mount to a windows system which has run
the Windows Linux Subsystem you can simply do mount with mount option
"mapchars" and the file names should show up fine.

See example below (mounted to Windows directory created by WSL):

Virtual-Machine:~# ls /mnt/special-file-names
'dirwithtrailingspace '   filewith:colon         'filewith space'
'filewith*asterisk'      'filewith>greaterthan'   filewithtrailing.
 filewithbackslash       'filewith<lessthan'

--
Thanks,

Steve

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-21  9:44 WSL and remapping of reserved characters to Unicode remap range Steve French

Linux-CIFS Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-cifs/0 linux-cifs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-cifs linux-cifs/ https://lore.kernel.org/linux-cifs \
		linux-cifs@vger.kernel.org
	public-inbox-index linux-cifs

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-cifs


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git