On Thursday 23 October 2003 02:26 pm, deedee wrote: > On Thu, 23 Oct 2003 00:38:57 -0700, KevinO wrote: > > /mnt/cdrom is a real directory, until you mount something there. Since > > the /mnt directory is part of the / filesystem (not on a separate > > partition), its' size is limited to the free space available on / . > > After something is mounted there, its' size will be that of whatever > > you mounted there. > > I believe you are incorrect. This has nothing to do with whether > something is on the same partition or not. / is /dev/hda or whatever. > /mnt/cdrom is /dev/cdrom. They are completely different devices. Each > gets a spot on the directory tree so you can view what's on it.
Actually, he is quite correct. /mnt/cdrom is a directory located off of /mnt which in turn is located off of /. Until you mount a cdrom in which case /mnt/cdrom actually starts pointing to the /dev/cdrom device which is then the size of whatever media is mounted. Experiment: As root, with no cd mounted, cp a file to /mnt/cdrom and you will note that the file is copied and then exists in /mnt/cdrom. Clearly with no media mounted, it can not be stored on /dev/cdrom but the directory does exist independent of the device as long as no device is mounted. You can also open up konqueror as root and navigate to /mnt and then check properties on /mnt/cdrom and it will show you how much space is available on root. > Turgut is correct -- /mnt/cdrom is on the CD drive which is not the same > device as / is on. Only after a cd is mounted, until then it is a directory called /mnt/cdrom which is stored off of /. -- Bryan Phinney Software Test Engineer
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com