From: slash <slash.9fans@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] ext2srv understands only 7bit ASCII file names?
Date: Sun, 16 Oct 2011 09:19:10 -0400 [thread overview]
Message-ID: <CAEaiYYwLQQF6CiTcbCTOVcTrBtS3MBu1PZkze18vquKeANEs5Q@mail.gmail.com> (raw)
In-Reply-To: <2fea5b8834e93aa22dabcd313e61c066@brasstown.quanstro.net>
> unicode codepoints (runes) are abstract. we need to deal with encodings.
> the encoding utf-8 uses is not a single byte for anything above 0x7f.
> so essentially the encoding phase would be name[i] = (uchar)r. the decoding phase
> would be r = (Rune)name[i].
Thank you. I modified trfs.c and wrote trfs.latin1 which does this.
Now I can do:
disk/partfs /dev/sdU7.0/data
disk/fdisk -p /dev/sdXX/data >/dev/sdXX/ctl
ext2srv -r -f /dev/sdXX/linux
trfs.latin1 /srv/ext2
mount /srv/trfs /n/ext2
cd /n/ext2
dircp . $home
and get no errors.
next prev parent reply other threads:[~2011-10-16 13:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-13 11:15 slash
2011-10-13 11:37 ` dexen deVries
2011-10-13 13:20 ` erik quanstrom
2011-10-13 14:28 ` slash
2011-10-13 15:20 ` Russ Cox
2011-10-13 15:25 ` slash.9fans
2011-10-13 15:30 ` erik quanstrom
2011-10-16 13:19 ` slash [this message]
2011-10-13 13:22 ` Russ Cox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAEaiYYwLQQF6CiTcbCTOVcTrBtS3MBu1PZkze18vquKeANEs5Q@mail.gmail.com \
--to=slash.9fans@gmail.com \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).