Re: Read/Write bytes directly from hard drive
Date: Fri, 22 Apr 2005 23:12:15 +0200
> We are writing a disk partitioner from scratch. We were not sure how to
> access any byte from the disk, including the master table or any other
> data. Are there any system calls that handle read/write operations?
int fd = open("/dev/hda", O_SYNC);
Read the first x bytes and you get the partition table of your first IDE
disk. Replace x with the size of your partition table.
- Re: Linux community software-update-anarchy polemic
... Remember, I'm just a monkey. ... That implies that if you have one disk per partition, ... Trust the kernel or don't trust the kernel, but either way, both ...
- SUMMARY: Moving /usr From Under Root "/" To Its Own Partition
... One of the reasons for doing this is to end up with a smaller root ... Install the boot block and boot off the new drive. ... " In order for the root partition to be fscked and remounted ... D> temporarily on the existing disk. ...
- Re: Two "expert" issues I must solve before upgading
... I think backups are different than the other fluff you suggest - more ... out there who had a disk crash and had to start from scratch. ... >image of your current Windows 98 OS partition. ... you can restore the disk image and get back quickly ...
- Re: Found the chkdsk log [STOP error, data unviewable etc...]
... The type of the file system is NTFS. ... CHKDSK is recovering lost files. ... 33013543 KB total disk space. ... partition, etc. Oh well... ...
- Re: Disk Utility to align tracks on a hardware RAID1 system
... you should contact you hard disk manufacture for resolution. ... > Microsoft provides RAID 1 based on software method. ... > This newsgroup only focuses on SBS technical issues. ... >>system partition but a separate drive or extended artition. ...