Messages in this thread | | | From | (H. Peter Anvin) | Subject | Re: genhd.c - can't turn DDO off!?? | Date | 11 Nov 1999 00:44:14 GMT |
| |
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/
| |