HDD remaining space wrong

  • eagle
    you have a old fstab


    the disk location was changed from/dev/ide/host0/bus0/target0/lun0/part1 to /dev/discs/disc0/part1


    i had the same problem hier after i have changed the fstab all works fine.


    in the base-file in git for the dm7025 is a old fstab


    nobody611

    Einmal editiert, zuletzt von nobody611 ()


  • Thanks nobody611!


    But.. why I have a hold fstab?


    EDIT Don't work!

    dm500 - dm7000 - dm7025 - dm800 - dm8000

    Einmal editiert, zuletzt von eagle ()

  • eagle,
    at the moment i have no 7025 to test. I only seen in the git that all scripts are changed to /dev/disc/disc0. not the fstab for the dm7025. I has the same problem to see only -1 for free space in the about windows on my dm800 after update to new enigma2 and forgot to change the fstab to /dev/disc/.. .


    nobody611

  • Zitat

    Originally posted by nobody611
    eagle,
    at the moment i have no 7025 to test. I only seen in the git that all scripts are changed to /dev/disc/disc0. not the fstab for the dm7025.


    nobody611


    It's true but changed the fstab don'k work the hdd..

    Probably, there are other files to edit.. :confused_face:


    Help to developer :loudly_crying_face:

    dm500 - dm7000 - dm7025 - dm800 - dm8000

  • for the 7025, the hdd is not disc0, but 1 or 2 or even 3 (depening on which drivers are loaded, and/or block devices are found)


    The real solution is to fix the harddisk manager, to find the mounted devicenode (by comparing major/minor), instead of using the fstab devicename.

  • Zitat

    Originally posted by eagle


    How to?


    with stat for instance. There already is an example in the harddisk manager, where major/minor is checked / compared I believe, for the mountpoints. The same should be done for the harddisk devicenode.

  • just changed it in my fstab. it works. make sure you don't change the line end-format to dos!

    Gruss
    Dre


    Boxen (im Einsatz): DM920, DM900, DMOne
    Developer Project Merlin - we are OpenSource

  • works perfect on dm7025. base-files package needs to be updated.

    I erased the entire folder /OpenEmbedded and recreated everything and still does not work.


    The old patches (thanks to DREG) that I used no longer works ..

    dm500 - dm7000 - dm7025 - dm800 - dm8000

  • My actual mode:
    DM7025
    CVS IMAGE 20090204

    The remaining space it's now ok...
    https://lists.elitedvb.net/pip…2009-February/005452.html
    https://lists.elitedvb.net/pip…2009-February/005457.html


    BUT the new fstab it's no good for me... the HDD isn't mounted and the CF mounted as a HDD !!!!! solved only upload into dream the old fstab


    old fstab (works fine):


    new fstab (don't work FOR ME):

    Code
    rootfs           	/                	auto   	defaults          	1 1
    proc             	/proc            	proc   	defaults          	0 0
    devpts           	/dev/pts         	devpts 	mode=0620,gid=5   	0 0
    usbdevfs         	/proc/bus/usb    	usbfs  	defaults          	0 0
    /dev/root  	/boot            	jffs2  	ro                	0 0
    tmpfs            	/var             	tmpfs  	defaults          	0 0
    tmpfs            	/tmp             	tmpfs  	defaults          	0 0
    /dev/discs/disc0/part1 /media/hdd         auto       defaults              0 0


    Thanks in advance

    dm500 - dm7000 - dm7025 - dm800 - dm8000