Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 03-22-2007, 01:28 AM   #1
LQ Newbie
Registered: Jun 2004
Posts: 9

Rep: Reputation: 0
USB stick [solved]

I have Kingston DataTraveler 1GB and using Debian Etch.

In /etc/fstab i wrote:

/dev/sda1 /media/usb vfat noauto,users,rw,exec,umask=000 0 0

and there is no problem with mounting. But i have a problem when i copy on stick files on windows computer. On home computer with Debian, konqueror dont show me filenames with characters š,č,ž-show only ? and similar signs.

Then i put:

/dev/sda1 /media/usb vfat noauto,users,rw,exec,iocharset=iso8859-2,codepage=852,umask=000 0 0

and nothing.

What can i do?

Last edited by buhtl; 03-22-2007 at 09:41 AM.
Old 03-22-2007, 08:42 AM   #2
Registered: Nov 2005
Location: Houston Texas
Distribution: Debian Sid
Posts: 379

Rep: Reputation: 31
/dev/sda1 /media/usb vfat noauto,users,rw,exec 0 0
I dont have the umask in my fstab and it works fine for me. I'm always transfering files between home (debian) and work (windows xp).
Old 03-22-2007, 09:40 AM   #3
LQ Newbie
Registered: Jun 2004
Posts: 9

Original Poster
Rep: Reputation: 0
I solve my problem.

I add in /etc/profile:

export LANG = sl_SI.utf8

and change /etc/fstab/ in:

/dev/sda1 /media/usb vfat noauto,users,rw,noexec,iocharset=utf8,umask=022 0 0.

And work with no problem.

Old 03-22-2007, 07:44 PM   #4
Registered: May 2006
Location: Orion–Cygnus Arm, MWG
Distribution: Slackware, Ubuntu
Posts: 249

Rep: Reputation: 130Reputation: 130
I have:
sudo mount -t vfat -o noauto,users,rw,exec,umask=000 /dev/sda1 /usb

in my menu and it works fine for allowing users to mount rw - so thanks for that.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
mount/umount usb stick - PQI Intelligent Stick 2.0 sandbag Linux - Software 5 05-06-2005 11:12 AM
usb stick jwijesundra Linux - Newbie 2 02-03-2005 11:51 PM
USB stick bardia_amir Linux - Hardware 3 08-29-2004 11:30 PM
USB problems: Memorex USB stick 256MB and PSX to USB adapter by Radio Shack Knuckles T15 Linux - Hardware 1 05-19-2004 06:58 PM
USB-Stick/usb-storage JC_at_LQ Linux - General 2 07-14-2003 06:56 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:32 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration