Hi Rana,

The advantage of having all devices as files is that you can write to just
about any device using the same "write" system call. 

It basically provides an abstraction layer so that the programmer need not
be unnecessarily concerned about the device details.

For device specific features, you have "fcntl". So you get the best of
both worlds.

~Nitin


On Wed, 6 Jun 2001, Shridhar Daithankar wrote:

> On Wednesday 06 June 2001 14:20, Rana Biswas wrote:
> > Hi all,
> > In Unix/Linix everything is a file, even drives and
> > devices. While in Windows world (and probably in Mac
> > world) there is a separation between files and drives.
> > What is difference between these two and there
> > advantages and disadvantages.
> 
> The difference is clear. One is drive and other is file.
> 
> Advantages
> 1)You can run out of drives, not out of files. Happens in a company 
> environment.
> 2)Doing LVM is more difficult with drive(I believe). I don't know anybody 
> doing partition stripping with NT/w2k.
> 3)Drives take away flexibility. You can mount a partition/logical volume 
> anywhere you want and anytime you change it. Try changing c: to d:. it flanks.
> 
>  Disadvantages
> 1)You have to mount and unmount the things occasionally.
> 
> Anything else?
> 
>  Shridhar
> 
> _______________________________________________
> linux-india-help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/linux-india-help
> 


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to