LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-08-2005, 12:44 PM   #1
NetRAVEN5000
Member
 
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320

Rep: Reputation: 30
Problem with Cruzer Mini


I've got a 256MB Cruzer Mini. I just reformatted it to ext2. I can mount it, and I changed the permissions to /mnt/cruzer so that I can read and write to it as a normal user. However, when I mount it, the permissions change so that only root can write to it. How do I stop this from happening?
 
Old 08-08-2005, 01:44 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
If it's formatted as ext2, the permissions shouldn't change on mounting. You did change the permissions while it was mounted, didn't you? Otherwise, you changed permissions on a mount point, which does nothing.
 
Old 08-08-2005, 02:38 PM   #3
NetRAVEN5000
Member
 
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Matir
If it's formatted as ext2, the permissions shouldn't change on mounting. You did change the permissions while it was mounted, didn't you? Otherwise, you changed permissions on a mount point, which does nothing.
Aah. . . I knew I had to change the permissions to /mnt/cruzer, didn't realize I had to mount first. Thanks - that fixed it!
 
Old 08-08-2005, 02:57 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
No problem. FYI, I usually keep my usb drives formatted fat32 for the rare use on a windows machine. Also, make sure you mount with 'noatime'. Check out sync vs async mounting behavior as well.
 
Old 08-08-2005, 04:41 PM   #5
NetRAVEN5000
Member
 
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Matir
Also, make sure you mount with 'noatime'.
What's "noatime"?
 
Old 08-08-2005, 08:36 PM   #6
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
noatime means the kernel does not try to keep a record of the last access time for a file. This generates a lot of extra writes (when atime is enabled) and usb overhead. If you weren't aware, flash media DOES have a limited number of writes (on the order of tens of thousands, though). Still, one write per file you open, plus per directory you cd to or do an ls on. And if you use a GUI that generates thumbnails, one write per file that exists in each directory you browse to, etc. It can add up.
 
Old 08-09-2005, 04:47 PM   #7
NetRAVEN5000
Member
 
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320

Original Poster
Rep: Reputation: 30
Well, that's interesting. I'll give it a try. You add that into your /etc/fstab file right?

Not 100% sure it's worth it, though - I got mine a while back for Christmas (guessing it was like $70 back then) but I haven't used it much since - I used it to share some files for school with friends, but that's pretty much it. Plus, unless you wanna go beyond 1GB, you can get those things for pretty cheap.
 
  


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
sandisk cruzer mini gallan Linux - Hardware 5 11-21-2006 08:55 AM
usb memory stick (cruzer mini) problem on mandrake10.1 yyang Linux - General 8 09-13-2005 04:39 PM
SanDisk Cruzer Mini Thumb Drive Problem kdogksu Linux - Hardware 1 12-26-2004 05:09 PM
Trouble with SanDisk Cruzer Mini dr_zayus69 Linux - Hardware 5 12-05-2004 09:28 PM
cruzer mini drive 98 ollie_04 Linux - Newbie 2 03-09-2004 11:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:33 PM.

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