Results 1 to 7 of 7

Thread: Size problem

Hybrid View

  1. #1
    Junior Member registered user
    Join Date
    Aug 2005
    Posts
    22

    Size problem

    hi all,
    I wrote an application to calculate the size of storage device... i put that application in knoppix. For every device it is giving the size correctly, i ejected the cd using
    umount -l /cdrom
    eject /dev/cdrom
    and put a new cd. and tried to calculate the size, but the size it gives is that of the knoppix cd. i put many cd's with vaarying sizes, but it is giving the size of the knoppix cd. what is wrong??/ please suggest..

    regards vijir

  2. #2
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    you removed the OS from the computer, the system is too stupid to know that (yet) and has simply not died. if it had realized that it would have crashed. but as most tings are in RAM it will keep on as if nothing has changed.

  3. #3
    Junior Member registered user
    Join Date
    Aug 2005
    Posts
    22
    but it is possible to play music cd.... so the os is identifying that cd.... then why the size is not reporting correctly....

  4. #4
    Junior Member registered user
    Join Date
    Nov 2006
    Posts
    23
    "play music CD" , say what you mean pls. That is not a linux command and no-one can guess what you are doing.

    since you do not mount on audio CD in order to "play" it that does not contradict what was posted before.

  5. #5
    Junior Member
    Join Date
    Nov 2006
    Posts
    7

    I can guess...

    If your OS is running from CD, you can't remove it (GNU/Linux is smart enough to disallow it -- that why it has the mount tools and windows doesn't). So, it sounds like your using "toram" boot option, and then playing a music CD once you remove the KNOPPIX disk. How are you getting size for the disk? du, df or ls? remember that ls on a directory will not return the size of the things in the directory. Moreover, you can't normally mount a music CD as a filesystem...

  6. #6
    Member registered user
    Join Date
    Jun 2004
    Posts
    89
    Actually, with Knoppix, presuming you have enough memory, you can load k3b, physically force the Knoppix CD to eject, and then burn a CD image. This is because the needed stuff is in memory, so the CD doesn't have to be there. Your running Knoppix will be hosed after doing this, but it can be done.

  7. #7
    Junior Member
    Join Date
    Apr 2006
    Posts
    7
    Quote Originally Posted by mcreel
    Actually, with Knoppix, presuming you have enough memory, you can load k3b, physically force the Knoppix CD to eject, and then burn a CD image. This is because the needed stuff is in memory, so the CD doesn't have to be there. Your running Knoppix will be hosed after doing this, but it can be done.
    Two problems with that approach.
    - 1 - cloop file system is not all loaded to memory on boot, but when you need something out, if you access a program not in memory, it'll crash. It's why Knopper used cloop in the first place, and other live distros use squash for the same reason.
    - 2 - It will still think cloop/cdrom are mounted, and breaking a mount in such a way is highly discouraged.
    - 3 - Not needed, just use the toram boot option at the boot prompt, and then you can eject the CD normally and safely
    - 4 - Manual hardware eject done repeatly shortens the life of the drive and the disk

Similar Threads

  1. Remaster 5.1.1 size problem
    By chip.ling in forum Customising & Remastering
    Replies: 3
    Last Post: 10-31-2007, 11:39 PM
  2. Screen size problem. 4.0.2. with an i386 pc.
    By Meteora184 in forum General Support
    Replies: 1
    Last Post: 07-08-2006, 05:01 PM
  3. New install Screen Size Problem
    By bwathen in forum Laptops
    Replies: 3
    Last Post: 04-29-2005, 12:53 PM
  4. Screen size problem
    By harken in forum Hardware & Booting
    Replies: 2
    Last Post: 02-26-2005, 03:23 AM
  5. Possible 9-24 ISO size problem
    By bluegreenone in forum General Support
    Replies: 4
    Last Post: 10-14-2003, 11:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Crucial MX500 1TB 2.5

Crucial MX500 1TB 2.5" SATA III Internal SSD CT1000MX500SSD1

$99.99



Dell Latitude 14

Dell Latitude 14" Laptop Computer Intel i5 Up To 32GB RAM 1TB SSD Windows 11 Pro

$316.61



Dell Latitude 14

Dell Latitude 14" Laptop Computer Intel i7 Up To 32GB RAM 1TB SSD Windows 11 Pro

$349.48



External SSD 1TB 2TB 4TB Portable Hard Drive USB 3.0 Type-C High Speed PC Mac picture

External SSD 1TB 2TB 4TB Portable Hard Drive USB 3.0 Type-C High Speed PC Mac

$19.99



Lenovo Legion 5 Gaming 15.1

Lenovo Legion 5 Gaming 15.1" WQXGA OLED 165Hz Core i9-14900HX 16GB 1TB RTX 5070

$1469.00



1TB Kingston DataTraveler Max DTMAX/1TB USB Type-C Flash Drive picture

1TB Kingston DataTraveler Max DTMAX/1TB USB Type-C Flash Drive

$86.95



Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot picture

Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot

$1090.00



SAMSUNG T7 Portable SSD 1TB Indigo Blue USB 3.2 Gen2 External MU-PC1T0H/AM picture

SAMSUNG T7 Portable SSD 1TB Indigo Blue USB 3.2 Gen2 External MU-PC1T0H/AM

$159.99



External Solid State Drive USB 3.2 Gen2, 1TB SSD External Hard Drive with C to A picture

External Solid State Drive USB 3.2 Gen2, 1TB SSD External Hard Drive with C to A

$100.00



Western Digital 1TB 3.5

Western Digital 1TB 3.5" SATA III 7200RPM Desktop Hard Drive

$34.99