Re: Strip incompatible characters from Windows partitions!

2008-05-18 Thread Markus Hitter
Am 16.05.2008 um 13:05 schrieb Milosz Derezynski: > Furthermore, does anyone know how OS X and/or other operating > systems handle > this issue? On Mac OS X, you can happily create files with names Windows Explorer can't read. Recently it happened to me with a filename with a plain space(!)

Re: Strip incompatible characters from Windows partitions!

2008-05-16 Thread Szabolcs Szakacsits
Andrew Sayers pileofstuff.org> writes: > Since there wasn't an NTFS expert available during the conversation, NTFS is pretty well known and documented, especially filename handling. Windows also do allow the creation of such filenames but it's not so widely known how to do it. When most Windows

Re: Strip incompatible characters from Windows partitions!

2008-05-16 Thread Emmet Hikory
Andrew Sayers wrote: > Because there are no proper standards for Windows filesystems, there's > no common agreement about how to turn the string of bytes that make up a > FAT filename into a string of characters. For example, a Japanese > computer might look at a filesystem and assume that all the

Re: Strip incompatible characters from Windows partitions!

2008-05-16 Thread Andrew Sayers
This e-mail summarises a discussion in #ubuntu-motu between myself, ScottK and persia. I'll first explain the general problem, then suggest a messy solution to a surprisingly messy problem. Most of these ideas are not my own, and in fact had to be explained to me at some length, so please don't a

Re: Strip incompatible characters from Windows partitions!

2008-05-16 Thread Scott Kitterman
On Friday 16 May 2008 12:19, Mario Vukelic wrote: > On Fri, 2008-05-16 at 08:24 -0400, Scott Kitterman wrote: > > FAT is a defacto standard for portable storage devices. > > Not true anymore, the external disks I have seen that have > 300 GB came > with NTFS. Anyway, external disks may be a differe

Re: Strip incompatible characters from Windows partitions!

2008-05-16 Thread Mario Vukelic
On Fri, 2008-05-16 at 08:24 -0400, Scott Kitterman wrote: > FAT is a defacto standard for portable storage devices. Not true anymore, the external disks I have seen that have > 300 GB came with NTFS. Anyway, external disks may be a different topic altogether, but what about the Windows system par

Re: Strip incompatible characters from Windows partitions!

2008-05-16 Thread Alan Milnes
On 16/05/2008, Scott Kitterman <[EMAIL PROTECTED]> wrote: > While NTFS is closely associated with Windows, FAT is a defacto standard > for portable storage devices. Agreed. It is not a Linux 'native' file format though. > Making and kind of O/S assumptions about FAT > is inherently incorrect.

Re: Strip incompatible characters from Windows partitions!

2008-05-16 Thread Scott Kitterman
On Fri, 16 May 2008 11:42:28 +0200 Milan Bouchet-Valat <[EMAIL PROTECTED]> wrote: ... >Hope Ubuntu is more modest than you appear to see it. Serve the user, >not the ideal technology you dream of in which every character is >supported in filenames. When you're working on documents, being able to >

Re: Strip incompatible characters from Windows partitions!

2008-05-16 Thread Scott Kitterman
On Fri, 16 May 2008 09:03:02 +0100 "Alan Milnes" <[EMAIL PROTECTED]> wrote: >On 16/05/2008, Markus Hitter <[EMAIL PROTECTED]> wrote: > >> Prohibiting feature X here because it's forbidden there isn't a good idea. > >It is in this case because of Ubuntu's target population and the fact >the NTFS

Re: Strip incompatible characters from Windows partitions!

2008-05-16 Thread Milosz Derezynski
But clearly this issue can be seen as a limitation of the FAT filesystem, just not yet imposed at the highest level of the filesystem driver (kernel or userland)? Surely ext3 *would* allow a slash in a filename (i guess?), if the userland tools would just let the filesystem driver ever receive suc

Re: Strip incompatible characters from Windows partitions!

2008-05-16 Thread Vincenzo Ciancia
Il giorno ven, 16/05/2008 alle 11.42 +0200, Milan Bouchet-Valat ha scritto: > > > Hope Ubuntu is more modest than you appear to see it. Serve the user, > not the ideal technology you dream of in which every character is > supported in filenames. I keep a copy of my working files in an usb pen.

Re: Strip incompatible characters from Windows partitions!

2008-05-16 Thread Milan Bouchet-Valat
Le vendredi 16 mai 2008 à 00:06 -0400, Scott Kitterman a écrit : > On Thursday 15 May 2008 21:31, Evan wrote: > > On Thu, May 15, 2008 at 9:14 PM, Scott Kitterman <[EMAIL PROTECTED]> > > > > wrote: > > > I'd say that if there's a bug it's in Windows. I could see a wishlist > > > bug against Ubuntu

Re: Strip incompatible characters from Windows partitions!

2008-05-16 Thread Przemysław Kulczycki
Scott Kitterman pisze: Doesn't wubi install Ubuntu into an existing Windows partition? Exactly. And then Ubuntu will happily let you create files that you can't read in Windows. It's weird. It just ocurred to me that when you email files, odds are the receiver is using Windows. Perhaps all t

Re: Strip incompatible characters from Windows partitions!

2008-05-16 Thread Przemysław Kulczycki
Scott Kitterman pisze: Doesn't wubi install Ubuntu into an existing Windows partition? AFAIK wubi installs Ubuntu into a file containing an ext3 partition. -- ## Przemysław Kulczycki <<>> Azrael Nightwalker ## # jabber: azrael[na]jabster.pl | tlen: azrael29a # ### www: http://reksio.ftj.agh.ed

Re: Strip incompatible characters from Windows partitions!

2008-05-16 Thread Chris Jones
Hi Evan wrote: > paths are slashes, while Windows has a considerable list (apostrophes, > asterisks, etc). The problem is that it doesn't have a list, there are multiple lists and they aren't documented. NTFS will reject some filenames, win16/win32/win64/.net/etc. will reject others (as you hav

Re: Strip incompatible characters from Windows partitions!

2008-05-16 Thread Alan Milnes
On 16/05/2008, Markus Hitter <[EMAIL PROTECTED]> wrote: > Prohibiting feature X here because it's forbidden there isn't a good idea. It is in this case because of Ubuntu's target population and the fact the NTFS / FAT32 are not native Linux file formats. By all means allow advanced users to turn

Re: Strip incompatible characters from Windows partitions!

2008-05-15 Thread Markus Hitter
Am 16.05.2008 um 03:05 schrieb Evan: > I don't know where the filename check is supposed to happen, but it > isn't > happening anywhere. I've tried via the cli, and via nautilus, and > neither of > them prevent me from using Windows-illegal characters. ... because they are perfectly legal on

Re: Strip incompatible characters from Windows partitions!

2008-05-15 Thread Scott Kitterman
On Fri, 16 May 2008 06:53:35 +0200 Mario Vukelic <[EMAIL PROTECTED]> wrote: >þÿOn Fri, 2008-05-16 at 00:50 -0400, Scott Kitterman wrote: >> Doesn't wubi install Ubuntu into an existing Windows partition? > >Exactly. And then Ubuntu will happily let you create files that you >can't read in Windows.

Re: Strip incompatible characters from Windows partitions!

2008-05-15 Thread Mario Vukelic
On Fri, 2008-05-16 at 00:50 -0400, Scott Kitterman wrote: > Doesn't wubi install Ubuntu into an existing Windows partition? Exactly. And then Ubuntu will happily let you create files that you can't read in Windows. It's weird. -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubu

Re: Strip incompatible characters from Windows partitions!

2008-05-15 Thread Scott Kitterman
On Fri, 16 May 2008 06:36:54 +0200 Mario Vukelic <[EMAIL PROTECTED]> wrote: >þÿOn Thu, 2008-05-15 at 21:14 -0400, Scott Kitterman wrote: >> but there is nothing inherently defective with the >> current behavior. > >I'd agree for any other fs, but the only reason you would use an ntfs >partition is

Re: Strip incompatible characters from Windows partitions!

2008-05-15 Thread Mario Vukelic
On Thu, 2008-05-15 at 21:14 -0400, Scott Kitterman wrote: > but there is nothing inherently defective with the > current behavior. I'd agree for any other fs, but the only reason you would use an ntfs partition is because you want to read this in windows. Thus it makes little sense to allow crea

Re: Strip incompatible characters from Windows partitions!

2008-05-15 Thread Scott Kitterman
On Thursday 15 May 2008 21:31, Evan wrote: > On Thu, May 15, 2008 at 9:14 PM, Scott Kitterman <[EMAIL PROTECTED]> > > wrote: > > I'd say that if there's a bug it's in Windows. I could see a wishlist > > bug against Ubuntu to provide a way to check for this/suggest changes to > > avoid problematic

Re: Strip incompatible characters from Windows partitions!

2008-05-15 Thread Evan
On Thu, May 15, 2008 at 9:14 PM, Scott Kitterman <[EMAIL PROTECTED]> wrote: > I'd say that if there's a bug it's in Windows. I could see a wishlist bug > against Ubuntu to provide a way to check for this/suggest changes to avoid > problematic filenames, but there is nothing inherently defective w

Re: Strip incompatible characters from Windows partitions!

2008-05-15 Thread Scott Kitterman
On Thu, 15 May 2008 20:29:44 -0400 Evan <[EMAIL PROTECTED]> wrote: >Which package would this be filed against? > I'd say that if there's a bug it's in Windows. I could see a wishlist bug against Ubuntu to provide a way to check for this/suggest changes to avoid problematic filenames, but there i

Re: Strip incompatible characters from Windows partitions!

2008-05-15 Thread Evan
A quick google and search of launchpad reveals no similar reports. I don't know where the filename check is supposed to happen, but it isn't happening anywhere. I've tried via the cli, and via nautilus, and neither of them prevent me from using Windows-illegal characters. Which package handles th

Re: Strip incompatible characters from Windows partitions!

2008-05-15 Thread Onno Benschop
On 16/05/08 08:29, Evan wrote: > Which package would this be filed against? Well, that depends on how you are producing this particular issue. For example, if you are mounting the partition yourself, then for example, /sbin/mount.ntfs comes from ntfs-3g, but if you're seeing this in Nautilus with

Re: Strip incompatible characters from Windows partitions!

2008-05-15 Thread Evan
I've been testing it on an external drive. https://bugs.launchpad.net/ubuntu/+bug/230906 On Thu, May 15, 2008 at 8:36 PM, xt knight <[EMAIL PROTECTED]> wrote: > You can file a bug without a particular package. This does seem like > it could be dangerous, if one of the characters used was reserv

Re: Strip incompatible characters from Windows partitions!

2008-05-15 Thread Evan
Which package would this be filed against? On Thu, May 15, 2008 at 8:12 PM, Onno Benschop <[EMAIL PROTECTED]> wrote: > On 16/05/08 07:44, Evan wrote: > > After trying to transfer some files from Ubuntu to Windows today, I > > discovered a very dangerous problem. I'm not sure if it qualifies as a

Re: Strip incompatible characters from Windows partitions!

2008-05-15 Thread Onno Benschop
On 16/05/08 07:44, Evan wrote: > After trying to transfer some files from Ubuntu to Windows today, I > discovered a very dangerous problem. I'm not sure if it qualifies as a > bug, so I haven't yet reported it, but it could be considered one. > > Currently, the only characters that Ubuntu does not

Strip incompatible characters from Windows partitions!

2008-05-15 Thread Evan
After trying to transfer some files from Ubuntu to Windows today, I discovered a very dangerous problem. I'm not sure if it qualifies as a bug, so I haven't yet reported it, but it could be considered one. Currently, the only characters that Ubuntu does not support in filenames and paths are slash