A Windows 98 & ME forum. Win98banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Win98banter forum » Windows 98 » Disk Drives
Site Map Home Authors List Search Today's Posts Mark Forums Read Web Partners

Next Writable address



 
 
Thread Tools Display Modes
  #1  
Old June 6th 06, 07:09 AM posted to microsoft.public.win98.disks.general
external usenet poster
 
Posts: n/a
Default Next Writable address

Hi,

I am having one question,

How the hard disk will come to know the Next Writable Address.

When we issue write/read command, we specify data and number of bytes
to read/write. But how the hard disk will come to know the address, it
has to write to /read from specify sector. Who will specify(which
software layer) to the hard disk, this sector address.

Thanks

Guru

  #2  
Old June 6th 06, 10:12 AM posted to microsoft.public.win98.disks.general
external usenet poster
 
Posts: n/a
Default Next Writable address

The FAT contains the list of used and unused clusters. If you are appending
to a file or creating a new file, the file system will scan the FAT
searching for the first unused cluster.
--
Jeff Richards
MS MVP (Windows - Shell/User)
wrote in message
ps.com...
Hi,

I am having one question,

How the hard disk will come to know the Next Writable Address.

When we issue write/read command, we specify data and number of bytes
to read/write. But how the hard disk will come to know the address, it
has to write to /read from specify sector. Who will specify(which
software layer) to the hard disk, this sector address.

Thanks

Guru



  #3  
Old June 7th 06, 08:18 AM posted to microsoft.public.win98.disks.general
external usenet poster
 
Posts: n/a
Default Next Writable address

Hi,

just I do have one more doubt:
Think I will write one file, assume that it will be written to 500th
sector.
if I again write another file, where that file will be written .
whether to 501th sector or any other sector number.

Thanks
-guru



Jeff Richards wrote:
The FAT contains the list of used and unused clusters. If you are appending
to a file or creating a new file, the file system will scan the FAT
searching for the first unused cluster.
--
Jeff Richards
MS MVP (Windows - Shell/User)
wrote in message
ps.com...
Hi,

I am having one question,

How the hard disk will come to know the Next Writable Address.

When we issue write/read command, we specify data and number of bytes
to read/write. But how the hard disk will come to know the address, it
has to write to /read from specify sector. Who will specify(which
software layer) to the hard disk, this sector address.

Thanks

Guru


  #4  
Old June 7th 06, 09:54 AM posted to microsoft.public.win98.disks.general
external usenet poster
 
Posts: n/a
Default Next Writable address

On 7 Jun 2006 00:18:34 -0700, "guru" wrote:

just I do have one more doubt:
Think I will write one file, assume that it will be written to 500th
sector.
if I again write another file, where that file will be written .
whether to 501th sector or any other sector number.


This is a difficult question to answer conclusively as there could be
many factors which might affect the determination of the next disk
sector allocated for recording the contents of a file. But this is the
responsibility of the operating system so application software and the
developers of such need not be concerned with these details.

Thanks
-guru


I am intrigued by your choice of username. If you want to read about
the FAT32 filesystem search for FATGEN103.PDF; it is an excellent
reference for this filesystem.

--
Steven
  #5  
Old June 7th 06, 10:36 AM posted to microsoft.public.win98.disks.general
external usenet poster
 
Posts: n/a
Default Next Writable address

hi
Thanks steven, I will go through that document.

and also the username is my first name. My full name is Gururaja.B O

regards
-guru


Steven Saunderson wrote:
On 7 Jun 2006 00:18:34 -0700, "guru" wrote:

just I do have one more doubt:
Think I will write one file, assume that it will be written to 500th
sector.
if I again write another file, where that file will be written .
whether to 501th sector or any other sector number.


This is a difficult question to answer conclusively as there could be
many factors which might affect the determination of the next disk
sector allocated for recording the contents of a file. But this is the
responsibility of the operating system so application software and the
developers of such need not be concerned with these details.

Thanks
-guru


I am intrigued by your choice of username. If you want to read about
the FAT32 filesystem search for FATGEN103.PDF; it is an excellent
reference for this filesystem.

--
Steven


  #6  
Old June 7th 06, 11:00 AM posted to microsoft.public.win98.disks.general
external usenet poster
 
Posts: n/a
Default Next Writable address

On 7 Jun 2006 02:36:14 -0700, "guru" wrote:

Thanks steven, I will go through that document.


Good to hear. The help files from a Win32 SDK might also be interesting
as they describe how to access files and what details are supported by
and available from the operating system. Perhaps somebody else here can
provide a suitable link.

--
Steven
  #7  
Old June 10th 06, 11:19 PM posted to microsoft.public.win98.disks.general
external usenet poster
 
Posts: n/a
Default Next Writable address

The file system accesses the disk by clusters, not sectors.

The cluster number used for any new file or for any addition to an existing
file is the next free cluster in the FAT. It could be the next sequential
cluster number if the disk is recently formatted, but after a few deletions
it could be anything at all.
--
Jeff Richards
MS MVP (Windows - Shell/User)
"guru" wrote in message
ups.com...
Hi,

just I do have one more doubt:
Think I will write one file, assume that it will be written to 500th
sector.
if I again write another file, where that file will be written .
whether to 501th sector or any other sector number.



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Winipcfg hangs when release IP address akuma Networking 0 February 16th 06 09:16 AM
Problem with a fixed-IP address in the LAN Giobibo Networking 32 December 20th 05 02:54 PM
Bootup delay while looking for DHCP server Franc Zabkar General 20 September 29th 05 08:46 AM
Adaware SE paid version -- Worth the Cost? Dan General 11 January 12th 05 04:20 PM
BUSINESS DIRECTORIES FOR TARGET MARKETING R.KRISHNAN General 0 December 9th 04 06:44 AM


All times are GMT +1. The time now is 03:07 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Win98banter.
The comments are property of their posters.