Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mounting usb-stick strange problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
luca
Guru
Guru


Joined: 11 Feb 2004
Posts: 374

PostPosted: Thu Apr 15, 2004 12:30 pm    Post subject: mounting usb-stick strange problem Reply with quote

Hi all

I've this strange problem with mu usb stick

I have an external usb disk, which mounts at boot on sda1....
But I've also this stick, which doesn't create (when i plug it in) a sdb1??!!!
I think I thould!

here is my fstab
/dev/sda1 /mnt/work auto noauto,user 0 0
/dev/sdb1 /mnt/usbstick vfat user,noauto,umask-077,sync,exec 0 0

any suggestions, maybe it's something with my kernel, but I doubt that

Thanks in advance
Luca
Back to top
View user's profile Send private message
Minox
Apprentice
Apprentice


Joined: 12 Apr 2004
Posts: 188
Location: Germany / Munich

PostPosted: Thu Apr 15, 2004 12:37 pm    Post subject: Reply with quote

Look in your /var/log/messages ... what is happening, when you put in the stick?

"umask-077" is that really correct? Should be "umask=077", I guess.
_________________
:!: proud to be 100% M$ free :!:
Back to top
View user's profile Send private message
luca
Guru
Guru


Joined: 11 Feb 2004
Posts: 374

PostPosted: Thu Apr 15, 2004 1:45 pm    Post subject: Reply with quote

Hi,
I changed the umask thing, rebooted my computer with the usb-stick conencted, with the result that there was a sdb1, very good.
But, after unplugging and plugging it back, the sdb1 doesn't show up, only /dev/sdb

here is the message when plugging it in:


usb-storage 1-4:1.0: usb_probe_interface
usb-storage 1-4:1.0: usb_probe_interface - got id
scsi4 : SCSI emulation for USB Mass Storage devices
Vendor: M-Sys Model: DiskOnKey Rev: 4.70
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sdb at scsi4, channel 0, id 0, lun 0
Attached scsi generic sg1 at scsi4, channel 0, id 0, lun 0, type 0
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 6
Back to top
View user's profile Send private message
Minox
Apprentice
Apprentice


Joined: 12 Apr 2004
Posts: 188
Location: Germany / Munich

PostPosted: Thu Apr 15, 2004 1:51 pm    Post subject: Reply with quote

Oh my dear,

you have to umount the device before you unplug the usb stick!

Code:
umount /dev/sda1


Then put the stick in again.

Code:
mount /dev/sda1


You may not remove a mounted file system! That causes errors for sure

Pz,
_________________
:!: proud to be 100% M$ free :!:
Back to top
View user's profile Send private message
luca
Guru
Guru


Joined: 11 Feb 2004
Posts: 374

PostPosted: Thu Apr 15, 2004 1:58 pm    Post subject: Reply with quote

The device is not mounted!!
As far as I know, if I plug the stick in, somehow there should be created a sdb1 (still unmounted)
but that doesn't happen

Luca
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum