ewanuno
Jr. Member

Offline
Posts: 16
|
 |
« on: July 10, 2012, 02:04:58 PM » |
|
i noticed a bug with usb storage, when i try to plug in a usb key, the system tries to mount it but fails saying that the partition is already mounted on /
mount confirms this: ewan@eeepc901:/media$ mount /dev/sde1 on / type ext4 (rw,relatime,errors=remount-ro) tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755) proc on /proc type proc (rw,noexec,nosuid,nodev) sysfs on /sys type sysfs (rw,noexec,nosuid,nodev) udev on /dev type tmpfs (rw,mode=0755) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620) fusectl on /sys/fs/fuse/connections type fusectl (rw) /dev/sda1 on /media/sda1 type fuseblk (rw,nosuid,allow_other,blksize=4096) /dev/sdb1 on /media/sdb1 type fuseblk (rw,nosuid,allow_other,blksize=4096) /dev/sdc1 on /media/sdc1 type ext4 (rw,nosuid) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) /dev/sdd1 on /media/NEW VOLUME type vfat (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec) /dev/sdd2 on /media/ewan 120gb type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions) /dev/sdf1 on /media/New Volume type ext4 (rw,nosuid,nodev,uhelper=udisks)
it looks like this is actualy my root filesystem.
if i plug in annother device it is assigned /dev/sdf and is mounted properly.
it seems that for some reason the kernel thinks /dev/sde is still available.
ubuntu dosent suffer from this, and i didn't find any similar bug reports for debian so i think this might be specific to avlinux.
is there a simple way to reserve /dev/sde so that the kernel wont try to assign it to a usb storage device?
ewan.
|