Re: [expert] Increading /mnt/cdrom size?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 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. You are free to believe as you want ;-) - -- KevinO If Microsoft built cars, If you were involved in a crash, you would have no idea what happened. -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE/mNo0WOfRC7Rnmv8RAt4DAJ9iptRARiP+dDqsMXI74OJ/RclVRACeKVjC j5C4pmi9j/4iK4AxkHVKXrg= =k3Cs -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Increading /mnt/cdrom size?
On Thursday 23 October 2003 05:53 pm, Bryan Phinney wrote: 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. Thanks Bryan. I was beginning to think I had it all wrong (as usual!). :-) -- /\ DarkLord \/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Increading /mnt/cdrom size?
/mnt/cdrom *IS* your CD-ROM drive. its size varies depending on what type of CD you insert just then. to copy a CD, you can use a mkisofs or something to create an ISO out of it; or use the TAR or some other command to compress the whole thing into a file. -turgut Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Increading /mnt/cdrom size?
On Wednesday 22 October 2003 04:40 pm, Kwan Lowe wrote: PS Is /mnt/cdrom using the size of /? Yes. /mnt/cdrom is just a directory on your root filesystem. Thanks, thats what I thought and it makes sense...so when /mnt/cdrom here is *not* mounted (when it is mounted, it shows the size of the inserted CD) then it will show how much space for where it is at. Since / is only 1.1 gigs or so, thats why it shows that, and why I can't copy 2 nearly full CDs data to it. -- /\ DarkLord \/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Increading /mnt/cdrom size?
On Thursday 23 October 2003 07:32 am, turgut kalfaoglu wrote: /mnt/cdrom *IS* your CD-ROM drive. its size varies depending on what type of CD you insert just then. to copy a CD, you can use a mkisofs or something to create an ISO out of it; or use the TAR or some other command to compress the whole thing into a file. -turgut Yes, I understand that - what I'm talking about is its size when its *not* mounted. In other words, then its the size of /, whatever that is, here its 1.1 gig and explains why I couldn't copy 2 nearly full CDs of data to it. Thanks for the reply! -- /\ DarkLord \/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Increading /mnt/cdrom size?
On Wednesday 22 October 2003 10:36 pm, Eric Huff wrote: On Wednesday 22 October 2003 04:40 pm, Kwan Lowe wrote: PS Is /mnt/cdrom using the size of /? Yes. /mnt/cdrom is just a directory on your root filesystem. You could make /mnt/game a symlink to a directory on your /home partition and then copy and start the game from there. Does it have to start from /mnt/cdrom for some reason. I think you'll have to copy both cds to /mnt/cdrom and then not mount anything. once you mount a dev as /mnt/cdrom, whatever is actually there will not show up. What I finally did was to move /mnt/cdrom to /usr and then linked it back to / and that seems to have worked. I'm running Jedi Academy now, anyways. Next install I'll remember to make / at least 3 gigs or more. Thanks guys! -- /\ DarkLord \/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Increading /mnt/cdrom size?
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. Turgut is correct -- /mnt/cdrom is on the CD drive which is not the same device as / is on. On Thu, 23 Oct 2003 09:03:39 -0400, Ronald J. Hall wrote: Well, consider it though, when its *not* mounted - then it can only hold data up to the size of where its located. So here, where / is 1.1 gigs, that means that /mnt/cdrom is 1.1 gigs. Does that make sense? It makes no sense whatsoever to me. What are you doing to come up with the 1.1 gigs? It sounds to me that you are concluding that the free space on /dev/hda1 or whatever it is on your system is somehow the available space on /dev/cdrom. I would suggest you use something like kwikdisk. It shows available space on each device as defined by your /etc/fstab. When /dev/cdrom has nothing mounted on it, it should show nothing at all except the name of the device on the directory tree (i.e., /mnt/cdrom). It will likely show zero Kb available when something is mounted since most CDs when closed show zero space available. Next time I install (9.2 soon) I'll remember to make / big enough to accomodate these occasional odd WineX requirements. It won't make a bit of difference because the /dev/cdrom will still be a different device than /dev/hda1 or whatever / is on your system. What I did was to move /mnt/cdrom to /usr, and symlink it back to / and that worked. I was able to copy around 2 gigs to it, no problem. What you did is copy the contents of your CD to a directory on another hard disk partition, e.g., /dev/hda2, then symlink it back to to the / directory on /dev/hda1, which appears from your comments to contain only one directory, /. Since the physical files are really on a partition with more space, it doesn't matter that they won't actually fit on /. But, you are forcing your game to travel a circuitous route to get to the real files. What it's doing is going first to / and finding the symlinks, then traveling to /usr/whatever to find the actual files. If you can get WineX to find the symlinks on /, you should be able to get it to find the actual files on /usr/whatever and let your game run without a bunch of extra steps. Games running anyways so :-) That's the important thing :^). deedee Registered Linux User #327485 Visit WordStar GNU/Linux http://www.wordstar2.com Also, see the WordStar Users Group http://www.wordstar2.com/cbabbage/wordstar Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Increading /mnt/cdrom size?
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
Re: [expert] Increading /mnt/cdrom size?
On Thu, 23 Oct 2003 17:53:26 -0400, Bryan Phinney wrote: Actually, he is quite correct. /mnt/cdrom is a directory located off of /mnt which in turn is located off of /. I believe you are confusing how a directory tree is set up to interface with you as a user in order to help you find your files with the actual devices where files are being stored. Check your /etc/fstab. That defines your file system table and says where the directories in your directory tree are really located. 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. It actually exists in memory. I don't want to get into a fruitless debate about this. I know it is a difficult concept. I'm only responding because I believe you are asking for problems if you treat all the places on the directory tree/interface as if they are actually all places on your hard drive. deedee Registered Linux User #327485 Visit WordStar GNU/Linux http://www.wordstar2.com Also, see the WordStar Users Group http://www.wordstar2.com/cbabbage/wordstar Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Increading /mnt/cdrom size?
On Thursday 23 October 2003 05:20 pm, deedee wrote: On Thu, 23 Oct 2003 17:53:26 -0400, Bryan Phinney wrote: Actually, he is quite correct. /mnt/cdrom is a directory located off of /mnt which in turn is located off of /. I believe you are confusing how a directory tree is set up to interface with you as a user in order to help you find your files with the actual devices where files are being stored. No, I am clearly stating that the directory that is used as a mount point for the cdrom device is an actual directory and can exist independent of the device that is associated to it by the mount command up until the mount command redirects the mount point to point to the device file instead of a directory on the file system. If you simply go out and look at it yourself, you will see that until the mount command is issued for a cdrom, there is clearly a directory present on the root drive in the /mnt folder that you can access with absolutely no disc mounted in the cdrom drive. For that matter, I can simply enough create a directory directly under root called cdrom and alter the fstab with a simply edit and any cdroms mounted on the drive will then be mounted in the directory cdrom off of the root drive. I accept that after I mount the drive, I am no longer hitting the directory in the filesystem when I access the cdrom, but up until I mount the media, I am. Check your /etc/fstab. That defines your file system table and says where the directories in your directory tree are really located. Actually, no. fstab merely designates the device file and mount point for devices when the mount command is issued. Much like a mapped network drive in NFS, the actual directory that is used for the mount point actually exists prior to remapping the location to point to the network resource and does not actually point to the device until the mount command points the directory to the device. 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. It actually exists in memory. [EMAIL PROTECTED] mnt]# ls -l total 9 drwxr-xr-x2 root root 48 Oct 23 17:49 cdrom/ drwxrwxrwx1 root root0 Oct 22 19:13 floppy/ dr-x--1 root root 8192 Oct 20 18:31 winxp/ Doesn't look like memory to me I don't want to get into a fruitless debate about this. I know it is a difficult concept. I'm only responding because I believe you are asking for problems if you treat all the places on the directory tree/interface as if they are actually all places on your hard drive. Neither do I. Why don't we agree to accept an answer from a disinterested third party. Linux does not have different letters for the drives. Linux integrates floppy, hard disk, CD-ROM ... (the common name for all of them is devices) into the directory tree. You simply plug the device in a subdirectory. The default directory for mounting removable media devices is /mnt/. There you create the subdirectories for all devices (e.g. /mnt/zip for the zip-drive), /mnt/windows/ for the WINDOWS partition. For the CD-ROM the directory /cdrom is as common as /mnt/cdrom/. Any needed directories can be created with mkdir. To access the CD-ROM drive you have to register it in the system. This happens with the command mount You can access the entire page at: http://www.linuxnetmag.com/en/issue3/m3mount1.html The blurb clearly states that mounting a device simply 'plug'[s] the device in a subdirectory that is either already created or is created when you issue the mount command. Either way, once the device is unmounted, the directory remains, in the file system, not in memory. I am not trying to be argumentative, but I also wouldn't want someone getting incorrect information either. -- Bryan Phinney Software Test Engineer Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Increading /mnt/cdrom size?
Brian, I could have told you you were right a long time ago. I used to backup at night using a script what would smbmount a M$ box drive to dump my backup nightly until CDs were burned at the end of the week. One night following a thunder storm, smbmount failed and the quick script wasn't checking for a successful mount (i.e. no if (smbmount etc...) then...) so I ended filling up the /mnt/tripod directory on my server with about 600 megs of stuff from /home that I thought had been sent to the M$ box via /mnt/tripod. Talk about confusing. mount /mnt/tripod then ls /mnt/tripod returned the same thing as umount /mnt/tripod and ls /mnt/tripod. It took a few posts, but some soul was kind enough to finally figure out hey idiot, your smbmount failed and you filled up /mnt/tripod with what you thought was going to your M$ drive. So a quick umount /mnt/tripos then rm -f /mnt/tripod followed by a fresh smbmount /mnt/tripod was all it took. In short, just a long way of saying you got it right! -- David C. Rankin, J.D., P.E. RANKIN * BERTIN, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax -- - Original Message - From: Bryan Phinney [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 23, 2003 9:01 PM Subject: Re: [expert] Increading /mnt/cdrom size? On Thursday 23 October 2003 05:20 pm, deedee wrote: On Thu, 23 Oct 2003 17:53:26 -0400, Bryan Phinney wrote: Actually, he is quite correct. /mnt/cdrom is a directory located off of /mnt which in turn is located off of /. I believe you are confusing how a directory tree is set up to interface with you as a user in order to help you find your files with the actual devices where files are being stored. No, I am clearly stating that the directory that is used as a mount point for the cdrom device is an actual directory and can exist independent of the device that is associated to it by the mount command up until the mount command redirects the mount point to point to the device file instead of a directory on the file system. If you simply go out and look at it yourself, you will see that until the mount command is issued for a cdrom, there is clearly a directory present on the root drive in the /mnt folder that you can access with absolutely no disc mounted in the cdrom drive. For that matter, I can simply enough create a directory directly under root called cdrom and alter the fstab with a simply edit and any cdroms mounted on the drive will then be mounted in the directory cdrom off of the root drive. I accept that after I mount the drive, I am no longer hitting the directory in the filesystem when I access the cdrom, but up until I mount the media, I am. Check your /etc/fstab. That defines your file system table and says where the directories in your directory tree are really located. Actually, no. fstab merely designates the device file and mount point for devices when the mount command is issued. Much like a mapped network drive in NFS, the actual directory that is used for the mount point actually exists prior to remapping the location to point to the network resource and does not actually point to the device until the mount command points the directory to the device. 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. It actually exists in memory. [EMAIL PROTECTED] mnt]# ls -l total 9 drwxr-xr-x2 root root 48 Oct 23 17:49 cdrom/ drwxrwxrwx1 root root0 Oct 22 19:13 floppy/ dr-x--1 root root 8192 Oct 20 18:31 winxp/ Doesn't look like memory to me I don't want to get into a fruitless debate about this. I know it is a difficult concept. I'm only responding because I believe you are asking for problems if you treat all the places on the directory tree/interface as if they are actually all places on your hard drive. Neither do I. Why don't we agree to accept an answer from a disinterested third party. Linux does not have different letters for the drives. Linux integrates floppy, hard disk, CD-ROM ... (the common name for all of them is devices) into the directory tree. You simply plug the device in a subdirectory. The default directory for mounting removable media devices is /mnt/. There you create the subdirectories for all devices (e.g. /mnt/zip for the zip-drive), /mnt/windows/ for the WINDOWS partition. For the CD-ROM the directory /cdrom is as common as /mnt/cdrom/. Any needed directories can be created with mkdir. To access the CD-ROM drive you have to register it in the system. This happens with the command mount You can access the entire page at: http://www.linuxnetmag.com/en/issue3/m3mount1.html The blurb clearly states that mounting a device simply 'plug'[s] the device in a subdirectory that is either already created or is created when you issue
Re: [expert] Increading /mnt/cdrom size?
I yield. deedee Registered Linux User #327485 Visit WordStar GNU/Linux http://www.wordstar2.com Also, see the WordStar Users Group http://www.wordstar2.com/cbabbage/wordstar Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Increading /mnt/cdrom size?
PS Is /mnt/cdrom using the size of /? Yes. /mnt/cdrom is just a directory on your root filesystem. -- The Digital Hermit Unix and Linux Solutions http://www.digitalhermit.com [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Increading /mnt/cdrom size?
On Wednesday 22 October 2003 04:40 pm, Kwan Lowe wrote: PS Is /mnt/cdrom using the size of /? Yes. /mnt/cdrom is just a directory on your root filesystem. You could make /mnt/game a symlink to a directory on your /home partition and then copy and start the game from there. Does it have to start from /mnt/cdrom for some reason. -- /g Outside of a dog, a man's best friend is a book, inside a dog it's too dark to read -Groucho Marx Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Increading /mnt/cdrom size?
On Wednesday 22 October 2003 04:40 pm, Kwan Lowe wrote: PS Is /mnt/cdrom using the size of /? Yes. /mnt/cdrom is just a directory on your root filesystem. You could make /mnt/game a symlink to a directory on your /home partition and then copy and start the game from there. Does it have to start from /mnt/cdrom for some reason. I think you'll have to copy both cds to /mnt/cdrom and then not mount anything. once you mount a dev as /mnt/cdrom, whatever is actually there will not show up. -- Mandrake HowTo's More: http://twiki.mdklinuxfaq.org Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Increading /mnt/cdrom size?
On 10/22/2003 3:58:16 PM EDT, Ronald J. Hall wrote: I've got a game, Jedi Academy that works under WineX but you have to copy both CD's to /mnt/cdrom since it won't release the drive to change CDs. When I try to copy the 2nd CDs' contents into /mnt/cdrom though, I get a disk full error - and no - its not full. Or rather - it is, its showing up as 1.1 gigs when empty. Is there any to increase its size? I've got an 80 gig HD with plenty of room - not crowded anywhere (example: /usr has about 8 gigs free, /home has over 10 gigs, etc, etc). Thanks guys. PS Is /mnt/cdrom using the size of /? /mnt/cdrom is just a spot on your directory tree to view the contents of the CD drive. It has no independent size as such. It is supposed to be the size of the mounted CD, when a CD is mounted. The same is true for your other removable media. The mountpoints are provided so you can have a place on the directory tree for viewing the contents of your removable media when mounted. None of them should have a size independent of the mounted media. You probably should copy both game CDs to your hard drive to be able to have access to them at the same time. Then, set WineX to access the game there. deedee Registered Linux User #327485How to? Visit WordStar GNU/Linux http://www.wordstar2.com Also, see the WordStar Users Group http://www.wordstar2.com/cbabbage/wordstar Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com