disabling partition scanning for one device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



is it possible to tell the kernel to not do partition scanning on a
particular drive ?  i'm faced with a sata disk at the moment which has
a few bad blocks at the start of the drive.  when the kernel tries to
do a partition scan on the device, it fails with ata timeouts/resets.
accessing the rest of the disk seems to be ok.  so i'd like to boot up
and dd the rest of the disk before junking it (the drive is just 1 big
partition, so the table is irrelevant ... i can recover most data on
it otherwise).

isnt there some kernel parameter where i could do:
sdc=no-partition-scanning
or something

for example, when a drive boots up, the kernel shows something like:
  sdb: sdb1 sdb2 sdb3
because it scanned the MSDOS partition table at the start of the drive
and found it to contain these three things.  this scan is what i need
to skip.
-mike

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux