LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-14-2007, 07:04 PM   #1
zao
LQ Newbie
 
Registered: May 2006
Location: Kansas
Distribution: OpenSuse 10.2
Posts: 16

Rep: Reputation: 0
Jumpdrive issues


hey guys,

Ok I just installed open suse 10.2 about a couple of months ago. And for some weird reason I can't get my any of my jump drives to be able to write. When they worked just fine on OpenSuse 10.1? I can read and be able to download what is off of them. But the min I write to them and try download the file, it is either a file with the name and 0kbs. or its not even there. so does anyone have any ideas? Oh I also tried writing the the jump drive in root mode, and that didn't work.


Thanks
 
Old 05-15-2007, 06:06 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
What file system type do the drives use? Is it NTFS? If the drives use the NTFS file system then your computer may be mounting them as read-only. You can see how the drives are mounted by issuing the mount command in a terminal window.
Code:
mount
Try to write to one of the drives then read the /var/log/messages file. There should be a helpful error message.
Code:
tail /var/log/messages
You will need to be root to read the file.

Last edited by stress_junkie; 05-15-2007 at 06:08 PM.
 
Old 05-15-2007, 07:32 PM   #3
zao
LQ Newbie
 
Registered: May 2006
Location: Kansas
Distribution: OpenSuse 10.2
Posts: 16

Original Poster
Rep: Reputation: 0
ok here is what I get on typing mount.

Code:
/dev/hdb2 on / type ext3 (rw,acl,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernal/debug type debugfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/hdb3 on /home type ext3 (rw, acl, user_xattr)
securityfs on /sys/kernel/security type securityfs (rw)
/dev/sdb1 on /media/disk type vfat (rw,nosuid,nodev,noatime,udi=1000,utf8,shortname=lower)
So the bottom one is the USB one and it appears to be running in fat.
Code:
/dev/sdb1 on /media/disk type vfat (rw,nosuid,nodev,noatime,udi=1000,utf8,shortname=lower)
Now when I tried writing to the jump drive. I learned something new but still in the same boat. What I 1st tried was I plugged in the jump drive. Right clicked in the window with all of my files told it to create a text file, wrote stupid stuff in the file and saved it. Unplugged the jump drive, plugged it back in and text file is still there. Went to another computer plugged it in, and hey text file is still there. Then I tried writing to the jump drive again, with bigger files. Like my webpages, copied the webpage I have been trying to save on the jump drive for a while now, and unplugged and pugged back in hey what do you know, webpage with file names and 0kbs. Here is what I got when tail /var/log/messages
Code:
kernel: sd 11:0:0:0: Attached scsi generic sg1 type 0
kernel: Vendor: SanDisk Model: U3 Cruzer Micro Rev: 2.15
kernel: Type: CD-ROM
kernel: sr0: scsi3-mmc drive: 8x/10x writer xa/form2 cdda tray
kernel: sr 11:0:0:1: Attached scsi CD-ROM sr0
kernel: sr 11:0:0:1: Attached scsi generic sg2 type 5
kernel: usb-storage: device scan complete
kernel: cdrom: This disc doesn't have any tracks I recognize!
kernel: cdrom: This disc doesn't have any tracks I recognize!
hald: mounted /dev/sdb1 on behalf of uid 1000
 
Old 05-16-2007, 02:17 PM   #4
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
It sounds like your system is working. If you want to have the partition automatically mount on a different mount point then you could add a line to /etc/fstab such as the following. The line here is to automatically mount /dev/sdb1 on /mnt/sdb1 regardless of file system type.
Code:
/dev/sdb1   /mnt/sdb1  auto   defaults   0   0
The word "auto" means that Linux has to figure out what type of file system is on the partition. That way you could have a different disk with a different file system type and this line would still work.

The word "defaults" means to use default mount options. These are things like read-write, nosuid, noexec, and other mount options.

The two zeros tell Linux not to automatically perform a file system check when the partition is mounted.

I'm glad to hear that you're able to use your disk now.


Last edited by stress_junkie; 05-16-2007 at 02:21 PM.
 
  


Reply



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
Mepis6.0.4 on a Jumpdrive winstephen MEPIS 7 03-09-2007 03:17 AM
do i need mtd for my jumpdrive? slinky2004 Linux - Hardware 3 09-14-2005 09:49 PM
USB jumpdrive/ USB hud-card reader issues o0gnubee0o Linux - Hardware 4 07-03-2005 06:12 PM
usb jumpdrive ? matrixon Linux - Hardware 1 04-21-2005 08:56 PM
jumpdrive is read only ezra143 Linux - Hardware 12 10-02-2003 07:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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