Re: LONG FILE NAMES

2001-02-25 Thread David B . Harris
To quote "D. Hoyem" <[EMAIL PROTECTED]>,
# attempted to put them in the /mount directory, one
# would go there but the other would not... both were
# labeled vfat:win95 and I assume that you can not have
# 2 of the same in /mount.  The problem is that when I

You can only mount one partition per directory. If you want to mount
both under /mount, you'll need to create two directories under /mount,
and mount them each individually there.

# open those drives to copy something from them to
# Debian they use the short file name ie comm~1.deb
# instead of communicator-base-275_4.75-2.deb, it is
# this way if I use gmc or open the directory and use
# ls.   How do I  correct this? When I look at a folder
# on the cdrom they are the long file nameHelp.

Be sure you're mounting them with the "vfat" filesystem type. Check
/etc/fstab if that's where you've put in their information. It's
probably set to "fat16" or "msdos" right now.

David Barclay Harris, Clan Barclay
Aut agere, aut mori. (Either action, or death.)



Re: LONG FILE NAMES

2001-02-25 Thread D. Hoyem
Thanks for being the focus point I figured out this
problem.. the /etc/fstab had hda1 and hdb1 listed as
msdos instead of vfat.
--- "D. Hoyem" <[EMAIL PROTECTED]> wrote:
> I have Debian installed on hdb2(swap) and hdb3(/),
> hdb1 is a small vfat partation.  hda is
> exclusssively
> vfat wind98 programs. When I did the install of
> Debian
> I mounted hda in /Fat-c and hdb1 in /Fat-d.  I
> attempted to put them in the /mount directory, one
> would go there but the other would not... both were
> labeled vfat:win95 and I assume that you can not
> have
> 2 of the same in /mount.  The problem is that when I
> open those drives to copy something from them to
> Debian they use the short file name ie comm~1.deb
> instead of communicator-base-275_4.75-2.deb, it is
> this way if I use gmc or open the directory and use
> ls.   How do I  correct this? When I look at a
> folder
> on the cdrom they are the long file nameHelp.
> Thanks in advance
> Don
> 
> __
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail. 
> http://personal.mail.yahoo.com/
> 
> 
> -- 
> To UNSUBSCRIBE, email to
> [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
> 


__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/



LONG FILE NAMES

2001-02-25 Thread D. Hoyem
I have Debian installed on hdb2(swap) and hdb3(/),
hdb1 is a small vfat partation.  hda is exclusssively
vfat wind98 programs. When I did the install of Debian
I mounted hda in /Fat-c and hdb1 in /Fat-d.  I
attempted to put them in the /mount directory, one
would go there but the other would not... both were
labeled vfat:win95 and I assume that you can not have
2 of the same in /mount.  The problem is that when I
open those drives to copy something from them to
Debian they use the short file name ie comm~1.deb
instead of communicator-base-275_4.75-2.deb, it is
this way if I use gmc or open the directory and use
ls.   How do I  correct this? When I look at a folder
on the cdrom they are the long file nameHelp.
Thanks in advance
Don

__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/



Re: How retain Windows long file names?

1999-08-30 Thread Joakim Axelsson
On Sun, 29 Aug 1999, André Bell wrote:

> >How long are the names???  The Linux filesystem supports names up to 256
> >characters.  Are you sure you're not first putting the files on a plain
> >DOS filesystem that lacks support for long names?
> 
> Positive. I'm running win95 and used xcopy /s to copy the files to the
> floppy. I can view the files from dos and windows and the long file names
> are there. When I put the floppy into my debian system debian only sees the
> 8.3 filename (example: filena~1.htm).  When I cp the files, 'what I see is
> what I get'.
> 
> So I took advise and zipped the files with winzip and then downloaded the
> non-free unzip utility so I can unzip the files to my /var/www/oneclick
> area.  I'm installing the unzip deb now so hopefully that resolves the long
> filename issue for now. 
> 
> >cp -r copies entire directory trees.  It's in the man page.
> 
> Yes, I read that and tried it as well as -R.  Neither coppied all the
> subdirectories from floppy to the harddrive. The root files copied but not
> the subdirectories.  I'll try again. 
> 
> Syntax I used while in /floppy was 'cp -r *.* /var/www/oneclick'
> I also tried it with -R 

Umm... U can't use *.* (that just DOS crap). Just use * 
That's y he didnt take all the subdirs because no dir matched *.*

Also try the commans "mdir", "mcopy" and "mdel". Very use full with
floppies if u need more "DOS-look-alike" commmands ;-).

> 
> Maybe I'm using the wrong syntax here(?)
> 
> Give a skeptic an inch... and he'll measure it. 
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 
> 


Re: How retain Windows long file names?

1999-08-29 Thread Mark H. Kraml
André,

In Unix beware of the dot. The "cp -r *.*" will only copy directories
that contain a . in the name. Use "cp -r * /dest" for best results. Also
read the emails about mounting with vfat to get your long names.

mk

André Bell wrote:
> 
> >How long are the names???  The Linux filesystem supports names up to 256
> >characters.  Are you sure you're not first putting the files on a plain
> >DOS filesystem that lacks support for long names?
> 
> Positive. I'm running win95 and used xcopy /s to copy the files to the
> floppy. I can view the files from dos and windows and the long file names
> are there. When I put the floppy into my debian system debian only sees the
> 8.3 filename (example: filena~1.htm).  When I cp the files, 'what I see is
> what I get'.
> 
> So I took advise and zipped the files with winzip and then downloaded the
> non-free unzip utility so I can unzip the files to my /var/www/oneclick
> area.  I'm installing the unzip deb now so hopefully that resolves the long
> filename issue for now.
> 
> >cp -r copies entire directory trees.  It's in the man page.
> 
> Yes, I read that and tried it as well as -R.  Neither coppied all the
> subdirectories from floppy to the harddrive. The root files copied but not
> the subdirectories.  I'll try again.
> 
> Syntax I used while in /floppy was 'cp -r *.* /var/www/oneclick'
> I also tried it with -R
> 
> Maybe I'm using the wrong syntax here(?)
> 
> Give a skeptic an inch... and he'll measure it.
> 
> --
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null


Re: How retain Windows long file names?

1999-08-29 Thread André Bell
>How long are the names???  The Linux filesystem supports names up to 256
>characters.  Are you sure you're not first putting the files on a plain
>DOS filesystem that lacks support for long names?

Positive. I'm running win95 and used xcopy /s to copy the files to the
floppy. I can view the files from dos and windows and the long file names
are there. When I put the floppy into my debian system debian only sees the
8.3 filename (example: filena~1.htm).  When I cp the files, 'what I see is
what I get'.

So I took advise and zipped the files with winzip and then downloaded the
non-free unzip utility so I can unzip the files to my /var/www/oneclick
area.  I'm installing the unzip deb now so hopefully that resolves the long
filename issue for now. 

>cp -r copies entire directory trees.  It's in the man page.

Yes, I read that and tried it as well as -R.  Neither coppied all the
subdirectories from floppy to the harddrive. The root files copied but not
the subdirectories.  I'll try again. 

Syntax I used while in /floppy was 'cp -r *.* /var/www/oneclick'
I also tried it with -R 

Maybe I'm using the wrong syntax here(?)

Give a skeptic an inch... and he'll measure it. 


Re: How retain Windows long file names?

1999-08-29 Thread Noah L. Meyerhans
-BEGIN PGP SIGNED MESSAGE-

On Sun, 29 Aug 1999, [iso-8859-1] Andr? Bell wrote:

> When I 'xcopy *.* a:\ /s" and then copy those files to my linux machine
> with 'cp' my long files names are lost.  Any idea how to retain these long
> file names when using media instead of ftp to transfer files between systems?
> 

How long are the names???  The Linux filesystem supports names up to 256
characters.  Are you sure you're not first putting the files on a plain
DOS filesystem that lacks support for long names?

> Also, is there an equivalent command to copy the files to linux including
> full paths? The above mentioned diskette has around 500 cgi and html files
> in 50 subdirectories and I'd like to be able to copy them to linux within
> their respective paths without having to manually enter all 50
> subdirectories and manually copy the files over, one subdirectory at a time.

cp -r copies entire directory trees.  It's in the man page.

HTH,
noah

  PGP public key available at
  http://lynx.dac.neu.edu/home/httpd/n/nmeyerha/mail.html
  or by 'finger -l [EMAIL PROTECTED]'



-BEGIN PGP SIGNATURE-
Version: 2.6.2

iQCVAwUBN8l3nodCcpBjGWoFAQE1nQQAgjSSzfATW5UUPvX6CYpj91uDY/VzTieb
rDI4r5XqUt0AlYvzMjDsZz3OnmqGpCUtrT99tM5dx+dHPyfUlfM8USGIpzYa1fFE
+F7dHJttZ8n/uUzcmVh/IeK7JGlFRrWg4k/YDBhA6EbORK6RZ4wl3Pp6MnVqr3+r
R3O6gBMfolU=
=Xffk
-END PGP SIGNATURE-


Re: How retain Windows long file names?

1999-08-29 Thread William T Wilson
On Sun, 29 Aug 1999, [iso-8859-1] Andr? Bell wrote:

> When I 'xcopy *.* a:\ /s" and then copy those files to my linux machine
> with 'cp' my long files names are lost.  Any idea how to retain these long

You need to mount the floppy disk with filesystem type vfat, instead of
filesystem type msdos.  And Windows, of course, needs to write the long
filenames to the disk.  It doesn't always with floppy.

> Maybe there's some other way to achieve the same results besides the
> 'cp' command if cp does not support long file names and if it can't
> copy entire subdirectories(?).

You can put the files in an archive with WinZip and unpack them on Linux
with 'unzip'.

Saves space that way too.

Winzip can make tar files, I think, also.


Re: How retain Windows long file names?

1999-08-29 Thread Gregory T. Norris
On Sun, Aug 29, 1999 at 10:48:54AM -0700, André Bell wrote:
> When I 'xcopy *.* a:\ /s" and then copy those files to my linux machine
> with 'cp' my long files names are lost.  Any idea how to retain these long
> file names when using media instead of ftp to transfer files between systems?

Are you mounting the media as `-t msdos' or `-t vfat'?  The long file
names should be retained in the latter case, but definately won't in the
former.

> Also, is there an equivalent command to copy the files to linux including
> full paths? The above mentioned diskette has around 500 cgi and html files
> in 50 subdirectories and I'd like to be able to copy them to linux within
> their respective paths without having to manually enter all 50
> subdirectories and manually copy the files over, one subdirectory at a time.

Do a `man cp', and look for the `-r' option.


How retain Windows long file names?

1999-08-29 Thread André Bell
When I 'xcopy *.* a:\ /s" and then copy those files to my linux machine
with 'cp' my long files names are lost.  Any idea how to retain these long
file names when using media instead of ftp to transfer files between systems?

Also, is there an equivalent command to copy the files to linux including
full paths? The above mentioned diskette has around 500 cgi and html files
in 50 subdirectories and I'd like to be able to copy them to linux within
their respective paths without having to manually enter all 50
subdirectories and manually copy the files over, one subdirectory at a time.

Maybe there's some other way to achieve the same results besides the 'cp'
command if cp does not support long file names and if it can't copy entire
subdirectories(?). 

I'm reading man cp right now to see if the above can be accomplished but
since man cp is no longer being maintained it seems best to ask here as
well, for updated info.

Thanks

Give a skeptic an inch... and he'll measure it. 


Re: Long file names

1998-11-11 Thread Ben Collins
You will need to mount it with '-t vfat' which let's you read the windows
95 long file names. This is assuming you have the vfat module for the
kernel already installed.

hope that helps

On Wed, Nov 11, 1998 at 08:26:06AM -0500, Jeff Miller wrote:
> Hello,
> 
> I have a question that I am sure has been asked before, but...
> 
> When I mount my Win98 drive from Linux, the file names are shrunk.  What do I 
> have to do to see the whole name?
> 
> Thanks in advance!

-- 

Ben Collins <[EMAIL PROTECTED]>
UnixGroup Admin - Jordan Systems Inc. - CSC


Re: Long file names

1998-11-11 Thread Rodrigo Moya


>Hello,
>
>I have a question that I am sure has been asked before, but...
>
>When I mount my Win98 drive from Linux, the file names are shrunk.  What do
I have to do to see the whole name?
>
>Thanks in advance!
>
>
You have to mount the drive with:

mount -t vfat 

This works pretty well for me, but you have to have vfat module loaded.

Cheers


Re: Long file names

1998-11-11 Thread Nathan E Norman
On Wed, 11 Nov 1998, Jeff Miller wrote:

 : Hello,
 : 
 : I have a question that I am sure has been asked before, but...
 : 
 : When I mount my Win98 drive from Linux, the file names are shrunk.  What do 
I have to do to see the whole name?

mount -t vfat /dev/hda4 /mnt (use the appropriate device file, of
course).

--
Nathan Norman
MidcoNet  410 South Phillips Avenue  Sioux Falls, SD
mailto:[EMAIL PROTECTED]   http://www.midco.net
finger [EMAIL PROTECTED] for PGP Key: (0xA33B86E9)



Re: Long file names

1998-11-11 Thread Helge Hafting


> When I mount my Win98 drive from Linux, the file names are shrunk.  What do I 
> have to do to see the whole name?
> 

Mount the filesystem as type "vfat" instead of "msdos".  It is more
than a msdos filesystem.  Vfat get the long names right.

Helge Hafting


Long file names

1998-11-11 Thread Jeff Miller
Hello,

I have a question that I am sure has been asked before, but...

When I mount my Win98 drive from Linux, the file names are shrunk.  What do I 
have to do to see the whole name?

Thanks in advance!


Re: Vfat & Long file names

1998-08-13 Thread jdassen
On Thu, Aug 13, 1998 at 03:31:37AM -0500, Cristov Russell wrote:
> I have edited /etc/fstab and mounted my Win95 partitions as vfat. 
> When I boot into Linux I get a message saying:
> 
> Unable to load NLS charset cp437...
> Unable to load NLS charset ISO8859...
> 
> I can view files in these partitions so I know that the partitions are
> mounted but I'm unsure what the error means.

With recent kernel versions, proper VFAT support requires that you have the
right National Language Support code/modules available; they allow Linux to
properly deal with filenames containing non-ascii characters. (By e.g.
translating from DOS codepage 850 to ISO 8859-1 ("latin 1")).

> My other question is about long file names.  How does Linux handle long
> file names?  When I try to view a file with spaces (i.e. My Resume.txt)
> Linux seems to treat these as seperate files.  How do I correctly specify
> a valid long file name?

Put quotes around it, or use backslashes to quote, e.g.:
cat '/win/File name with spaces in it'
vim /win/My\ Documents/foo

HTH,
Ray
-- 
PATRIOTISM  A great British writer once said that if he had to choose 
between betraying his country and betraying a friend he hoped he would
have the decency to betray his country.  
- The Hipcrime Vocab by Chad C. Mulligan 


Vfat & Long file names

1998-08-13 Thread Cristov Russell
I have edited /etc/fstab and mounted my Win95 partitions as vfat. 
When I boot into Linux I get a message saying:

Unable to load NLS charset cp437...
Unable to load NLS charset ISO8859...

I can view files in these partitions so I know that the partitions are
mounted but I'm unsure what the error means.

My other question is about long file names.  How does Linux handle
long file names?  When I try to view a file with spaces (i.e. My
Resume.txt) Linux seems to treat these as seperate files.  How do I
correctly specify a valid long file name?

TIA

Cristov Russell
[EMAIL PROTECTED]