lkml.org 
[lkml]   [2004]   [Aug]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectSCSI removable devices problem


It seems that 2.6.7 reads the partition table only once: when the scsi unit
is added to the list during boot or when I send the "add-single-device"
command. This is a problem with removable devices because if the drive
hasn't a disk inserted at boot time, attempting to mount a partitioned disk
always results in:

mount: /dev/sdb1 is not a valid block device

Also, bad things may happen (not tested) if a disk was in during boot and I
replace it with another one with a different partitioning.

As a workaround I have to send the "remove-single-device" command after
having unmounted a volume and "add-single-device" after I have inserted a
new one. I don't know when this problem was introduced, sorry.



--
Giuliano.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:04    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog