lkml.org 
[lkml]   [1999]   [Nov]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: genhd.c - can't turn DDO off!??
Date
Followup to:  <UTC199911110010.BAA28656.aeb@arend.cwi.nl>
By author: Andries.Brouwer@cwi.nl
In newsgroup: linux.dev.kernel
>
>
> > I should have been more verbose... I was writing that after using the
> > "hda=c,h,s" kernel parameter to get around it. Just wanted to mention
> > that there should be an option to do that in a running system. I don't
> > like rebooting because of something like drive geometry... :)
>
> OK - reasonable enough.
> It is easy to add some ioctl that does what you want.
> On the other hand, there are not so many people that want to go
> from a disk with to a disk without Disk Manager without rebooting.
>
> [And even if the ioctl is there, who will use it?
> Hmm. Of course the new blockdev utility.
> I suppose I'll add it sooner or later.]
>

I would like to concur with this. Part of the problem with Disk
Manager et al is that they modify /dev/hda, which means that if the
Disk Manager signature is detected, there is no way to access the
whole disk as "random bulk storage"... including to wipe out Disk Manager.

I would like to at least be able to:

really-use-whole-disk /dev/hda
dd if=/dev/zero of=/dev/hda bs=1024 count=1
fdisk /dev/hda
# Create partitions
sync
reboot

... all automatically.

-hpa
--
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."

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

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.114 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site